Skip to content

Latest commit

 

History

History
84 lines (65 loc) · 4.23 KB

nc-d3d10umddi-pfnd3dwddm2_0ddi_queryvideocapabilities.md

File metadata and controls

84 lines (65 loc) · 4.23 KB
UID title description 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 tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NC:d3d10umddi.PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES
PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES (d3d10umddi.h)
Queries the driver for video capabilities. Required for Windows Display Driver Model (WDDM) 2.0 or later drivers.
12/09/2022
PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES callback function
PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES, PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES callback, d3d10umddi/pfnQueryVideoCapabilities, display.queryvideocapabilities, pfnQueryVideoCapabilities, pfnQueryVideoCapabilities callback function [Display Devices]
d3d10umddi.h
D3d10umddi.h
Desktop
Windows 10
Windows Server 2016
Windows
display
PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES
d3d10umddi/PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES
APIRef
kbSyntax
UserDefined
D3d10umddi.h
PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES

PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES callback function

-description

PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES queries the driver for its video capabilities. WDDM 2.0 or later drivers must implement this function.

-parameters

-param hDevice

[in] A handle to the display device (graphics context). The Direct3D runtime passed the user-mode driver this handle as the hDevice member of the D3DDDIARG_CREATEDEVICE structure at device creation.

-param QueryType

[in] A D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY value that indicates the type of data being queried.

-param DataSize

[in] Size in bytes of the data that pData points to. This value is dependent on the QueryType member. For example, if QueryType is D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY_DECODER_CAPS, set DataSize to sizeof(D3DWDDM2_0DDI_VIDEO_CAPABILITY_DECODER_CAPS).

-param pData

[in/out] Pointer to a structure containing both caller-provided input parameters and output parameters that are to be filled in by the driver. The type of structure depends on the value of QueryType.

Value of QueryType Structure that pData points to
D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY_DECODER_DOWNSAMPLING D3DWDDM2_0DDI_VIDEO_CAPABILITY_DECODER_DOWNSAMPLING
D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY_RECOMMEND_DECODER_DOWNSAMPLING D3DWDDM2_0DDI_VIDEO_CAPABILITY_RECOMMEND_DECODER_DOWNSAMPLING
D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY_DECODER_CAPS D3DWDDM2_0DDI_VIDEO_CAPABILITY_DECODER_CAPS
D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY_DECODER_DOWNSAMPLE_OUTPUT_FORMAT D3DWDDM2_0DDI_VIDEO_CAPABILITY_DECODER_DOWNSAMPLE_OUTPUT_FORMAT
D3DWDDM2_4DDI_VIDEO_CAPABILITY_QUERY_DECODER_HISTOGRAM D3DWDDM2_4DDI_VIDEO_CAPABILITY_DECODER_HISTOGRAM

-see-also

D3DWDDM2_0DDI_VIDEO_CAPABILITY_DECODER_CAPS

D3DWDDM2_0DDI_VIDEO_CAPABILITY_DECODER_DOWNSAMPLE_OUTPUT_FORMAT

D3DWDDM2_0DDI_VIDEO_CAPABILITY_DECODER_DOWNSAMPLING

D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY

D3DWDDM2_0DDI_VIDEO_CAPABILITY_RECOMMEND_DECODER_DOWNSAMPLING