Share via


IAMMediaTypeSample::SetActualDataLength

 
Microsoft DirectShow 9.0

IAMMediaTypeSample::SetActualDataLength

  • Note   This interface is deprecated. New applications should not use it.

The SetActualDataLength method sets the sample's data length.

Syntax

  HRESULT SetActualDataLength(
  long lActual
);

Parameters

lActual

Length of the data in the media sample, in bytes.

Return Values

Returns one of the following values.

Return code Description
S_OK Success.
VFW_E_BUFFER_OVERFLOW The buffer is not big enough.

See Also