ReactOS  0.4.15-dev-3173-g40ee59d
FxEvtDmaEnablerEnableCallback Class Reference

#include <fxdmaenablercallbacks.hpp>

Inheritance diagram for FxEvtDmaEnablerEnableCallback:
Collaboration diagram for FxEvtDmaEnablerEnableCallback:

Public Member Functions

 FxEvtDmaEnablerEnableCallback (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_ENABLE 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 111 of file fxdmaenablercallbacks.hpp.

Constructor & Destructor Documentation

◆ FxEvtDmaEnablerEnableCallback()

FxEvtDmaEnablerEnableCallback::FxEvtDmaEnablerEnableCallback ( VOID  )
inline

Definition at line 118 of file fxdmaenablercallbacks.hpp.

120  :
121  FxCallback(),
122  m_Method(NULL),
124  {
125  }
FxCallback(__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
Definition: fxcallback.hpp:36
PFN_WDF_DMA_ENABLER_ENABLE m_Method
#define NULL
Definition: types.h:112
#define STATUS_SUCCESS
Definition: shellext.h:65

Member Function Documentation

◆ Invoke()

NTSTATUS FxEvtDmaEnablerEnableCallback::Invoke ( __in WDFDMAENABLER  Handle)
inline

Definition at line 128 of file fxdmaenablercallbacks.hpp.

131  {
132  if (m_Method) {
133  CallbackStart();
134  m_Status = m_Method( Handle );
135  CallbackEnd();
136  }
137  else {
139  }
140  return m_Status;
141  }
PFN_WDF_DMA_ENABLER_ENABLE 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_ENABLE FxEvtDmaEnablerEnableCallback::m_Method

◆ m_Status

NTSTATUS FxEvtDmaEnablerEnableCallback::m_Status

Definition at line 116 of file fxdmaenablercallbacks.hpp.

Referenced by Invoke().


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