ReactOS
0.4.16-dev-1049-g378a335
GdiConvertBitmap.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 GdiConvertBitmap
5
* PROGRAMMERS: Timo Kreuzer
6
*/
7
8
#include "
precomp.h
"
9
10
HBITMAP
WINAPI
GdiConvertBitmap
(
HBITMAP
hbm
);
11
12
void
Test_GdiConvertBitmap
()
13
{
14
ok
(
GdiConvertBitmap
((
HBITMAP
)-1) == (
HBITMAP
)-1,
"\n"
);
15
ok
(
GdiConvertBitmap
((
HBITMAP
)0) == (
HBITMAP
)0,
"\n"
);
16
ok
(
GdiConvertBitmap
((
HBITMAP
)1) == (
HBITMAP
)1,
"\n"
);
17
ok
(
GdiConvertBitmap
((
HBITMAP
)2) == (
HBITMAP
)2,
"\n"
);
18
}
19
20
START_TEST
(
GdiConvertBitmap
)
21
{
22
Test_GdiConvertBitmap
();
23
}
24
GdiConvertBitmap
HBITMAP WINAPI GdiConvertBitmap(HBITMAP hbm)
Definition:
historic.c:76
Test_GdiConvertBitmap
void Test_GdiConvertBitmap()
Definition:
GdiConvertBitmap.c:12
ok
#define ok(value,...)
Definition:
atltest.h:57
START_TEST
#define START_TEST(x)
Definition:
atltest.h:75
HBITMAP
static HBITMAP
Definition:
button.c:44
hbm
_In_ HBITMAP hbm
Definition:
ntgdi.h:2776
precomp.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
modules
rostests
apitests
gdi32
GdiConvertBitmap.c
Generated on Mon Apr 28 2025 06:08:18 for ReactOS by
1.9.6