Bewerken

Delen via


PFND3DDDI_DXVAHD_SETVIDEOPROCESSSTREAMSTATE callback function (d3dumddi.h)

The SetVideoProcessStreamState function sets the stream state for a video processor.

Syntax

PFND3DDDI_DXVAHD_SETVIDEOPROCESSSTREAMSTATE Pfnd3dddiDxvahdSetvideoprocessstreamstate;

HRESULT Pfnd3dddiDxvahdSetvideoprocessstreamstate(
  HANDLE unnamedParam1,
  const D3DDDIARG_DXVAHD_SETVIDEOPROCESSSTREAMSTATE *unnamedParam2
)
{...}

Parameters

unnamedParam1

unnamedParam2

hDevice [in]

A handle to the display device (graphics context).

pData [in]

A pointer to a D3DDDIARG_DXVAHD_SETVIDEOPROCESSSTREAMSTATE structure that describes how to change the stream state.

Return value

The SetVideoProcessStreamState function returns one of the following values:

Return code Description
S_OK The stream state is successfully set.
E_OUTOFMEMORY SetVideoProcessStreamState could not allocate the required memory for it to complete.

Requirements

Requirement Value
Minimum supported client SetVideoProcessStreamState is supported beginning with the Windows 7 operating system.
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_DXVAHD_SETVIDEOPROCESSSTREAMSTATE