Microsoft DirectX 9.0

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