mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +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();
|
|
}
|