ReactOS  0.4.15-dev-4872-g8a3db97
FxPnpDeviceResourceRequirementsQuery Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPnpDeviceResourceRequirementsQuery:
Collaboration diagram for FxPnpDeviceResourceRequirementsQuery:

Public Member Functions

 FxPnpDeviceResourceRequirementsQuery (VOID)
 
_Must_inspect_result_ NTSTATUS Invoke (__in WDFDEVICE Device, __in WDFIORESREQLIST Collection)
 
- 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_RESOURCE_REQUIREMENTS_QUERY m_Method
 

Additional Inherited Members

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

Detailed Description

Definition at line 535 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPnpDeviceResourceRequirementsQuery()

FxPnpDeviceResourceRequirementsQuery::FxPnpDeviceResourceRequirementsQuery ( VOID  )
inline

Definition at line 540 of file fxpnpcallbacks.hpp.

542  : FxCallback(), m_Method(NULL)
543  {
544  }
FxCallback(__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
Definition: fxcallback.hpp:36
PFN_WDF_DEVICE_RESOURCE_REQUIREMENTS_QUERY m_Method
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

_Must_inspect_result_ NTSTATUS FxPnpDeviceResourceRequirementsQuery::Invoke ( __in WDFDEVICE  Device,
__in WDFIORESREQLIST  Collection 
)
inline

Definition at line 548 of file fxpnpcallbacks.hpp.

552  {
553  if (m_Method != NULL) {
555 
556  CallbackStart();
558  CallbackEnd();
559 
560  return status;
561  }
562  else {
563  return STATUS_SUCCESS;
564  }
565  }
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ WDFCOLLECTION Collection
Definition: wdfregistry.h:367
LONG NTSTATUS
Definition: precomp.h:26
PFN_WDF_DEVICE_RESOURCE_REQUIREMENTS_QUERY m_Method
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
#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 FxPkgPdo::PnpQueryResourceRequirements().

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_RESOURCE_REQUIREMENTS_QUERY FxPnpDeviceResourceRequirementsQuery::m_Method

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