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

Go to the source code of this file.

Functions

HDC WINAPI GdiGetLocalDC (HDC)
 
void Test_GdiGetLocalDC ()
 
 START_TEST (GdiGetLocalDC)
 

Function Documentation

◆ GdiGetLocalDC()

HDC WINAPI GdiGetLocalDC ( HDC  )

Definition at line 278 of file historic.c.

279 {
280  return hdc;
281 }
HDC hdc
Definition: main.c:9

Referenced by Test_GdiGetLocalDC().

◆ START_TEST()

START_TEST ( GdiGetLocalDC  )

Definition at line 20 of file GdiGetLocalDC.c.

21 {
23 }
void Test_GdiGetLocalDC()
Definition: GdiGetLocalDC.c:12

◆ Test_GdiGetLocalDC()

void Test_GdiGetLocalDC ( )

Definition at line 12 of file GdiGetLocalDC.c.

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

Referenced by START_TEST().