ReactOS
0.4.17-dev-116-ga4b6fe9
GdiConvertFont.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 GdiConvertFont
5
* PROGRAMMERS: Timo Kreuzer
6
*/
7
8
#include "
precomp.h
"
9
10
HFONT
WINAPI
GdiConvertFont
(HFONT);
11
12
void
Test_GdiConvertFont
()
13
{
14
ok
(
GdiConvertFont
((HFONT)-1) == (HFONT)-1,
"\n"
);
15
ok
(
GdiConvertFont
((HFONT)0) == (HFONT)0,
"\n"
);
16
ok
(
GdiConvertFont
((HFONT)1) == (HFONT)1,
"\n"
);
17
ok
(
GdiConvertFont
((HFONT)2) == (HFONT)2,
"\n"
);
18
}
19
20
START_TEST
(
GdiConvertFont
)
21
{
22
Test_GdiConvertFont
();
23
}
24
GdiConvertFont
HFONT WINAPI GdiConvertFont(HFONT)
Definition:
historic.c:109
Test_GdiConvertFont
void Test_GdiConvertFont()
Definition:
GdiConvertFont.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
GdiConvertFont.c
Generated on Tue May 12 2026 06:08:13 for ReactOS by
1.9.6