mirror of
https://github.com/reactos/reactos.git
synced 2024-10-29 19:13:58 +00:00
24 lines
339 B
C
24 lines
339 B
C
|
|
#include "precomp.h"
|
|
|
|
VOID
|
|
Test_Release(VOID)
|
|
{
|
|
HANDLE MutantHandle;
|
|
NTSTATUS Status;
|
|
|
|
Status = NtCreateMutant(&MutantHandle, 0, NULL, TRUE);
|
|
ok_ntstatus(Status, STATUS_SUCCESS);
|
|
|
|
Status = NtReleaseMutant(MutantHandle, NULL);
|
|
ok_ntstatus(Status, STATUS_SUCCESS);
|
|
|
|
}
|
|
|
|
|
|
|
|
START_TEST(NtMutant)
|
|
{
|
|
Test_Release();
|
|
}
|