IDirectXVideoDecoder::ReleaseBuffer method (dxva2api.h)

Releases a buffer that was obtained by calling IDirectXVideoDecoder::GetBuffer.

Syntax

HRESULT ReleaseBuffer(
  [in] UINT BufferType
);

Parameters

[in] BufferType

The type of buffer to release. Specify the same value that was used in the BufferType parameter of the GetBuffer method.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header dxva2api.h

See also

DirectX Video Acceleration 2.0

IDirectXVideoDecoder