ReactOS
0.4.15-dev-6057-gd708c79
GdiConvertDC.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 GdiConvertDC
5
* PROGRAMMERS: Timo Kreuzer
6
*/
7
8
#include "
precomp.h
"
9
10
HDC
WINAPI
GdiConvertDC
(
HDC
hdc
);
11
12
void
Test_GdiConvertDC
()
13
{
14
ok
(
GdiConvertDC
((
HDC
)-1) == (
HDC
)-1,
"\n"
);
15
ok
(
GdiConvertDC
((
HDC
)0) == (
HDC
)0,
"\n"
);
16
ok
(
GdiConvertDC
((
HDC
)1) == (
HDC
)1,
"\n"
);
17
ok
(
GdiConvertDC
((
HDC
)2) == (
HDC
)2,
"\n"
);
18
}
19
20
START_TEST
(
GdiConvertDC
)
21
{
22
Test_GdiConvertDC
();
23
}
24
GdiConvertDC
HDC WINAPI GdiConvertDC(HDC hdc)
Definition:
historic.c:98
Test_GdiConvertDC
void Test_GdiConvertDC()
Definition:
GdiConvertDC.c:12
ok
#define ok(value,...)
Definition:
atltest.h:57
START_TEST
#define START_TEST(x)
Definition:
atltest.h:75
hdc
HDC hdc
Definition:
main.c:9
HDC
static HDC
Definition:
imagelist.c:92
precomp.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
modules
rostests
apitests
gdi32
GdiConvertDC.c
Generated on Sun Jun 4 2023 06:06:23 for ReactOS by
1.9.6