Bewerken

Delen via


PFND3DDDI_DXVAHD_GETVIDEOPROCESSSTREAMSTATEPRIVATE callback function (d3dumddi.h)

The GetVideoProcessStreamStatePrivate function retrieves the private stream-state data for a video processor.

Syntax

PFND3DDDI_DXVAHD_GETVIDEOPROCESSSTREAMSTATEPRIVATE Pfnd3dddiDxvahdGetvideoprocessstreamstateprivate;

HRESULT Pfnd3dddiDxvahdGetvideoprocessstreamstateprivate(
  HANDLE unnamedParam1,
  D3DDDIARG_DXVAHD_GETVIDEOPROCESSSTREAMSTATEPRIVATE *unnamedParam2
)
{...}

Parameters

unnamedParam1

unnamedParam2

hDevice [in]

A handle to the display device (graphics context).

pData [in, out]

A pointer to a D3DDDIARG_DXVAHD_GETVIDEOPROCESSSTREAMSTATEPRIVATE structure that describes the private stream-state data to retrieve.

Return value

The GetVideoProcessStreamStatePrivate function returns one of the following values:

Return code Description
S_OK The stream-state data is successfully retrieved.
E_OUTOFMEMORY GetVideoProcessStreamStatePrivate could not allocate the required memory for it to complete.

Requirements

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

See also

D3DDDIARG_DXVAHD_GETVIDEOPROCESSSTREAMSTATEPRIVATE