projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f4671207dfe22b48d69643e3dd634ed3ef5fe344
[reactos.git]
/
rostests
/
apitests
/
gdi32api
/
tests
/
BeginPath.c
1
2
3
INT
4
Test_BeginPath
(
PTESTINFO pti
)
5
{
6
HDC hDC
;
7
BOOL ret
;
8
9
SetLastError
(
0
);
10
ret
=
BeginPath
(
0
);
11
TEST
(
ret
==
0
);
12
TEST
(
GetLastError
() ==
ERROR_INVALID_HANDLE
);
13
14
hDC
=
CreateCompatibleDC
(
NULL
);
15
16
SetLastError
(
0
);
17
ret
=
BeginPath
(
hDC
);
18
TEST
(
ret
==
1
);
19
TEST
(
GetLastError
() ==
0
);
20
21
DeleteDC
(
hDC
);
22
23
return
APISTATUS_NORMAL
;
24
}