ReactOS
0.4.16-dev-122-g325d74c
GdiDeleteLocalDC.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 GdiDeleteLocalDC
5
* PROGRAMMERS: Timo Kreuzer
6
*/
7
8
#include "
precomp.h
"
9
10
BOOL
WINAPI
GdiDeleteLocalDC
(
HDC
);
11
12
void
Test_GdiDeleteLocalDC
()
13
{
14
ok
(
GdiDeleteLocalDC
((
HDC
)-1) ==
TRUE
,
"\n"
);
15
ok
(
GdiDeleteLocalDC
((
HDC
)0) ==
TRUE
,
"\n"
);
16
ok
(
GdiDeleteLocalDC
((
HDC
)1) ==
TRUE
,
"\n"
);
17
ok
(
GdiDeleteLocalDC
((
HDC
)2) ==
TRUE
,
"\n"
);
18
}
19
20
START_TEST
(
GdiDeleteLocalDC
)
21
{
22
Test_GdiDeleteLocalDC
();
23
}
24
Test_GdiDeleteLocalDC
void Test_GdiDeleteLocalDC()
Definition:
GdiDeleteLocalDC.c:12
GdiDeleteLocalDC
BOOL WINAPI GdiDeleteLocalDC(HDC)
Definition:
historic.c:153
ok
#define ok(value,...)
Definition:
atltest.h:57
START_TEST
#define START_TEST(x)
Definition:
atltest.h:75
TRUE
#define TRUE
Definition:
types.h:120
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
HDC
static HDC
Definition:
imagelist.c:88
precomp.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
modules
rostests
apitests
gdi32
GdiDeleteLocalDC.c
Generated on Sat Oct 12 2024 06:06:47 for ReactOS by
1.9.6