Bewerken

Delen via


PFND3D11_1DDI_VIDEOPROCESSORSETOUTPUTEXTENSION callback function (d3d10umddi.h)

Sets private state data for a video processor from an application.

Syntax

PFND3D11_1DDI_VIDEOPROCESSORSETOUTPUTEXTENSION Pfnd3d111DdiVideoprocessorsetoutputextension;

HRESULT Pfnd3d111DdiVideoprocessorsetoutputextension(
  D3D10DDI_HDEVICE unnamedParam1,
  D3D11_1DDI_HVIDEOPROCESSOR unnamedParam2,
  const GUID *unnamedParam3,
  UINT unnamedParam4,
  void *unnamedParam5
)
{...}

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

hVideoProcessor [in]

A handle to the video processor object that was created through a call to the CreateVideoProcessor function.

unnamedParam3

pGuid [in]

A pointer to a GUID that identifies the private state data. The meaning of this GUID is defined by the graphics driver.

unnamedParam4

DataSize [in]

The size, in bytes, of the private state data in the buffer referenced by the pData parameter.

unnamedParam5

pData [in, out]

A pointer to a buffer that contains the private state data.

Note  The Direct3D runtime does not validate the private state data in the buffer before it calls the VideoProcessorSetOutputExtension function
 

Return value

VideoProcessorSetOutputExtension returns one of the following values:

Return code Description
S_OK The private state data was set successfully.
D3DDDIERR_DEVICEREMOVED The graphics adapter was removed.
E_FAIL The display miniport driver cannot set the requested private state data for the video processor.
E_OUTOFMEMORY Memory was not available to complete the operation.

Requirements

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

See also

CreateVideoProcessor