Microsoft DirectX 8.1 (C++) |
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 Value
Returns one of the following values.
Return code | Description |
S_OK | Success. |
VFW_E_BUFFER_OVERFLOW | The buffer is not big enough. |
See Also