ReactOS  0.4.15-dev-5461-g062a8f2
FxPowerDeviceDisarmWakeFromSx Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPowerDeviceDisarmWakeFromSx:
Collaboration diagram for FxPowerDeviceDisarmWakeFromSx:

Public Member Functions

 FxPowerDeviceDisarmWakeFromSx (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 926 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPowerDeviceDisarmWakeFromSx()

FxPowerDeviceDisarmWakeFromSx::FxPowerDeviceDisarmWakeFromSx ( VOID  )

Definition at line 931 of file fxpnpcallbacks.hpp.

933  : m_Method(NULL)
934  {
935  }
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

VOID FxPowerDeviceDisarmWakeFromSx::Invoke ( __in WDFDEVICE  Device)

Definition at line 938 of file fxpnpcallbacks.hpp.

941  {
942  if (m_Method != NULL) {
943  CallbackStart();
944  m_Method(Device);
945  CallbackEnd();
946  }
947  }
_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 FxPkgPnp::PowerPolicyDisarmWakeFromSx().

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_DISARM_WAKE_FROM_SX FxPowerDeviceDisarmWakeFromSx::m_Method

Definition at line 929 of file fxpnpcallbacks.hpp.

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

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