PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES callback function

Queries the driver for video capabilities. Required for Windows Display Driver Model (WDDM) 2.0 or later drivers.

Syntax

PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES Pfnd3dwddm20DdiQueryvideocapabilities;

void Pfnd3dwddm20DdiQueryvideocapabilities(
  D3D10DDI_HDEVICE hDevice,
  D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY QueryType,
  UINT DataSize,
  VOID *pData
)
{...}

Parameters

hDevice

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

Specifies the D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY value indicating the type of data being queried.

DataSize

Specifies the size of the pData member. This is dependent on the QueryType member.

pData

Pointer to a structure containing data further identifying input parameters and output parameters to be filled in by the driver. The following structures are supported for the following query types:

pData.D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY_DECODER_CAPS

pData points to a D3DWDDM2_0DDI_VIDEO_DECODER_CAPS structure.

pData.D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY_DECODER_DOWNSAMPLING

pData points to a D3DWDDM2_0DDI_VIDEO_CAPABILITY_DECODER_DOWNSAMPLING structure.

pData.D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY_RECOMMENDED_DECODER_DOWNSAMPLING

pData points to a D3DWDDM2_0DDI_VIDEO_CAPABILITY_RECOMMEND_DECODER_DOWNSAMPLING structure.

Return Value

This callback function does not return a value.

Requirements

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See Also

D3DWDDM2_0DDI_VIDEO_CAPABILITY_DECODER_DOWNSAMPLING

D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY

D3DWDDM2_0DDI_VIDEO_CAPABILITY_RECOMMEND_DECODER_DOWNSAMPLING

D3DWDDM2_0DDI_VIDEO_DECODER_CAPS