ReactOS  0.4.14-dev-342-gdc047f9
GdiDeleteLocalDC.c File Reference
#include "precomp.h"
Include dependency graph for GdiDeleteLocalDC.c:

Go to the source code of this file.

Functions

BOOL WINAPI GdiDeleteLocalDC (HDC)
 
void Test_GdiDeleteLocalDC ()
 
 START_TEST (GdiDeleteLocalDC)
 

Function Documentation

◆ GdiDeleteLocalDC()

BOOL WINAPI GdiDeleteLocalDC ( HDC  )

Definition at line 153 of file historic.c.

154 {
155  /* Note Windows 2000/XP/VISTA always returns TRUE */
156  return TRUE;
157 }
#define TRUE
Definition: types.h:120

Referenced by Test_GdiDeleteLocalDC().

◆ START_TEST()

START_TEST ( GdiDeleteLocalDC  )

Definition at line 20 of file GdiDeleteLocalDC.c.

21 {
23 }
void Test_GdiDeleteLocalDC()

◆ Test_GdiDeleteLocalDC()

void Test_GdiDeleteLocalDC ( )

Definition at line 12 of file GdiDeleteLocalDC.c.

13 {
14  ok(GdiDeleteLocalDC((HDC)-1) == TRUE, "\n");
15  ok(GdiDeleteLocalDC((HDC)0) == TRUE, "\n");
16  ok(GdiDeleteLocalDC((HDC)1) == TRUE, "\n");
17  ok(GdiDeleteLocalDC((HDC)2) == TRUE, "\n");
18 }
#define TRUE
Definition: types.h:120
static HDC
Definition: imagelist.c:92
BOOL WINAPI GdiDeleteLocalDC(HDC)
Definition: historic.c:153
#define ok(value,...)
Definition: atltest.h:57

Referenced by START_TEST().