reactos/rostests/apitests/gdi32api/tests/GdiReleaseLocalDC.c
Magnus Olsen 73e46408e9 implemeted test for GdiDeleteLocalDC, GdiReleaseLocalDC, GdiSetAttrs
tested in xp/vista/reactos and works no fault report.

svn path=/trunk/; revision=33681
2008-05-24 22:42:46 +00:00

9 lines
260 B
C

INT
Test_GdiReleaseLocalDC(PTESTINFO pti)
{
RTEST(GdiReleaseLocalDC((HDC)-1) == TRUE);
RTEST(GdiReleaseLocalDC((HDC)0) == TRUE);
RTEST(GdiReleaseLocalDC((HDC)1) == TRUE);
RTEST(GdiReleaseLocalDC((HDC)2) == TRUE);
return APISTATUS_NORMAL;
}