IDXVAHD_VideoProcessor::GetVideoProcessStreamState method (dxvahd.h)

Gets the value of a state parameter for an input stream on a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.

Syntax

HRESULT GetVideoProcessStreamState(
  [in]  UINT                StreamNumber,
  [in]  DXVAHD_STREAM_STATE State,
  [in]  UINT                DataSize,
  [out] void                *pData
);

Parameters

[in] StreamNumber

The zero-based index of the input stream. To get the maximum number of streams, call IDXVAHD_Device::GetVideoProcessorDeviceCaps and check the MaxStreamStates member of the DXVAHD_VPDEVCAPS structure.

[in] State

The state parameter to query, specified as a member of the DXVAHD_STREAM_STATE enumeration.

[in] DataSize

The size, in bytes, of the buffer pointed to by pData.

[out] pData

A pointer to a buffer allocated by the caller. The method copies the state data into the buffer. The buffer must be large enough to hold the data structure that corresponds to the state parameter. For more information, see DXVAHD_STREAM_STATE.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header dxvahd.h

See also

DXVA-HD

IDXVAHD_VideoProcessor