mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
![Timo Kreuzer](/assets/img/avatar_default.png)
Add simple tests for RealizePalette. CORE-8350 #comment Tests show that the patch is not correct. svn path=/trunk/; revision=66158
23 lines
511 B
C
23 lines
511 B
C
/*
|
|
* PROJECT: ReactOS api tests
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
* PURPOSE: Test for RealizePalette
|
|
* PROGRAMMERS: Timo Kreuzer
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include <wine/test.h>
|
|
#include <windows.h>
|
|
#include "init.h"
|
|
|
|
START_TEST(RealizePalette)
|
|
{
|
|
InitStuff();
|
|
ok_int(RealizePalette(NULL), GDI_ERROR);
|
|
ok_int(RealizePalette((HDC)0xdeadc0de), GDI_ERROR);
|
|
ok_int(RealizePalette((HDC)0x00010001), 0);
|
|
ok_int(RealizePalette(ghdcDIB32), 0);
|
|
|
|
}
|
|
|