mirror of
https://github.com/reactos/reactos.git
synced 2024-11-07 15:10:53 +00:00
23 lines
339 B
C
23 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();
|
|
}
|