mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 22:00:55 +00:00
f5cbabe20c
svn path=/trunk/; revision=36691
24 lines
369 B
C
24 lines
369 B
C
|
|
|
|
INT
|
|
Test_BeginPath(PTESTINFO pti)
|
|
{
|
|
HDC hDC;
|
|
BOOL ret;
|
|
|
|
SetLastError(0);
|
|
ret = BeginPath(0);
|
|
TEST(ret == 0);
|
|
TEST(GetLastError() == ERROR_INVALID_HANDLE);
|
|
|
|
hDC = CreateCompatibleDC(NULL);
|
|
|
|
SetLastError(0);
|
|
ret = BeginPath(hDC);
|
|
TEST(ret == 1);
|
|
TEST(GetLastError() == 0);
|
|
|
|
DeleteDC(hDC);
|
|
|
|
return APISTATUS_NORMAL;
|
|
}
|