reactos/rostests/apitests/gdi32/GdiConvertRegion.c
Amine Khaldi c71475e3bb * Addendum to r58214.
svn path=/trunk/; revision=58290
2013-02-05 17:54:22 +00:00

26 lines
578 B
C

/*
* PROJECT: ReactOS api tests
* LICENSE: GPL - See COPYING in the top level directory
* PURPOSE: Test for GdiConvertRegion
* PROGRAMMERS: Timo Kreuzer
*/
#include <wine/test.h>
#include <wingdi.h>
HRGN WINAPI GdiConvertRegion(HRGN);
void Test_GdiConvertRegion()
{
ok(GdiConvertRegion((HRGN)-1) == (HRGN)-1, "\n");
ok(GdiConvertRegion((HRGN)0) == (HRGN)0, "\n");
ok(GdiConvertRegion((HRGN)1) == (HRGN)1, "\n");
ok(GdiConvertRegion((HRGN)2) == (HRGN)2, "\n");
}
START_TEST(GdiConvertRegion)
{
Test_GdiConvertRegion();
}