Expand Minimize

WDF_QUERY_INTERFACE_CONFIG_INIT function

[Applies to KMDF only]

The WDF_QUERY_INTERFACE_CONFIG_INIT function initializes a driver's WDF_QUERY_INTERFACE_CONFIG structure.

Syntax


VOID WDF_QUERY_INTERFACE_CONFIG_INIT(
  _Out_     PWDF_QUERY_INTERFACE_CONFIG InterfaceConfig,
  _In_      PINTERFACE Interface,
  _In_      const GUID *InterfaceType,
  _In_opt_  PFN_WDF_DEVICE_PROCESS_QUERY_INTERFACE_REQUEST EvtDeviceProcessQueryInterfaceRequest
);

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.

Return value

None

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.

Requirements

Minimum KMDF version

1.0

Header

Wdfqueryinterface.h (include Wdf.h)

See also

EvtDeviceProcessQueryInterfaceRequest
INTERFACE
WDF_QUERY_INTERFACE_CONFIG

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.