projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add Test for EngDeleteSemaphore, it only test if it been create or not
[reactos.git]
/
rostests
/
apitests
/
gdi32api
/
tests
/
EngCreateSemaphore.c
1
/* Simple test of EngAcquireSemaphore only check if we got a lock or not */
2
INT
3
Test_EngCreateSemaphore
(
PTESTINFO pti
)
4
{
5
6
HSEMAPHORE hsem
;
7
hsem
=
EngCreateSemaphore
();
8
9
RTEST
(
hsem
!=
NULL
);
10
11
EngDeleteSemaphore
(
hsem
);
12
13
return
APISTATUS_NORMAL
;
14
}
15