Bewerken

Delen via


PFND3DWDDM2_0DDI_VIDEOPROCESSORSETOUTPUTCOLORSPACE1 callback function (d3d10umddi.h)

Sets the color space information for the video processor output surface. This function must be implemented by Windows Display Driver Model (WDDM) 2.0, or later, drivers.

Syntax

PFND3DWDDM2_0DDI_VIDEOPROCESSORSETOUTPUTCOLORSPACE1 Pfnd3dwddm20DdiVideoprocessorsetoutputcolorspace1;

void Pfnd3dwddm20DdiVideoprocessorsetoutputcolorspace1(
  D3D10DDI_HDEVICE hDevice,
  D3D11_1DDI_HVIDEOPROCESSOR hVideoProcessor,
  D3DDDI_COLOR_SPACE_TYPE ColorSpace
)
{...}

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.

hVideoProcessor

A handle to the video processor object.

ColorSpace

Contains a D3DDDI_COLOR_SPACE_TYPE enumeration identifying the color space.

Return value

None

Remarks

The legacy VideoProcessorSetOutputColorSpacedevice driver interface (DDI) will not be called for WDDM 2.0 drivers.

Requirements

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

See also

D3DDDIARG_CREATEDEVICE

D3DDDI_COLOR_SPACE_TYPE

VideoProcessorSetOutputColorSpace