WDF_QUERY_INTERFACE_CONFIG_INIT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfqueryinterface.h

VOID WDF_QUERY_INTERFACE_CONFIG_INIT(
  [out]          PWDF_QUERY_INTERFACE_CONFIG                    InterfaceConfig,
  [in]           PINTERFACE                                     Interface,
  [in]           const GUID                                     *InterfaceType,
  [in, optional] PFN_WDF_DEVICE_PROCESS_QUERY_INTERFACE_REQUEST EvtDeviceProcessQueryInterfaceRequest
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfqueryinterface-wdf_query_interface_config_init)

WDF_QUERY_INTERFACE_CONFIG_INIT function

Description

[Applies to KMDF only]

The WDF_QUERY_INTERFACE_CONFIG_INIT function initializes a driver's WDF_QUERY_INTERFACE_CONFIG structure.

Parameters

InterfaceConfig [out]

A pointer to the driver's WDF_QUERY_INTERFACE_CONFIG structure.

Interface [in]

A pointer to an INTERFACE structure.

InterfaceType [in]

A pointer to the GUID that identifies the interface.

EvtDeviceProcessQueryInterfaceRequest [in, optional]

A pointer to the driver's EvtDeviceProcessQueryInterfaceRequest event callback function, which is called when another driver requests the interface.

Remarks

For more information about driver-defined interfaces, see Using Driver-Defined Interfaces.

Examples

For a code example that uses WDF_QUERY_INTERFACE_CONFIG_INIT, see WdfDeviceAddQueryInterface.

See also

EvtDeviceProcessQueryInterfaceRequest

INTERFACE

WDF_QUERY_INTERFACE_CONFIG