reactos/modules/rostests/apitests/ntdll/NtMutant.c

24 lines
339 B
C
Raw Normal View History

2017-12-02 20:05:46 +00:00
#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();
}