| Microsoft DirectX 9.0 |
The SetActualDataLength method sets the sample's data length.
Syntax
HRESULT SetActualDataLength(
long lActual
);
Parameters
lActual
Length of the data in the media sample, in bytes.
Return Values
Returns one of the following values.
| Return code | Description |
| S_OK | Success. |
| VFW_E_BUFFER_OVERFLOW | The buffer is not big enough. |
See Also