ReactOS  0.4.14-dev-384-g5b37caa
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  )

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

Referenced by START_TEST().