PFND3D11_1DDI_VIDEOPROCESSORGETOUTPUTEXTENSION callback function

Returns private state data from a video processor to an application.

Syntax

PFND3D11_1DDI_VIDEOPROCESSORGETOUTPUTEXTENSION Pfnd3d111DdiVideoprocessorgetoutputextension;

HRESULT Pfnd3d111DdiVideoprocessorgetoutputextension(
  D3D10DDI_HDEVICE Arg1,
  D3D11_1DDI_HVIDEOPROCESSOR Arg2,
  const GUID *Arg3,
  UINT Arg4,
  void *Arg5
)
{...}

Parameters

Arg1

hDevice [in]

A handle to the display device (graphics context).

Arg2

hVideoProcessor [in]

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

Arg3

pGuid [in]

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

Arg4

DataSize [in]

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

Arg5

pData [in, out]

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

Return Value

VideoProcessorGetOutputExtension returns one of the following values:

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

Remarks

The Microsoft Direct3D runtime does not validate any parameter data before it calls the VideoProcessorSetOutputExtension function.

Requirements

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

See Also

CreateVideoProcessor