ReactOS 0.4.15-dev-7918-g2a2556c
GdiConvertRegion.c File Reference
#include "precomp.h"
Include dependency graph for GdiConvertRegion.c:

Go to the source code of this file.

Functions

HRGN WINAPI GdiConvertRegion (HRGN)
 
void Test_GdiConvertRegion ()
 
 START_TEST (GdiConvertRegion)
 

Function Documentation

◆ GdiConvertRegion()

HRGN WINAPI GdiConvertRegion ( HRGN  hregion)

Definition at line 131 of file historic.c.

132{
133 /* Note Windows 2000/XP/VISTA always returns hregion */
134 return hregion;
135}

Referenced by Test_GdiConvertRegion().

◆ START_TEST()

START_TEST ( GdiConvertRegion  )

Definition at line 20 of file GdiConvertRegion.c.

21{
23}
void Test_GdiConvertRegion()

◆ Test_GdiConvertRegion()

void Test_GdiConvertRegion ( )

Definition at line 12 of file GdiConvertRegion.c.

13{
14 ok(GdiConvertRegion((HRGN)-1) == (HRGN)-1, "\n");
15 ok(GdiConvertRegion((HRGN)0) == (HRGN)0, "\n");
16 ok(GdiConvertRegion((HRGN)1) == (HRGN)1, "\n");
17 ok(GdiConvertRegion((HRGN)2) == (HRGN)2, "\n");
18}
HRGN WINAPI GdiConvertRegion(HRGN)
Definition: historic.c:131
#define ok(value,...)
Definition: atltest.h:57

Referenced by START_TEST().