ReactOS  0.4.15-dev-3331-g8ebe441
FxPnpDeviceD0ExitPreInterruptsDisabled Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPnpDeviceD0ExitPreInterruptsDisabled:
Collaboration diagram for FxPnpDeviceD0ExitPreInterruptsDisabled:

Public Member Functions

 FxPnpDeviceD0ExitPreInterruptsDisabled (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_PRE_INTERRUPTS_DISABLED m_Method
 

Additional Inherited Members

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

Detailed Description

Definition at line 160 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPnpDeviceD0ExitPreInterruptsDisabled()

FxPnpDeviceD0ExitPreInterruptsDisabled::FxPnpDeviceD0ExitPreInterruptsDisabled ( VOID  )
inline

Definition at line 165 of file fxpnpcallbacks.hpp.

167  : FxCallback(), m_Method(NULL)
168  {
169  }
FxCallback(__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
Definition: fxcallback.hpp:36
PFN_WDF_DEVICE_D0_EXIT_PRE_INTERRUPTS_DISABLED m_Method
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

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

Definition at line 173 of file fxpnpcallbacks.hpp.

177  {
178  if (m_Method != NULL) {
180 
181  CallbackStart();
183  CallbackEnd();
184 
185  return status;
186  }
187  else {
188  return STATUS_SUCCESS;
189  }
190  }
LONG NTSTATUS
Definition: precomp.h:26
PFN_WDF_DEVICE_D0_EXIT_PRE_INTERRUPTS_DISABLED m_Method
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
_In_ WDF_POWER_DEVICE_STATE TargetState
Definition: wdfdevice.h:859
#define NULL
Definition: types.h:112
void __inline CallbackStart(VOID)
Definition: fxcallback.hpp:64
#define STATUS_SUCCESS
Definition: shellext.h:65
static SERVICE_STATUS status
Definition: service.c:31
void __inline CallbackEnd(VOID)
Definition: fxcallback.hpp:74
Definition: ps.c:97

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

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_D0_EXIT_PRE_INTERRUPTS_DISABLED FxPnpDeviceD0ExitPreInterruptsDisabled::m_Method

Definition at line 163 of file fxpnpcallbacks.hpp.

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


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