ReactOS 0.4.16-dev-2110-ge3521eb
RealizePalette.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 RealizePalette
5 * PROGRAMMERS: Timo Kreuzer
6 */
7
8#include "precomp.h"
9
10#include <gditools.h>
11
13{
14 ok(GdiToolsInit(), "GdiToolsInit failed\n");
15
18 ok_int(RealizePalette((HDC)UlongToHandle(0x00010001)), 0);
20}
#define ok(value,...)
Definition: atltest.h:57
#define START_TEST(x)
Definition: atltest.h:75
#define ok_int(expression, result)
Definition: atltest.h:134
#define UlongToHandle(ul)
Definition: basetsd.h:91
#define NULL
Definition: types.h:112
HDC ghdcDIB32
Definition: gditools.c:24
BOOL GdiToolsInit(void)
Definition: gditools.c:229
static HDC
Definition: imagelist.c:88
UINT WINAPI RealizePalette(_In_ HDC)
Definition: palette.c:138
#define GDI_ERROR
Definition: wingdi.h:1309