ReactOS  0.4.14-dev-315-gbb6fece
GdiSetAttrs.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 GdiSetAttrs
5  * PROGRAMMERS: Timo Kreuzer
6  */
7 
8 #include "precomp.h"
9 
11 
13 {
14  ok(GdiSetAttrs((HDC)-1) == TRUE, "\n");
15  ok(GdiSetAttrs((HDC)0) == TRUE, "\n");
16  ok(GdiSetAttrs((HDC)1) == TRUE, "\n");
17  ok(GdiSetAttrs((HDC)2) == TRUE, "\n");
18 }
19 
21 {
23 }
24 
#define TRUE
Definition: types.h:120
BOOL WINAPI GdiSetAttrs(HDC)
Definition: historic.c:142
static HDC
Definition: imagelist.c:92
unsigned int BOOL
Definition: ntddk_ex.h:94
START_TEST(GdiSetAttrs)
Definition: GdiSetAttrs.c:20
#define WINAPI
Definition: msvc.h:8
#define ok(value,...)
Definition: atltest.h:57
void Test_GdiSetAttrs()
Definition: GdiSetAttrs.c:12