ReactOS 0.4.15-dev-8131-g4988de4
GdiSetAttrs.c File Reference
#include "precomp.h"
Include dependency graph for GdiSetAttrs.c:

Go to the source code of this file.

Functions

BOOL WINAPI GdiSetAttrs (HDC)
 
void Test_GdiSetAttrs ()
 
 START_TEST (GdiSetAttrs)
 

Function Documentation

◆ GdiSetAttrs()

BOOL WINAPI GdiSetAttrs ( HDC  hdc)

Definition at line 142 of file historic.c.

143{
144 /* Note Windows 2000/XP/VISTA always returns TRUE */
145 return TRUE;
146}
#define TRUE
Definition: types.h:120

Referenced by Test_GdiSetAttrs().

◆ START_TEST()

START_TEST ( GdiSetAttrs  )

Definition at line 20 of file GdiSetAttrs.c.

21{
23}
void Test_GdiSetAttrs()
Definition: GdiSetAttrs.c:12

◆ Test_GdiSetAttrs()

void Test_GdiSetAttrs ( )

Definition at line 12 of file GdiSetAttrs.c.

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}
BOOL WINAPI GdiSetAttrs(HDC)
Definition: historic.c:142
#define ok(value,...)
Definition: atltest.h:57
static HDC
Definition: imagelist.c:92

Referenced by START_TEST().