ReactOS 0.4.15-dev-7788-g1ad9096
FxPnpDeviceD0Exit Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPnpDeviceD0Exit:
Collaboration diagram for FxPnpDeviceD0Exit:

Public Member Functions

 FxPnpDeviceD0Exit (VOID)
 
_Must_inspect_result_ NTSTATUS Invoke (__in WDFDEVICE Device, __in WDF_POWER_DEVICE_STATE TargetState)
 
- 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_D0_EXIT m_Method
 

Additional Inherited Members

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

Detailed Description

Definition at line 127 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPnpDeviceD0Exit()

FxPnpDeviceD0Exit::FxPnpDeviceD0Exit ( VOID  )
inline

Definition at line 132 of file fxpnpcallbacks.hpp.

135 {
136 }
PFN_WDF_DEVICE_D0_EXIT m_Method
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

_Must_inspect_result_ NTSTATUS FxPnpDeviceD0Exit::Invoke ( __in WDFDEVICE  Device,
__in WDF_POWER_DEVICE_STATE  TargetState 
)
inline

Definition at line 140 of file fxpnpcallbacks.hpp.

144 {
145 if (m_Method != NULL) {
147
150 CallbackEnd();
151
152 return status;
153 }
154 else {
155 return STATUS_SUCCESS;
156 }
157 }
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
_In_ WDF_POWER_DEVICE_STATE TargetState
Definition: wdfdevice.h:859

Referenced by FxPkgPnp::PowerConnectInterruptFailed(), FxPkgPnp::PowerGotoDxIoStopped(), and FxPkgPnp::PowerGotoDxIoStoppedNP().

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_D0_EXIT FxPnpDeviceD0Exit::m_Method

Definition at line 130 of file fxpnpcallbacks.hpp.

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


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