ReactOS 0.4.15-dev-7660-g0086d05
GdiReleaseLocalDC.c File Reference
#include "precomp.h"
Include dependency graph for GdiReleaseLocalDC.c:

Go to the source code of this file.

Functions

BOOL WINAPI GdiReleaseLocalDC (HDC)
 
void Test_GdiReleaseLocalDC ()
 
 START_TEST (GdiReleaseLocalDC)
 

Function Documentation

◆ GdiReleaseLocalDC()

BOOL WINAPI GdiReleaseLocalDC ( HDC  hdc)

Definition at line 235 of file historic.c.

236{
237 /* Note Windows 2000/XP/VISTA always returns TRUE */
238 return TRUE;
239}
#define TRUE
Definition: types.h:120

Referenced by Test_GdiReleaseLocalDC().

◆ START_TEST()

START_TEST ( GdiReleaseLocalDC  )

Definition at line 20 of file GdiReleaseLocalDC.c.

21{
23}
void Test_GdiReleaseLocalDC()

◆ Test_GdiReleaseLocalDC()

void Test_GdiReleaseLocalDC ( )

Definition at line 12 of file GdiReleaseLocalDC.c.

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

Referenced by START_TEST().