ReactOS  0.4.15-dev-3165-gdf6fff7
FxPnpDeviceRelationsQuery Class Reference

#include <fxpnpcallbacks.hpp>

Inheritance diagram for FxPnpDeviceRelationsQuery:
Collaboration diagram for FxPnpDeviceRelationsQuery:

Public Member Functions

 FxPnpDeviceRelationsQuery (VOID)
 
VOID Invoke (__in WDFDEVICE Device, __in DEVICE_RELATION_TYPE RelationType)
 
- 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_RELATIONS_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 684 of file fxpnpcallbacks.hpp.

Constructor & Destructor Documentation

◆ FxPnpDeviceRelationsQuery()

FxPnpDeviceRelationsQuery::FxPnpDeviceRelationsQuery ( VOID  )
inline

Definition at line 689 of file fxpnpcallbacks.hpp.

691  : FxCallback(), m_Method(NULL)
692  {
693  }
FxCallback(__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
Definition: fxcallback.hpp:36
#define NULL
Definition: types.h:112
PFN_WDF_DEVICE_RELATIONS_QUERY m_Method

Member Function Documentation

◆ Invoke()

VOID FxPnpDeviceRelationsQuery::Invoke ( __in WDFDEVICE  Device,
__in DEVICE_RELATION_TYPE  RelationType 
)
inline

Definition at line 696 of file fxpnpcallbacks.hpp.

700  {
701  if (m_Method != NULL) {
702  CallbackStart();
704  CallbackEnd();
705  }
706  }
_In_ DEVICE_RELATION_TYPE RelationType
Definition: wdfdevice.h:1059
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
#define NULL
Definition: types.h:112
PFN_WDF_DEVICE_RELATIONS_QUERY m_Method
void __inline CallbackStart(VOID)
Definition: fxcallback.hpp:64
void __inline CallbackEnd(VOID)
Definition: fxcallback.hpp:74

Referenced by FxPkgPnp::HandleQueryBusRelations(), and FxPkgPnp::HandleQueryDeviceRelations().

Member Data Documentation

◆ m_Method

PFN_WDF_DEVICE_RELATIONS_QUERY FxPnpDeviceRelationsQuery::m_Method

Definition at line 687 of file fxpnpcallbacks.hpp.

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


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