ReactOS  0.4.15-dev-3287-gfec35dc
FxEvtDmaEnablerFlushCallback Class Reference

#include <fxdmaenablercallbacks.hpp>

Inheritance diagram for FxEvtDmaEnablerFlushCallback:
Collaboration diagram for FxEvtDmaEnablerFlushCallback:

Public Member Functions

 FxEvtDmaEnablerFlushCallback (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_FLUSH 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 75 of file fxdmaenablercallbacks.hpp.

Constructor & Destructor Documentation

◆ FxEvtDmaEnablerFlushCallback()

FxEvtDmaEnablerFlushCallback::FxEvtDmaEnablerFlushCallback ( VOID  )
inline

Definition at line 82 of file fxdmaenablercallbacks.hpp.

84  :
85  FxCallback(),
86  m_Method(NULL),
88  {
89  }
FxCallback(__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
Definition: fxcallback.hpp:36
PFN_WDF_DMA_ENABLER_FLUSH m_Method
#define NULL
Definition: types.h:112
#define STATUS_SUCCESS
Definition: shellext.h:65

Member Function Documentation

◆ Invoke()

NTSTATUS FxEvtDmaEnablerFlushCallback::Invoke ( __in WDFDMAENABLER  Handle)
inline

Definition at line 92 of file fxdmaenablercallbacks.hpp.

95  {
96  if (m_Method) {
97  CallbackStart();
99  CallbackEnd();
100  }
101  else {
103  }
104  return m_Status;
105  }
PFN_WDF_DMA_ENABLER_FLUSH 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_FLUSH FxEvtDmaEnablerFlushCallback::m_Method

◆ m_Status

NTSTATUS FxEvtDmaEnablerFlushCallback::m_Status

Definition at line 80 of file fxdmaenablercallbacks.hpp.

Referenced by Invoke().


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