#include "DbgMacros.h"
#include "MxEvent.h"
Go to the source code of this file.
◆ __drv_when()
Definition at line 145 of file mxeventum.h.
173{
175
177
180
184
186 {
187
188
189
191 {
193 "Absolute wait not supported in user mode",
195 );
196
198 }
199
200
201
202
204 {
205 relativeTimeOut = -1 *
Timeout->QuadPart;
206 }
207
208
209
210
211 timeoutInMs = (relativeTimeOut / (10 * 1000));
212
214 {
216
218 }
219 else
220 {
222 }
223 }
224
226 m_Event.Event,
229 );
230
231 switch(retVal)
232 {
240 {
243 }
244 default:
245 {
246
247
248
251 }
252 }
253}
static __inline VOID MxAssertMsg(__in LPSTR Message, __in BOOLEAN Condition)
static __inline VOID MxAssert(__in BOOLEAN Condition)
#define ASSERT_DBGFLAG_INITIALIZED
NTSTATUS WinErrorToNtStatus(__in ULONG WinError)
_In_ PVOID _In_ BOOLEAN Alertable
#define UNREFERENCED_PARAMETER(P)
DWORD WINAPI WaitForSingleObjectEx(IN HANDLE hHandle, IN DWORD dwMilliseconds, IN BOOL bAlertable)
#define STATUS_INVALID_PARAMETER
#define STATUS_UNSUCCESSFUL
DWORD WINAPI GetLastError(void)
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD dwTimeout