ReactOS  0.4.15-dev-3299-gbe8e5fc
FxDeviceProcessQueryInterfaceRequest Class Reference

#include <fxqueryinterface.hpp>

Inheritance diagram for FxDeviceProcessQueryInterfaceRequest:
Collaboration diagram for FxDeviceProcessQueryInterfaceRequest:

Public Member Functions

 FxDeviceProcessQueryInterfaceRequest (VOID)
 
_Must_inspect_result_ NTSTATUS Invoke (__in WDFDEVICE Device, __in LPGUID InterfacType, __out PINTERFACE ExposedInterface, __in_opt PVOID ExposedInterfaceSpecificData)
 
- 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_PROCESS_QUERY_INTERFACE_REQUEST m_Method
 

Additional Inherited Members

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

Detailed Description

Definition at line 28 of file fxqueryinterface.hpp.

Constructor & Destructor Documentation

◆ FxDeviceProcessQueryInterfaceRequest()

FxDeviceProcessQueryInterfaceRequest::FxDeviceProcessQueryInterfaceRequest ( VOID  )
inline

Definition at line 32 of file fxqueryinterface.hpp.

34  :
35  m_Method(NULL)
36  {
37  }
PFN_WDF_DEVICE_PROCESS_QUERY_INTERFACE_REQUEST m_Method
#define NULL
Definition: types.h:112

Member Function Documentation

◆ Invoke()

_Must_inspect_result_ NTSTATUS FxDeviceProcessQueryInterfaceRequest::Invoke ( __in WDFDEVICE  Device,
__in LPGUID  InterfacType,
__out PINTERFACE  ExposedInterface,
__in_opt PVOID  ExposedInterfaceSpecificData 
)
inline

Definition at line 41 of file fxqueryinterface.hpp.

47  {
48  if (m_Method != NULL) {
50 
51  CallbackStart();
53  InterfacType,
56  CallbackEnd();
57 
58  return status;
59  }
60  else {
61  return STATUS_SUCCESS;
62  }
63  }
PFN_WDF_DEVICE_PROCESS_QUERY_INTERFACE_REQUEST m_Method
LONG NTSTATUS
Definition: precomp.h:26
WDF_EXTERN_C_START typedef _In_ LPGUID _Inout_ PINTERFACE ExposedInterface
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
#define NULL
Definition: types.h:112
WDF_EXTERN_C_START typedef _In_ LPGUID _Inout_ PINTERFACE _Inout_opt_ PVOID ExposedInterfaceSpecificData
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

Member Data Documentation

◆ m_Method


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