ReactOS 0.4.15-dev-8100-g1887773
FxPowerDeviceEnableWakeAtBus Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPowerDeviceEnableWakeAtBus:
Collaboration diagram for FxPowerDeviceEnableWakeAtBus:

Public Member Functions

 FxPowerDeviceEnableWakeAtBus (VOID)
 
_Must_inspect_result_ NTSTATUS Invoke (__in WDFDEVICE Device, __in SYSTEM_POWER_STATE PowerState)
 
- 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_ENABLE_WAKE_AT_BUS m_Method
 

Additional Inherited Members

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

Detailed Description

Definition at line 766 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPowerDeviceEnableWakeAtBus()

FxPowerDeviceEnableWakeAtBus::FxPowerDeviceEnableWakeAtBus ( VOID  )
inline

Definition at line 771 of file fxpnpcallbacks.hpp.

774 {
775 }
PFN_WDF_DEVICE_ENABLE_WAKE_AT_BUS m_Method
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

_Must_inspect_result_ NTSTATUS FxPowerDeviceEnableWakeAtBus::Invoke ( __in WDFDEVICE  Device,
__in SYSTEM_POWER_STATE  PowerState 
)
inline

Definition at line 779 of file fxpnpcallbacks.hpp.

783 {
785
786 if (m_Method != NULL) {
789 CallbackEnd();
790
791 return status;
792 }
793 else {
794 return STATUS_SUCCESS;
795 }
796 }
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
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_POWER_STATE PowerState
Definition: wdfdevice.h:3034

Referenced by FxPkgPdo::PowerEnableWakeAtBusOverload().

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_ENABLE_WAKE_AT_BUS FxPowerDeviceEnableWakeAtBus::m_Method

Definition at line 769 of file fxpnpcallbacks.hpp.

Referenced by Invoke(), and FxPkgPdo::RegisterCallbacks().


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