ReactOS  0.4.15-dev-5461-g062a8f2
FxPowerDeviceDisarmWakeFromS0 Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPowerDeviceDisarmWakeFromS0:
Collaboration diagram for FxPowerDeviceDisarmWakeFromS0:

Public Member Functions

 FxPowerDeviceDisarmWakeFromS0 (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 902 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPowerDeviceDisarmWakeFromS0()

FxPowerDeviceDisarmWakeFromS0::FxPowerDeviceDisarmWakeFromS0 ( VOID  )

Definition at line 907 of file fxpnpcallbacks.hpp.

909  : m_Method(NULL)
910  {
911  }
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

VOID FxPowerDeviceDisarmWakeFromS0::Invoke ( __in WDFDEVICE  Device)

Definition at line 914 of file fxpnpcallbacks.hpp.

917  {
918  if (m_Method != NULL) {
919  CallbackStart();
920  m_Method(Device);
921  CallbackEnd();
922  }
923  }
_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_DISARM_WAKE_FROM_S0 FxPowerDeviceDisarmWakeFromS0::m_Method

Definition at line 905 of file fxpnpcallbacks.hpp.

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

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