ReactOS 0.4.15-dev-6047-gb29e82d
GdiConvertDC.c File Reference
#include "precomp.h"
Include dependency graph for GdiConvertDC.c:

Go to the source code of this file.

Functions

HDC WINAPI GdiConvertDC (HDC hdc)
 
void Test_GdiConvertDC ()
 
 START_TEST (GdiConvertDC)
 

Function Documentation

◆ GdiConvertDC()

HDC WINAPI GdiConvertDC ( HDC  hdc)

Definition at line 98 of file historic.c.

99{
100 /* Note Windows 2000/XP/VISTA always returns hdc */
101 return hdc;
102}
HDC hdc
Definition: main.c:9

Referenced by Test_GdiConvertDC().

◆ START_TEST()

START_TEST ( GdiConvertDC  )

Definition at line 20 of file GdiConvertDC.c.

21{
23}
void Test_GdiConvertDC()
Definition: GdiConvertDC.c:12

◆ Test_GdiConvertDC()

void Test_GdiConvertDC ( )

Definition at line 12 of file GdiConvertDC.c.

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

Referenced by START_TEST().