ReactOS  0.4.14-dev-342-gdc047f9
GdiConvertPalette.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 GdiConvertPalette
5  * PROGRAMMERS: Timo Kreuzer
6  */
7 
8 #include "precomp.h"
9 
10 HPALETTE WINAPI GdiConvertPalette(HPALETTE);
11 
13 {
14  ok(GdiConvertPalette((HPALETTE)-1) == (HPALETTE)-1, "\n");
15  ok(GdiConvertPalette((HPALETTE)0) == (HPALETTE)0, "\n");
16  ok(GdiConvertPalette((HPALETTE)1) == (HPALETTE)1, "\n");
17  ok(GdiConvertPalette((HPALETTE)2) == (HPALETTE)2, "\n");
18 }
19 
21 {
23 }
24 
void Test_GdiConvertPalette()
HPALETTE WINAPI GdiConvertPalette(HPALETTE)
Definition: historic.c:120
#define WINAPI
Definition: msvc.h:8
#define ok(value,...)
Definition: atltest.h:57
START_TEST(GdiConvertPalette)