ReactOS 0.4.15-dev-7842-g558ab78
GdiGetLocalBrush.c File Reference
#include "precomp.h"
Include dependency graph for GdiGetLocalBrush.c:

Go to the source code of this file.

Functions

HBRUSH WINAPI GdiGetLocalBrush (HBRUSH hbr)
 
void Test_GdiGetLocalBrush ()
 
 START_TEST (GdiGetLocalBrush)
 

Function Documentation

◆ GdiGetLocalBrush()

HBRUSH WINAPI GdiGetLocalBrush ( HBRUSH  hbr)

Definition at line 268 of file historic.c.

269{
270 return hbr;
271}

Referenced by Test_GdiGetLocalBrush().

◆ START_TEST()

START_TEST ( GdiGetLocalBrush  )

Definition at line 20 of file GdiGetLocalBrush.c.

21{
23}
void Test_GdiGetLocalBrush()

◆ Test_GdiGetLocalBrush()

void Test_GdiGetLocalBrush ( )

Definition at line 12 of file GdiGetLocalBrush.c.

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

Referenced by START_TEST().