ReactOS 0.4.16-dev-340-g0540c21
wdfqueryinterface.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _WDF_QUERY_INTERFACE_CONFIG
 

Macros

#define WDF_EXTERN_C
 
#define WDF_EXTERN_C_START
 
#define WDF_EXTERN_C_END
 

Typedefs

typedef EVT_WDF_DEVICE_PROCESS_QUERY_INTERFACE_REQUEST * PFN_WDF_DEVICE_PROCESS_QUERY_INTERFACE_REQUEST
 
typedef struct _WDF_QUERY_INTERFACE_CONFIG WDF_QUERY_INTERFACE_CONFIG
 
typedef struct _WDF_QUERY_INTERFACE_CONFIGPWDF_QUERY_INTERFACE_CONFIG
 
typedef _Must_inspect_result_ _IRQL_requires_max_(PASSIVE_LEVEL) WDFAPI NTSTATUS(STDCALL *PFN_WDFDEVICEADDQUERYINTERFACE) (_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 
typedef _Must_inspect_result_ _In_ WDFDEVICE Device
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_QUERY_INTERFACE_CONFIG InterfaceConfig
 

Functions

WDF_EXTERN_C_START typedef _Function_class_ (EVT_WDF_DEVICE_PROCESS_QUERY_INTERFACE_REQUEST) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_PROCESS_QUERY_INTERFACE_REQUEST(_In_ WDFDEVICE Device
 
FORCEINLINE VOID WDF_QUERY_INTERFACE_CONFIG_INIT (_Out_ PWDF_QUERY_INTERFACE_CONFIG InterfaceConfig, _In_opt_ PINTERFACE Interface, _In_ CONST GUID *InterfaceType, _In_opt_ PFN_WDF_DEVICE_PROCESS_QUERY_INTERFACE_REQUEST EvtDeviceProcessQueryInterfaceRequest)
 
FORCEINLINE VOID WdfDeviceInterfaceReferenceNoOp (_In_ PVOID Context)
 
FORCEINLINE VOID WdfDeviceInterfaceDereferenceNoOp (_In_ PVOID Context)
 

Variables

WDF_EXTERN_C_START typedef _In_ LPGUID InterfaceType
 
WDF_EXTERN_C_START typedef _In_ LPGUID _Inout_ PINTERFACE ExposedInterface
 
WDF_EXTERN_C_START typedef _In_ LPGUID _Inout_ PINTERFACE _Inout_opt_ PVOID ExposedInterfaceSpecificData
 

Macro Definition Documentation

◆ WDF_EXTERN_C

#define WDF_EXTERN_C

Definition at line 38 of file wdfqueryinterface.h.

◆ WDF_EXTERN_C_END

#define WDF_EXTERN_C_END

Definition at line 40 of file wdfqueryinterface.h.

◆ WDF_EXTERN_C_START

#define WDF_EXTERN_C_START

Definition at line 39 of file wdfqueryinterface.h.

Typedef Documentation

◆ _IRQL_requires_max_

typedef _Must_inspect_result_ _IRQL_requires_max_(PASSIVE_LEVEL) WDFAPI NTSTATUS(STDCALL *PFN_WDFDEVICEADDQUERYINTERFACE)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals

Definition at line 152 of file wdfqueryinterface.h.

◆ Device

typedef _Must_inspect_result_ _In_ WDFDEVICE Device

Definition at line 159 of file wdfqueryinterface.h.

◆ InterfaceConfig

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
@ WdfDeviceAddQueryInterfaceTableIndex
Definition: wdffuncenum.h:253
_Must_inspect_result_ _In_ WDFDEVICE Device
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_QUERY_INTERFACE_CONFIG InterfaceConfig

Definition at line 161 of file wdfqueryinterface.h.

◆ PFN_WDF_DEVICE_PROCESS_QUERY_INTERFACE_REQUEST

typedef EVT_WDF_DEVICE_PROCESS_QUERY_INTERFACE_REQUEST* PFN_WDF_DEVICE_PROCESS_QUERY_INTERFACE_REQUEST

Definition at line 69 of file wdfqueryinterface.h.

◆ PWDF_QUERY_INTERFACE_CONFIG

◆ WDF_QUERY_INTERFACE_CONFIG

Function Documentation

◆ _Function_class_()

WDF_EXTERN_C_START typedef _Function_class_ ( EVT_WDF_DEVICE_PROCESS_QUERY_INTERFACE_REQUEST  )

◆ WDF_QUERY_INTERFACE_CONFIG_INIT()

FORCEINLINE VOID WDF_QUERY_INTERFACE_CONFIG_INIT ( _Out_ PWDF_QUERY_INTERFACE_CONFIG  InterfaceConfig,
_In_opt_ PINTERFACE  Interface,
_In_ CONST GUID InterfaceType,
_In_opt_ PFN_WDF_DEVICE_PROCESS_QUERY_INTERFACE_REQUEST  EvtDeviceProcessQueryInterfaceRequest 
)

Definition at line 131 of file wdfqueryinterface.h.

137{
139
141 InterfaceConfig->Interface = Interface;
142 InterfaceConfig->InterfaceType = InterfaceType;
143 InterfaceConfig->EvtDeviceProcessQueryInterfaceRequest =
144 EvtDeviceProcessQueryInterfaceRequest;
145}
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
Definition: wdffdo.h:465
WDF_EXTERN_C_START typedef _In_ LPGUID InterfaceType
struct _WDF_QUERY_INTERFACE_CONFIG WDF_QUERY_INTERFACE_CONFIG

◆ WdfDeviceInterfaceDereferenceNoOp()

FORCEINLINE VOID WdfDeviceInterfaceDereferenceNoOp ( _In_ PVOID  Context)

Definition at line 202 of file wdfqueryinterface.h.

205{
207}
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:325

◆ WdfDeviceInterfaceReferenceNoOp()

FORCEINLINE VOID WdfDeviceInterfaceReferenceNoOp ( _In_ PVOID  Context)

Definition at line 193 of file wdfqueryinterface.h.

Variable Documentation

◆ ExposedInterface

WDF_EXTERN_C_START typedef _In_ LPGUID _Inout_ PINTERFACE ExposedInterface

Definition at line 64 of file wdfqueryinterface.h.

Referenced by FxDeviceProcessQueryInterfaceRequest::Invoke().

◆ ExposedInterfaceSpecificData

WDF_EXTERN_C_START typedef _In_ LPGUID _Inout_ PINTERFACE _Inout_opt_ PVOID ExposedInterfaceSpecificData

Definition at line 66 of file wdfqueryinterface.h.

Referenced by FxDeviceProcessQueryInterfaceRequest::Invoke().

◆ InterfaceType