ReactOS 0.4.15-dev-7906-g1b85a5f
FxPnpDeviceReleaseHardware Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPnpDeviceReleaseHardware:
Collaboration diagram for FxPnpDeviceReleaseHardware:

Public Member Functions

 FxPnpDeviceReleaseHardware (VOID)
 
_Must_inspect_result_ NTSTATUS Invoke (__in WDFDEVICE Device, __in WDFCMRESLIST ResourcesTranslated)
 
- 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_RELEASE_HARDWARE m_Method
 

Additional Inherited Members

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

Detailed Description

Definition at line 227 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPnpDeviceReleaseHardware()

FxPnpDeviceReleaseHardware::FxPnpDeviceReleaseHardware ( VOID  )
inline

Definition at line 232 of file fxpnpcallbacks.hpp.

235 {
236 }
PFN_WDF_DEVICE_RELEASE_HARDWARE m_Method
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

_Must_inspect_result_ NTSTATUS FxPnpDeviceReleaseHardware::Invoke ( __in WDFDEVICE  Device,
__in WDFCMRESLIST  ResourcesTranslated 
)
inline

Definition at line 240 of file fxpnpcallbacks.hpp.

244 {
245 if (m_Method != NULL) {
247
250 CallbackEnd();
251
252 return status;
253 }
254 else {
255 return STATUS_SUCCESS;
256 }
257 }
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_ WDFCMRESLIST _In_ WDFCMRESLIST ResourcesTranslated
Definition: wdfdevice.h:891

Referenced by FxPkgPnp::PnpReleaseHardware().

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_RELEASE_HARDWARE FxPnpDeviceReleaseHardware::m_Method

Definition at line 230 of file fxpnpcallbacks.hpp.

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


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