ReactOS  0.4.15-dev-5461-g062a8f2
FxPnpDeviceRemoveAddedResources Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPnpDeviceRemoveAddedResources:
Collaboration diagram for FxPnpDeviceRemoveAddedResources:

Public Member Functions

 FxPnpDeviceRemoveAddedResources (VOID)
 
_Must_inspect_result_ NTSTATUS Invoke (__in WDFDEVICE Device, __in WDFCMRESLIST ResourcesRaw, __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_REMOVE_ADDED_RESOURCES m_Method
 

Additional Inherited Members

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

Detailed Description

Definition at line 260 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPnpDeviceRemoveAddedResources()

FxPnpDeviceRemoveAddedResources::FxPnpDeviceRemoveAddedResources ( VOID  )
inline

Definition at line 265 of file fxpnpcallbacks.hpp.

267  : FxCallback(), m_Method(NULL)
268  {
269  }
FxCallback(__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
Definition: fxcallback.hpp:36
#define NULL
Definition: types.h:112
PFN_WDF_DEVICE_REMOVE_ADDED_RESOURCES m_Method

Member Function Documentation

◆ Invoke()

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

Definition at line 273 of file fxpnpcallbacks.hpp.

278  {
279  if (m_Method != NULL) {
281 
282  CallbackStart();
284  CallbackEnd();
285 
286  return status;
287  }
288  else {
289  return STATUS_SUCCESS;
290  }
291  }
LONG NTSTATUS
Definition: precomp.h:26
_In_ WDFCMRESLIST ResourcesRaw
Definition: wdfdevice.h:888
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
_In_ WDFCMRESLIST _In_ WDFCMRESLIST ResourcesTranslated
Definition: wdfdevice.h:888
#define NULL
Definition: types.h:112
PFN_WDF_DEVICE_REMOVE_ADDED_RESOURCES m_Method
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 FxPkgFdo::PnpSendStartDeviceDownTheStackOverload().

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_REMOVE_ADDED_RESOURCES FxPnpDeviceRemoveAddedResources::m_Method

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