// d3d10umddi.h
PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES Pfnd3dwddm20DdiQueryvideocapabilities;
VOID Pfnd3dwddm20DdiQueryvideocapabilities(
D3D10DDI_HDEVICE hDevice,
D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY QueryType,
UINT DataSize,
VOID *pData
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES queries the driver for its video capabilities. WDDM 2.0 or later drivers must implement this function.
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.
QueryType[in] A D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY value that indicates the type of data being queried.
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).
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 |
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