Microsoft DirectX 8.1 (C++)

IAMVideoAcceleratorNotify::SetUncompSurfacesInfo

The SetUncompSurfacesInfo method sets the uncompressed buffer information.

Syntax

HRESULT SetUncompSurfacesInfo(
  DWORD  dwActualUncompSurfacesAllocated
);

Parameters

dwActualUncompSurfacesAllocated

[in] The number of surfaces allocated.

Return Values

Returns an HRESULT value that depends on the implementation of the interface. HRESULT can include one of the following standard constants, or other values not listed.

Return code Description
E_FAIL Failure.
E_INVALIDARG Argument is invalid.
E_NOTIMPL Method is not supported.
E_POINTER Null pointer argument.
S_OK Success.

Remarks

Calling this method tells the video decoder how many decompressed surfaces are actually allocated.

See Also