Microsoft DirectX 8.1 (C++)

CMediaSample::GetActualDataLength

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

Syntax

LONG GetActualDataLength(void);

Return Value

Returns the length of the valid data, in bytes.

Remarks

The CMediaSample::m_lActual member variable specifies this property.

See Also