projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[NTDLL_APITESTS]
[reactos.git]
/
rostests
/
apitests
/
ntdll
/
NtMutant.c
1
2
#include <apitest.h>
3
4
#include <ndk/exfuncs.h>
5
6
7
VOID
8
Test_Release
(
VOID
)
9
{
10
HANDLE MutantHandle
;
11
NTSTATUS Status
;
12
13
Status
=
NtCreateMutant
(&
MutantHandle
,
0
,
NULL
,
TRUE
);
14
ok_ntstatus
(
Status
,
STATUS_SUCCESS
);
15
16
Status
=
NtReleaseMutant
(
MutantHandle
,
NULL
);
17
ok_ntstatus
(
Status
,
STATUS_SUCCESS
);
18
19
}
20
21
22
23
START_TEST
(
NtMutant
)
24
{
25
Test_Release
();
26
}