ReactOS  0.4.15-dev-5461-g062a8f2
FxPowerDeviceWakeFromSxTriggered Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPowerDeviceWakeFromSxTriggered:
Collaboration diagram for FxPowerDeviceWakeFromSxTriggered:

Public Member Functions

 FxPowerDeviceWakeFromSxTriggered (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


Additional Inherited Members

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

Detailed Description

Definition at line 950 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPowerDeviceWakeFromSxTriggered()

FxPowerDeviceWakeFromSxTriggered::FxPowerDeviceWakeFromSxTriggered ( VOID  )

Definition at line 955 of file fxpnpcallbacks.hpp.

957  : m_Method(NULL)
958  {
959  }
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

VOID FxPowerDeviceWakeFromSxTriggered::Invoke ( __in WDFDEVICE  Device)

Definition at line 962 of file fxpnpcallbacks.hpp.

965  {
966  if (m_Method != NULL) {
967  CallbackStart();
968  m_Method(Device);
969  CallbackEnd();
970  }
971  }
_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_SX_TRIGGERED FxPowerDeviceWakeFromSxTriggered::m_Method

Definition at line 953 of file fxpnpcallbacks.hpp.

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

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