ReactOS  0.4.15-dev-3173-g40ee59d
FxEvtDmaEnablerSelfManagedIoStartCallback Class Reference

#include <fxdmaenablercallbacks.hpp>

Inheritance diagram for FxEvtDmaEnablerSelfManagedIoStartCallback:
Collaboration diagram for FxEvtDmaEnablerSelfManagedIoStartCallback:

Public Member Functions

 FxEvtDmaEnablerSelfManagedIoStartCallback (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_START 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 183 of file fxdmaenablercallbacks.hpp.

Constructor & Destructor Documentation

◆ FxEvtDmaEnablerSelfManagedIoStartCallback()

FxEvtDmaEnablerSelfManagedIoStartCallback::FxEvtDmaEnablerSelfManagedIoStartCallback ( VOID  )
inline

Definition at line 190 of file fxdmaenablercallbacks.hpp.

192  :
193  FxCallback(),
194  m_Method(NULL),
196  {
197  }
FxCallback(__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
Definition: fxcallback.hpp:36
PFN_WDF_DMA_ENABLER_SELFMANAGED_IO_START m_Method
#define NULL
Definition: types.h:112
#define STATUS_SUCCESS
Definition: shellext.h:65

Member Function Documentation

◆ Invoke()

NTSTATUS FxEvtDmaEnablerSelfManagedIoStartCallback::Invoke ( __in WDFDMAENABLER  Handle)
inline

Definition at line 200 of file fxdmaenablercallbacks.hpp.

203  {
204  if (m_Method) {
205  CallbackStart();
206  m_Status = m_Method( Handle );
207  CallbackEnd();
208  }
209  else {
211  }
212  return m_Status;
213  }
PFN_WDF_DMA_ENABLER_SELFMANAGED_IO_START 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::PowerUp().

Member Data Documentation

◆ m_Method

PFN_WDF_DMA_ENABLER_SELFMANAGED_IO_START FxEvtDmaEnablerSelfManagedIoStartCallback::m_Method

◆ m_Status

NTSTATUS FxEvtDmaEnablerSelfManagedIoStartCallback::m_Status

Definition at line 188 of file fxdmaenablercallbacks.hpp.

Referenced by Invoke().


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