ReactOS  0.4.15-dev-3745-g356babc
FxPowerDeviceDisableWakeAtBus Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPowerDeviceDisableWakeAtBus:
Collaboration diagram for FxPowerDeviceDisableWakeAtBus:

Public Member Functions

 FxPowerDeviceDisableWakeAtBus (VOID)
 
VOID Invoke (__in WDFDEVICE Device)
 
- 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_DEVICE_DISABLE_WAKE_AT_BUS m_Method
 

Additional Inherited Members

- Protected Member Functions inherited from FxCallback
void __inline CallbackStart (VOID)
 
void __inline CallbackEnd (VOID)
 

Detailed Description

Definition at line 799 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPowerDeviceDisableWakeAtBus()

FxPowerDeviceDisableWakeAtBus::FxPowerDeviceDisableWakeAtBus ( VOID  )
inline

Definition at line 804 of file fxpnpcallbacks.hpp.

806  : FxCallback(), m_Method(NULL)
807  {
808  }
FxCallback(__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
Definition: fxcallback.hpp:36
PFN_WDF_DEVICE_DISABLE_WAKE_AT_BUS m_Method
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

VOID FxPowerDeviceDisableWakeAtBus::Invoke ( __in WDFDEVICE  Device)
inline

Definition at line 811 of file fxpnpcallbacks.hpp.

814  {
815  if (m_Method != NULL) {
816  CallbackStart();
817  m_Method(Device);
818  CallbackEnd();
819  }
820  }
PFN_WDF_DEVICE_DISABLE_WAKE_AT_BUS m_Method
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
#define NULL
Definition: types.h:112
void __inline CallbackStart(VOID)
Definition: fxcallback.hpp:64
void __inline CallbackEnd(VOID)
Definition: fxcallback.hpp:74

Referenced by FxPkgPdo::PowerDisableWakeAtBusOverload().

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_DISABLE_WAKE_AT_BUS FxPowerDeviceDisableWakeAtBus::m_Method

Definition at line 802 of file fxpnpcallbacks.hpp.

Referenced by Invoke(), and FxPkgPdo::RegisterCallbacks().


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