Export (0) Print
Expand All

CMediaSample.GetActualDataLength method

The GetActualDataLength method retrieves the length of the valid data in the buffer. This method implements the IMediaSample::GetActualDataLength method.

Syntax


LONG GetActualDataLength();

Parameters

This method has no parameters.

Return value

Returns the length of the valid data, in bytes.

Remarks

The CMediaSample::m_lActual member variable specifies this property.

Requirements

Header

Amfilter.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CMediaSample Class

 

 

Community Additions

ADD
Show:
© 2014 Microsoft