1 /* 2 * PROJECT: ReactOS api tests 3 * LICENSE: GPL - See COPYING in the top level directory 4 * PURPOSE: Test for RealizePalette 5 * PROGRAMMERS: Timo Kreuzer 6 */ 7 8 #include "precomp.h" 9 10 #include "init.h" 11 12 START_TEST(RealizePalette) 13 { 14 InitStuff(); 15 ok_int(RealizePalette(NULL), GDI_ERROR); 16 ok_int(RealizePalette((HDC)0xdeadc0de), GDI_ERROR); 17 ok_int(RealizePalette((HDC)0x00010001), 0); 18 ok_int(RealizePalette(ghdcDIB32), 0); 19 20 } 21