// d3dkmddi.h
typedef struct _DXGKARG_QUERYVIDPNHWCAPABILITY {
[in] IN D3DKMDT_HVIDPN hFunctionalVidPn;
[in] IN D3DDDI_VIDEO_PRESENT_SOURCE_ID SourceId;
[in] IN D3DDDI_VIDEO_PRESENT_TARGET_ID TargetId;
[out] OUT D3DKMDT_VIDPN_HW_CAPABILITY VidPnHWCaps;
} DXGKARG_QUERYVIDPNHWCAPABILITY;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGKARG_QUERYVIDPNHWCAPABILITY structure is used by the display miniport driver to describe the hardware capabilities of a functional VidPN in response to a call to the DxgkDdiQueryVidPnHWCapability function.
hFunctionalVidPn [in]A handle to a functional VidPN object for which the hardware capabilities are being queried.
SourceId [in]An integer that identifies a video present source on the display adapter.
TargetId [in]An integer that identifies a video present target on the display adapter.
VidPnHWCaps [out]A D3DKMDT_VIDPN_HW_CAPABILITY structure that describes the capabilities of the display miniport driver to perform display operations without dedicated GPU hardware support.
The D3DDDI_VIDEO_PRESENT_SOURCE_ID and D3DDDI_VIDEO_PRESENT_TARGET_ID data types are defined in D3dukmdt.h.
Video present source identifiers are assigned by the operating system. DxgkDdiStartDevice, implemented by the display miniport driver, returns the number N of video present sources supported by the display adapter. Then the operating system assigns identifiers 0, 1, 2, ... N - 1.
Video present target identifiers are assigned by the display miniport driver. DxgkDdiQueryChildRelations, implemented by the display miniport driver, returns an array of DXGK_CHILD_DESCRIPTOR structures, each of which contains an identifier.
For more information about video present sources and targets, see Introduction to Video Present Networks.