Partager via


IMediaSample::GetActualDataLength (Compact 2013)

3/26/2014

This method retrieves the data length of the sample.

Syntax

HRESULT GetActualDataLength(void);

Parameters

None.

Return Value

Returns an HRESULT value that is the length.

Remarks

Although this is typed as returning an HRESULT value, it actually returns the length in bytes, not an error value.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IMediaSample Interface