ReactOS 0.4.15-dev-7924-g5949c20
FxPowerDeviceArmWakeFromS0 Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPowerDeviceArmWakeFromS0:
Collaboration diagram for FxPowerDeviceArmWakeFromS0:

Public Member Functions

 FxPowerDeviceArmWakeFromS0 (VOID)
 
_Must_inspect_result_ NTSTATUS 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_ARM_WAKE_FROM_S0 m_Method
 

Additional Inherited Members

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

Detailed Description

Definition at line 823 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPowerDeviceArmWakeFromS0()

FxPowerDeviceArmWakeFromS0::FxPowerDeviceArmWakeFromS0 ( VOID  )
inline

Definition at line 828 of file fxpnpcallbacks.hpp.

830 : m_Method(NULL)
831 {
832 }
PFN_WDF_DEVICE_ARM_WAKE_FROM_S0 m_Method
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

_Must_inspect_result_ NTSTATUS FxPowerDeviceArmWakeFromS0::Invoke ( __in WDFDEVICE  Device)
inline

Definition at line 836 of file fxpnpcallbacks.hpp.

839 {
840 if (m_Method != NULL) {
842
845 CallbackEnd();
846
847 return status;
848 }
849 else {
850 return STATUS_SUCCESS;
851 }
852 }
LONG NTSTATUS
Definition: precomp.h:26
void __inline CallbackStart(VOID)
Definition: fxcallback.hpp:64
void __inline CallbackEnd(VOID)
Definition: fxcallback.hpp:74
#define STATUS_SUCCESS
Definition: shellext.h:65
Definition: ps.c:97
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_ARM_WAKE_FROM_S0 FxPowerDeviceArmWakeFromS0::m_Method

Definition at line 826 of file fxpnpcallbacks.hpp.

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


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