ReactOS  0.4.14-dev-384-g5b37caa
GdiConvertFont.c File Reference
#include "precomp.h"
Include dependency graph for GdiConvertFont.c:

Go to the source code of this file.

Functions

HFONT WINAPI GdiConvertFont (HFONT)
 
void Test_GdiConvertFont ()
 
 START_TEST (GdiConvertFont)
 

Function Documentation

◆ GdiConvertFont()

HFONT WINAPI GdiConvertFont ( HFONT  )

Definition at line 109 of file historic.c.

110 {
111  /* Note Windows 2000/XP/VISTA always returns hfont */
112  return hfont;
113 }
static HFONT hfont

Referenced by Test_GdiConvertFont().

◆ START_TEST()

START_TEST ( GdiConvertFont  )

Definition at line 20 of file GdiConvertFont.c.

21 {
23 }
void Test_GdiConvertFont()

◆ Test_GdiConvertFont()

void Test_GdiConvertFont ( )

Definition at line 12 of file GdiConvertFont.c.

13 {
14  ok(GdiConvertFont((HFONT)-1) == (HFONT)-1, "\n");
15  ok(GdiConvertFont((HFONT)0) == (HFONT)0, "\n");
16  ok(GdiConvertFont((HFONT)1) == (HFONT)1, "\n");
17  ok(GdiConvertFont((HFONT)2) == (HFONT)2, "\n");
18 }
HFONT WINAPI GdiConvertFont(HFONT)
Definition: historic.c:109
#define ok(value,...)
Definition: atltest.h:57
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)

Referenced by START_TEST().