Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 862 of file synch.c.
{ NTSTATUS Status; /* Check for invalid handle */ if (!WaitHandle) { /* Fail */ SetLastError(ERROR_INVALID_HANDLE); return FALSE; } /* Deregister the wait and check status */ Status = RtlDeregisterWaitEx(WaitHandle, NULL); if (!(NT_SUCCESS(Status)) || (Status == STATUS_PENDING)) { /* Failure or non-blocking call */ BaseSetLastNTError(Status); return FALSE; } /* All good */ return TRUE; }