Skip to content

Latest commit

 

History

History
91 lines (68 loc) · 3.52 KB

ns-video-_query_interface.md

File metadata and controls

91 lines (68 loc) · 3.52 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:video._QUERY_INTERFACE
_QUERY_INTERFACE (video.h)
The QUERY_INTERFACE structure describes the interface being requested.
display\query_interface.htm
display
05/10/2018
QUERY_INTERFACE structure
*PQUERY_INTERFACE, PQUERY_INTERFACE, PQUERY_INTERFACE structure pointer [Display Devices], QUERY_INTERFACE, QUERY_INTERFACE structure [Display Devices], Video_Structs_facaef96-c0d9-4695-8541-65e5e430f182.xml, _QUERY_INTERFACE, display.query_interface, video/PQUERY_INTERFACE, video/QUERY_INTERFACE
video.h
Video.h
Windows
Windows
QUERY_INTERFACE, *PQUERY_INTERFACE
_QUERY_INTERFACE
video/_QUERY_INTERFACE
PQUERY_INTERFACE
video/PQUERY_INTERFACE
QUERY_INTERFACE
video/QUERY_INTERFACE
APIRef
kbSyntax
HeaderDef
video.h
_QUERY_INTERFACE
PQUERY_INTERFACE
QUERY_INTERFACE

_QUERY_INTERFACE structure

-description

The QUERY_INTERFACE structure describes the interface being requested.

-struct-fields

-field InterfaceType

Pointer to a GUID that identifies the interface being requested. If the miniport driver does not support the specified InterfaceType, it should fail the call and return immediately.

The parent generates this GUID with uuidgen.exe. See Defining and Exporting New GUIDs for details.

-field Size

Specifies the size in bytes of the INTERFACE structure to which Interface points. The miniport driver must not return an INTERFACE structure larger than Size bytes.

-field Version

Specifies the version of the interface being requested.

If a parent supports more than one version of an interface, its driver should return the specified version or, if possible, the closest supported version without exceeding the requested version. It is the querying driver's responsibility to examine the returned Version and determine what to do based on that value.

-field Interface

Pointer to an INTERFACE structure in which the miniport driver returns the requested interface information. The querying driver is responsible for allocating this structure before calling HwVidQueryInterface.

-field InterfaceSpecificData

Specifies additional information about the interface being requested. Typically, this member is NULL, and the InterfaceType and Version members are sufficient for the parent to identify the interface being requested.

-field DeviceUid

-remarks

The QueryInterface parameter of the video miniport driver's HwVidQueryInterface function is a pointer to a QUERY_INTERFACE structure.

-see-also

HwVidQueryInterface