32FxSyncRequest::FxSyncRequest(
64 m_ClearContextOnDestroy =
TRUE;
68 m_ClearContextOnDestroy =
FALSE;
102 SetNoContextHeader();
105FxSyncRequest::~FxSyncRequest(
135 if (m_TrueRequest !=
this && m_ClearContextOnDestroy) {
136 m_TrueRequest->m_RequestContext =
NULL;
137 m_TrueRequest->m_RequestBaseFlags &= ~FxRequestBaseSyncCleanupContext;
146 if (m_ClearContextOnDestroy) {
147 m_RequestContext =
NULL;
152 "Request %p, waiting on event %p",
153 this, m_DestroyedEvent.GetEvent());
155 m_DestroyedEvent.EnterCRAndWaitAndLeave();
158 "Request %p, wait on event %p done",
159 this, m_DestroyedEvent.GetEvent());
164FxSyncRequest::SelfDestruct(
187 "SyncRequest %p, signaling event %p on SelfDestruct",
188 this, m_DestroyedEvent.GetEvent());
190 m_DestroyedEvent.Set();
__inline VOID SetContext(__in FxRequestContext *RequestContext=NULL)
FxRequestContext * m_RequestContext
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
FxObjectHandleGetPtr(GetFxDriverGlobals(DriverGlobals), Fdo, FX_TYPE_DEVICE,(PVOID *)&pFdo)
@ FxRequestConstructorCallerIsFx
@ FxRequestBaseSyncCleanupContext
GLuint GLuint GLsizei count
#define TRACE_LEVEL_VERBOSE
virtual VOID ReleaseAndRestore(__in FxRequestBase *Request)