ReactOS 0.4.15-dev-8100-g1887773
FxPnpDeviceD0EntryPostInterruptsEnabled Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPnpDeviceD0EntryPostInterruptsEnabled:
Collaboration diagram for FxPnpDeviceD0EntryPostInterruptsEnabled:

Public Member Functions

 FxPnpDeviceD0EntryPostInterruptsEnabled (VOID)
 
_Must_inspect_result_ NTSTATUS Invoke (__in WDFDEVICE Device, __in WDF_POWER_DEVICE_STATE PreviousState)
 
- 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_ENTRY_POST_INTERRUPTS_ENABLED m_Method
 

Additional Inherited Members

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

Detailed Description

Definition at line 94 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPnpDeviceD0EntryPostInterruptsEnabled()

FxPnpDeviceD0EntryPostInterruptsEnabled::FxPnpDeviceD0EntryPostInterruptsEnabled ( VOID  )
inline

Definition at line 99 of file fxpnpcallbacks.hpp.

102 {
103 }
PFN_WDF_DEVICE_D0_ENTRY_POST_INTERRUPTS_ENABLED m_Method
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

_Must_inspect_result_ NTSTATUS FxPnpDeviceD0EntryPostInterruptsEnabled::Invoke ( __in WDFDEVICE  Device,
__in WDF_POWER_DEVICE_STATE  PreviousState 
)
inline

Definition at line 107 of file fxpnpcallbacks.hpp.

111 {
112 if (m_Method != NULL) {
114
117 CallbackEnd();
118
119 return status;
120 }
121 else {
122 return STATUS_SUCCESS;
123 }
124 }
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 PreviousState
Definition: wdfdevice.h:829

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_D0_ENTRY_POST_INTERRUPTS_ENABLED FxPnpDeviceD0EntryPostInterruptsEnabled::m_Method

Definition at line 97 of file fxpnpcallbacks.hpp.

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


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