Bewerken

Delen via


PFND3DWDDM2_0DDI_VIDEOPROCESSORSETSTREAMMIRROR callback function (d3d10umddi.h)

Indicates whether the stream should be flipped vertically or horizontally. Optional for Windows Display Driver Model (WDDM) 2.0, or later, drivers.

Syntax

PFND3DWDDM2_0DDI_VIDEOPROCESSORSETSTREAMMIRROR Pfnd3dwddm20DdiVideoprocessorsetstreammirror;

void Pfnd3dwddm20DdiVideoprocessorsetstreammirror(
  D3D10DDI_HDEVICE hDevice,
  D3D11_1DDI_HVIDEOPROCESSOR hVideoProcessor,
  UINT StreamIndex,
  BOOL Enable,
  BOOL FlipHorizontal,
  BOOL FlipVertical
)
{...}

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

Handle to the video processor object.

StreamIndex

Indicates the input stream.

Enable

Indicates whether mirroring support is enabled or disabled.

FlipHorizontal

Indicates whether the input stream should be flipped horizontally.

Note  This should be ignored when Enable is FALSE.
 

FlipVertical

Indicates whether the input stream should be flipped vertically.

Note  This should be ignored when Enable is FALSE.
 

Return value

None

Remarks

Operations are conceptually applied in the following order:

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