ReactOS  0.4.14-dev-384-g5b37caa
GdiGetLocalBrush.c
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS api tests
3  * LICENSE: GPL - See COPYING in the top level directory
4  * PURPOSE: Test for GdiGetLocalBrush
5  * PROGRAMMERS: Timo Kreuzer
6  */
7 
8 #include "precomp.h"
9 
10 HBRUSH WINAPI GdiGetLocalBrush(HBRUSH hbr);
11 
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 }
19 
21 {
23 }
24 
START_TEST(GdiGetLocalBrush)
void Test_GdiGetLocalBrush()
#define WINAPI
Definition: msvc.h:8
#define ok(value,...)
Definition: atltest.h:57
HBRUSH WINAPI GdiGetLocalBrush(HBRUSH hbr)
Definition: historic.c:268