2015-02-04 09:02:25 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS api tests
|
|
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
|
|
* PURPOSE: Test for RealizePalette
|
|
|
|
* PROGRAMMERS: Timo Kreuzer
|
|
|
|
*/
|
|
|
|
|
2017-12-02 20:00:06 +00:00
|
|
|
#include "precomp.h"
|
|
|
|
|
2015-02-04 09:02:25 +00:00
|
|
|
#include "init.h"
|
|
|
|
|
|
|
|
START_TEST(RealizePalette)
|
|
|
|
{
|
|
|
|
InitStuff();
|
|
|
|
ok_int(RealizePalette(NULL), GDI_ERROR);
|
2019-01-20 14:58:32 +00:00
|
|
|
ok_int(RealizePalette((HDC)UlongToHandle(0xdeadc0de)), GDI_ERROR);
|
|
|
|
ok_int(RealizePalette((HDC)UlongToHandle(0x00010001)), 0);
|
2015-02-04 09:02:25 +00:00
|
|
|
ok_int(RealizePalette(ghdcDIB32), 0);
|
|
|
|
|
|
|
|
}
|