193 "Absolute wait not supported in user mode",
205 relativeTimeOut = -1 *
Timeout->QuadPart;
211 timeoutInMs = (relativeTimeOut / (10 * 1000));
__inline VOID SetWithIncrement(__in KPRIORITY Priority)
_Must_inspect_result_ __inline NTSTATUS WaitFor(__in KWAIT_REASON WaitReason, __in KPROCESSOR_MODE WaitMode, __in BOOLEAN Alertable, __in_opt PLARGE_INTEGER Timeout)
__inline VOID Uninitialize()
__inline PVOID GetEvent()
CHECK_RETURN_IF_USER_MODE __inline NTSTATUS Initialize(__in EVENT_TYPE Type, __in BOOLEAN InitialState)
__inline LONG ReadState()
static __inline VOID MxAssertMsg(__in LPSTR Message, __in BOOLEAN Condition)
static __inline VOID MxAssert(__in BOOLEAN Condition)
#define ASSERT_DBGFLAG_INITIALIZED
#define SET_DBGFLAG_INITIALIZED
#define CLEAR_DBGFLAG_INITIALIZED
#define __drv_when(cond, annotes)
NTSTATUS WinErrorToNtStatus(__in ULONG WinError)
#define _Must_inspect_result_
_In_ PVOID _In_ BOOLEAN Alertable
_In_ ACCESS_MASK _In_opt_ POBJECT_ATTRIBUTES _In_ EVENT_TYPE _In_ BOOLEAN InitialState
#define UNREFERENCED_PARAMETER(P)
enum _EVENT_TYPE EVENT_TYPE
DWORD WINAPI WaitForSingleObject(IN HANDLE hHandle, IN DWORD dwMilliseconds)
DWORD WINAPI WaitForSingleObjectEx(IN HANDLE hHandle, IN DWORD dwMilliseconds, IN BOOL bAlertable)
BOOL WINAPI DECLSPEC_HOTPATCH SetEvent(IN HANDLE hEvent)
BOOL WINAPI DECLSPEC_HOTPATCH ResetEvent(IN HANDLE hEvent)
#define STATUS_INVALID_PARAMETER
#define STATUS_UNSUCCESSFUL
_In_ WDFINTERRUPT _In_ WDF_INTERRUPT_POLICY _In_ WDF_INTERRUPT_PRIORITY Priority
DWORD WINAPI GetLastError(void)
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD dwTimeout
enum _KWAIT_REASON KWAIT_REASON