ReactOS
0.4.15-dev-8614-gbc76250
GdiGetLocalBrush.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS api tests
3
* LICENSE: GPL - See COPYING in the top level directory
4
* PURPOSE: Test for GdiGetLocalBrush
5
* PROGRAMMERS: Timo Kreuzer
6
*/
7
8
#include "
precomp.h
"
9
10
HBRUSH
WINAPI
GdiGetLocalBrush
(HBRUSH hbr);
11
12
void
Test_GdiGetLocalBrush
()
13
{
14
ok
(
GdiGetLocalBrush
((HBRUSH)-1) == (HBRUSH)-1,
"\n"
);
15
ok
(
GdiGetLocalBrush
((HBRUSH)0) == (HBRUSH)0,
"\n"
);
16
ok
(
GdiGetLocalBrush
((HBRUSH)1) == (HBRUSH)1,
"\n"
);
17
ok
(
GdiGetLocalBrush
((HBRUSH)2) == (HBRUSH)2,
"\n"
);
18
}
19
20
START_TEST
(
GdiGetLocalBrush
)
21
{
22
Test_GdiGetLocalBrush
();
23
}
24
GdiGetLocalBrush
HBRUSH WINAPI GdiGetLocalBrush(HBRUSH hbr)
Definition:
historic.c:268
Test_GdiGetLocalBrush
void Test_GdiGetLocalBrush()
Definition:
GdiGetLocalBrush.c:12
ok
#define ok(value,...)
Definition:
atltest.h:57
START_TEST
#define START_TEST(x)
Definition:
atltest.h:75
precomp.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
modules
rostests
apitests
gdi32
GdiGetLocalBrush.c
Generated on Sat Sep 7 2024 06:06:52 for ReactOS by
1.9.6