Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IDirectXVideoDecoder::ReleaseBuffer method

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

Syntax


HRESULT ReleaseBuffer(
  [in]  UINT BufferType
);

Parameters

BufferType [in]

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 codeDescription
S_OK

The method succeeded.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Dxva2api.h

See also

IDirectXVideoDecoder
DirectX Video Acceleration 2.0

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.