Microsoft DirectX 9.0 |
The SetActualDataLength method sets the length of the valid data in the buffer.
Syntax
HRESULT SetActualDataLength(
long lLen
);
Parameters
lLen
Length of the data in the media sample, in bytes.
Return Value
Returns an HRESULT value. Possible values include those shown in the following table.
Value | Description |
S_OK | Success. |
VFW_E_BUFFER_OVERFLOW. | Length specified in lLen is larger than the buffer size. |
See Also