ReactOS
0.4.15-dev-8612-g0707475
GdiGetLocalDC.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 GdiGetLocalDC
5
* PROGRAMMERS: Timo Kreuzer
6
*/
7
8
#include "
precomp.h
"
9
10
HDC
WINAPI
GdiGetLocalDC
(
HDC
);
11
12
void
Test_GdiGetLocalDC
()
13
{
14
ok
(
GdiGetLocalDC
((
HDC
)-1) == (
HDC
)-1,
"\n"
);
15
ok
(
GdiGetLocalDC
((
HDC
)0) == (
HDC
)0,
"\n"
);
16
ok
(
GdiGetLocalDC
((
HDC
)1) == (
HDC
)1,
"\n"
);
17
ok
(
GdiGetLocalDC
((
HDC
)2) == (
HDC
)2,
"\n"
);
18
}
19
20
START_TEST
(
GdiGetLocalDC
)
21
{
22
Test_GdiGetLocalDC
();
23
}
24
Test_GdiGetLocalDC
void Test_GdiGetLocalDC()
Definition:
GdiGetLocalDC.c:12
GdiGetLocalDC
HDC WINAPI GdiGetLocalDC(HDC)
Definition:
historic.c:278
ok
#define ok(value,...)
Definition:
atltest.h:57
START_TEST
#define START_TEST(x)
Definition:
atltest.h:75
HDC
static HDC
Definition:
imagelist.c:88
precomp.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
modules
rostests
apitests
gdi32
GdiGetLocalDC.c
Generated on Fri Sep 6 2024 06:06:54 for ReactOS by
1.9.6