MediaFileDecoder.FileChunkLengthGet method |
|
Remarks
Obtains the length of a portion of the decoded media file.
For details about management of media files decoding, refer to the How to decode media files tutorial.
Syntax
[Visual Basic] control.MediaFileDecoder.FileLengthGet ( nStartPosition as Long, nEndPosition as Long, nLength as Long ) as enumErrorCodes |
[C++] short control.MediaFileDecoder.FileLengthGet ( long nStartPosition, long nEndPosition, long *nLength ); |
Parameter |
Description |
|
|
nStartPosition |
Start position expressed in milliseconds |
nEndPosition |
End position expressed in milliseconds |
nLength |
Reference that, on return from the method call, will contain the length in bytes of the given portion of decoded media file. |
Return value
Value |
Meaning |
|
|
enumErrorCodes.NOERROR (0) |
The method call successful. |
Negative value |
An error occurred: see the LastError property for further error details or for a list of the possible error values. |