[ROSTESTS:APITESTS]
[reactos.git] / rostests / apitests / gdi32 / GdiConvertDC.c
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 <apitest.h>
9
10 #include <wingdi.h>
11
12 HDC WINAPI GdiConvertDC(HDC hdc);
13
14 void Test_GdiConvertDC()
15 {
16 ok(GdiConvertDC((HDC)-1) == (HDC)-1, "\n");
17 ok(GdiConvertDC((HDC)0) == (HDC)0, "\n");
18 ok(GdiConvertDC((HDC)1) == (HDC)1, "\n");
19 ok(GdiConvertDC((HDC)2) == (HDC)2, "\n");
20 }
21
22 START_TEST(GdiConvertDC)
23 {
24 Test_GdiConvertDC();
25 }
26