ReactOS  0.4.15-dev-5452-g3c95c95
FxPowerDeviceWakeFromS0Triggered Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPowerDeviceWakeFromS0Triggered:
Collaboration diagram for FxPowerDeviceWakeFromS0Triggered:

Public Member Functions

 FxPowerDeviceWakeFromS0Triggered (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_WAKE_FROM_S0_TRIGGERED m_Method
 

Additional Inherited Members

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

Detailed Description

Definition at line 974 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPowerDeviceWakeFromS0Triggered()

FxPowerDeviceWakeFromS0Triggered::FxPowerDeviceWakeFromS0Triggered ( VOID  )
inline

Definition at line 979 of file fxpnpcallbacks.hpp.

981  : m_Method(NULL)
982  {
983  }
PFN_WDF_DEVICE_WAKE_FROM_S0_TRIGGERED m_Method
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

VOID FxPowerDeviceWakeFromS0Triggered::Invoke ( __in WDFDEVICE  Device)
inline

Definition at line 986 of file fxpnpcallbacks.hpp.

989  {
990  if (m_Method != NULL) {
991  CallbackStart();
992  m_Method(Device);
993  CallbackEnd();
994  }
995  }
PFN_WDF_DEVICE_WAKE_FROM_S0_TRIGGERED 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

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_WAKE_FROM_S0_TRIGGERED FxPowerDeviceWakeFromS0Triggered::m_Method

Definition at line 977 of file fxpnpcallbacks.hpp.

Referenced by Invoke(), and FxPkgPnp::RegisterPowerPolicyCallbacks().


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