Compartilhar via


CMediaSample::SetActualDataLength (Compact 2013)

3/26/2014

Sets the data length of the sample.

Syntax

HRESULT SetActualDataLength(
  long lLen 
);

Parameters

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

Return Value

Returns an HRESULT value.

Remarks

This member function implements the IMediaSample::SetActualDataLength method.

It sets the value of m_lActual to the value of lLen.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CMediaSample Class