2010-08-24 13:54:10 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS api tests
|
|
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
|
|
* PURPOSE: Test for GdiConvertBrush
|
|
|
|
* PROGRAMMERS: Timo Kreuzer
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <wine/test.h>
|
2013-02-05 17:54:22 +00:00
|
|
|
#include <wingdi.h>
|
2010-08-24 13:54:10 +00:00
|
|
|
|
|
|
|
HBRUSH WINAPI GdiConvertBrush(HBRUSH hbr);
|
|
|
|
|
|
|
|
void Test_GdiConvertBrush()
|
|
|
|
{
|
|
|
|
ok(GdiConvertBrush((HBRUSH)-1) == (HBRUSH)-1, "\n");
|
|
|
|
ok(GdiConvertBrush((HBRUSH)0) == (HBRUSH)0, "\n");
|
|
|
|
ok(GdiConvertBrush((HBRUSH)1) == (HBRUSH)1, "\n");
|
|
|
|
ok(GdiConvertBrush((HBRUSH)2) == (HBRUSH)2, "\n");
|
|
|
|
}
|
|
|
|
|
|
|
|
START_TEST(GdiConvertBrush)
|
|
|
|
{
|
|
|
|
Test_GdiConvertBrush();
|
|
|
|
}
|
|
|
|
|