ReactOS 0.4.15-dev-8207-gd73a838
FxPnpDeviceResourcesQuery Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPnpDeviceResourcesQuery:
Collaboration diagram for FxPnpDeviceResourcesQuery:

Public Member Functions

 FxPnpDeviceResourcesQuery (VOID)
 
_Must_inspect_result_ NTSTATUS Invoke (__in WDFDEVICE Device, __in WDFCMRESLIST 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_RESOURCES_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 502 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPnpDeviceResourcesQuery()

FxPnpDeviceResourcesQuery::FxPnpDeviceResourcesQuery ( VOID  )
inline

Definition at line 507 of file fxpnpcallbacks.hpp.

510 {
511 }
PFN_WDF_DEVICE_RESOURCES_QUERY m_Method
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

_Must_inspect_result_ NTSTATUS FxPnpDeviceResourcesQuery::Invoke ( __in WDFDEVICE  Device,
__in WDFCMRESLIST  Collection 
)
inline

Definition at line 515 of file fxpnpcallbacks.hpp.

519 {
520 if (m_Method != NULL) {
522
525 CallbackEnd();
526
527 return status;
528 }
529 else {
530 return STATUS_SUCCESS;
531 }
532 }
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
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ WDFCOLLECTION Collection
Definition: wdfregistry.h:374

Referenced by FxPkgPdo::PnpQueryResources().

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_RESOURCES_QUERY FxPnpDeviceResourcesQuery::m_Method

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