ReactOS 0.4.15-dev-8131-g4988de4
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 }
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) {
135 CallbackEnd();
136 }
137 else {
139 }
140 return m_Status;
141 }
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::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: