ReactOS
0.4.16-dev-747-gbc52d5f
GdiConvertBrush.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 GdiConvertBrush
5
* PROGRAMMERS: Timo Kreuzer
6
*/
7
8
#include "
precomp.h
"
9
10
HBRUSH
WINAPI
GdiConvertBrush
(HBRUSH hbr);
11
12
void
Test_GdiConvertBrush
()
13
{
14
ok
(
GdiConvertBrush
((HBRUSH)-1) == (HBRUSH)-1,
"\n"
);
15
ok
(
GdiConvertBrush
((HBRUSH)0) == (HBRUSH)0,
"\n"
);
16
ok
(
GdiConvertBrush
((HBRUSH)1) == (HBRUSH)1,
"\n"
);
17
ok
(
GdiConvertBrush
((HBRUSH)2) == (HBRUSH)2,
"\n"
);
18
}
19
20
START_TEST
(
GdiConvertBrush
)
21
{
22
Test_GdiConvertBrush
();
23
}
24
Test_GdiConvertBrush
void Test_GdiConvertBrush()
Definition:
GdiConvertBrush.c:12
GdiConvertBrush
HBRUSH WINAPI GdiConvertBrush(HBRUSH hbr)
Definition:
historic.c:87
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
GdiConvertBrush.c
Generated on Sat Feb 15 2025 06:07:13 for ReactOS by
1.9.6