ReactOS  0.4.15-dev-3173-g40ee59d
FxEvtDmaEnablerSelfManagedIoStopCallback Class Reference

#include <fxdmaenablercallbacks.hpp>

Inheritance diagram for FxEvtDmaEnablerSelfManagedIoStopCallback:
Collaboration diagram for FxEvtDmaEnablerSelfManagedIoStopCallback:

Public Member Functions

 FxEvtDmaEnablerSelfManagedIoStopCallback (VOID)
 
NTSTATUS Invoke (__in WDFDMAENABLER Handle)
 
- Public Member Functions inherited from FxCallback
 FxCallback (__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
 
PVOID operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals, __in POOL_TYPE PoolType=NonPagedPool)
 
VOID operator delete (__in PVOID pointer)
 

Public Attributes

PFN_WDF_DMA_ENABLER_SELFMANAGED_IO_STOP m_Method
 
NTSTATUS m_Status
 

Additional Inherited Members

- Protected Member Functions inherited from FxCallback
void __inline CallbackStart (VOID)
 
void __inline CallbackEnd (VOID)
 

Detailed Description

Definition at line 220 of file fxdmaenablercallbacks.hpp.

Constructor & Destructor Documentation

◆ FxEvtDmaEnablerSelfManagedIoStopCallback()

FxEvtDmaEnablerSelfManagedIoStopCallback::FxEvtDmaEnablerSelfManagedIoStopCallback ( VOID  )
inline

Definition at line 227 of file fxdmaenablercallbacks.hpp.

229  :
230  FxCallback(),
231  m_Method(NULL),
233  {
234  }
FxCallback(__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
Definition: fxcallback.hpp:36
PFN_WDF_DMA_ENABLER_SELFMANAGED_IO_STOP m_Method
#define NULL
Definition: types.h:112
#define STATUS_SUCCESS
Definition: shellext.h:65

Member Function Documentation

◆ Invoke()

NTSTATUS FxEvtDmaEnablerSelfManagedIoStopCallback::Invoke ( __in WDFDMAENABLER  Handle)
inline

Definition at line 237 of file fxdmaenablercallbacks.hpp.

240  {
241  if (m_Method) {
242  CallbackStart();
243  m_Status = m_Method( Handle );
244  CallbackEnd();
245  }
246  else {
248  }
249  return m_Status;
250  }
PFN_WDF_DMA_ENABLER_SELFMANAGED_IO_STOP m_Method
_In_ HANDLE Handle
Definition: extypes.h:390
void __inline CallbackStart(VOID)
Definition: fxcallback.hpp:64
#define STATUS_SUCCESS
Definition: shellext.h:65
void __inline CallbackEnd(VOID)
Definition: fxcallback.hpp:74

Referenced by FxDmaEnabler::PowerDown().

Member Data Documentation

◆ m_Method

PFN_WDF_DMA_ENABLER_SELFMANAGED_IO_STOP FxEvtDmaEnablerSelfManagedIoStopCallback::m_Method

◆ m_Status

NTSTATUS FxEvtDmaEnablerSelfManagedIoStopCallback::m_Status

Definition at line 225 of file fxdmaenablercallbacks.hpp.

Referenced by Invoke().


The documentation for this class was generated from the following file: