Freigeben über


AVStrMiniDeviceQueryInterface routine

AVStream calls a minidriver's AVStrMiniDeviceQueryInterface routine when it receives an IRP_MN_QUERY_INTERFACE.

Syntax

PFNKSDEVICEIRP AVStrMiniDeviceQueryInterface;

NTSTATUS AVStrMiniDeviceQueryInterface(
  _In_ PKSDEVICE Device,
  _In_ PIRP      Irp
)
{ ... }

Parameters

Return value

Your driver should return STATUS_SUCCESS or an appropriate error status.

Remarks

A driver or system component sends this IRP to get information about an interface exported by your driver. For more information about the IRP, see IRP_MN_QUERY_INTERFACE.

The minidriver specifies this routine's address in the QueryInterface member of its KSDEVICE_DISPATCH structure.

This routine is optional.

Requirements

Target platform

Desktop

Version

Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.

Header

Ks.h (include Ks.h)

See also

KSDEVICE_DISPATCH

IRP_MN_QUERY_INTERFACE

 

 

Send comments about this topic to Microsoft