ReactOS  0.4.15-dev-1070-ge1a01de
GdiConvertBrush.c File Reference
#include "precomp.h"
Include dependency graph for GdiConvertBrush.c:

Go to the source code of this file.

Functions

HBRUSH WINAPI GdiConvertBrush (HBRUSH hbr)
 
void Test_GdiConvertBrush ()
 
 START_TEST (GdiConvertBrush)
 

Function Documentation

◆ GdiConvertBrush()

HBRUSH WINAPI GdiConvertBrush ( HBRUSH  hbr)

Definition at line 87 of file historic.c.

88 {
89  /* Note Windows 2000/XP/VISTA always returns hbr */
90  return hbr;
91 }

Referenced by Test_GdiConvertBrush().

◆ START_TEST()

START_TEST ( GdiConvertBrush  )

Definition at line 20 of file GdiConvertBrush.c.

21 {
23 }
void Test_GdiConvertBrush()

◆ Test_GdiConvertBrush()

void Test_GdiConvertBrush ( )

Definition at line 12 of file GdiConvertBrush.c.

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

Referenced by START_TEST().