mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 06:08:23 +00:00
21 lines
499 B
C
21 lines
499 B
C
/*
|
|
* PROJECT: ReactOS api tests
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
* PURPOSE: Test for RealizePalette
|
|
* PROGRAMMERS: Timo Kreuzer
|
|
*/
|
|
|
|
#include "precomp.h"
|
|
|
|
#include "init.h"
|
|
|
|
START_TEST(RealizePalette)
|
|
{
|
|
InitStuff();
|
|
ok_int(RealizePalette(NULL), GDI_ERROR);
|
|
ok_int(RealizePalette((HDC)UlongToHandle(0xdeadc0de)), GDI_ERROR);
|
|
ok_int(RealizePalette((HDC)UlongToHandle(0x00010001)), 0);
|
|
ok_int(RealizePalette(ghdcDIB32), 0);
|
|
|
|
}
|