ReactOS 0.4.16-dev-125-g798ea90
FxEvtDmaEnablerDisableCallback Class Reference

#include <fxdmaenablercallbacks.hpp>

Inheritance diagram for FxEvtDmaEnablerDisableCallback:
Collaboration diagram for FxEvtDmaEnablerDisableCallback:

Public Member Functions

 FxEvtDmaEnablerDisableCallback (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_DISABLE 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 147 of file fxdmaenablercallbacks.hpp.

Constructor & Destructor Documentation

◆ FxEvtDmaEnablerDisableCallback()

FxEvtDmaEnablerDisableCallback::FxEvtDmaEnablerDisableCallback ( VOID  )
inline

Definition at line 154 of file fxdmaenablercallbacks.hpp.

156 :
157 FxCallback(),
158 m_Method(NULL),
160 {
161 }
PFN_WDF_DMA_ENABLER_DISABLE m_Method
#define NULL
Definition: types.h:112
#define STATUS_SUCCESS
Definition: shellext.h:65

Member Function Documentation

◆ Invoke()

NTSTATUS FxEvtDmaEnablerDisableCallback::Invoke ( __in WDFDMAENABLER  Handle)
inline

Definition at line 164 of file fxdmaenablercallbacks.hpp.

167 {
168 if (m_Method) {
171 CallbackEnd();
172 }
173 else {
175 }
176 return m_Status;
177 }
void __inline CallbackStart(VOID)
Definition: fxcallback.hpp:64
void __inline CallbackEnd(VOID)
Definition: fxcallback.hpp:74
ULONG Handle
Definition: gdb_input.c:15

Referenced by FxDmaEnabler::PowerDown().

Member Data Documentation

◆ m_Method

PFN_WDF_DMA_ENABLER_DISABLE FxEvtDmaEnablerDisableCallback::m_Method

◆ m_Status

NTSTATUS FxEvtDmaEnablerDisableCallback::m_Status

Definition at line 152 of file fxdmaenablercallbacks.hpp.

Referenced by Invoke().


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