MediaFileDecoder.FilePositionGet method |
|
Remarks
Obtains the current position set into the decoded media file. The current position can be modified through the MediaFileDecoder.FilePositionSet method.
For details about management of media files decoding, refer to the How to decode media files tutorial.
Syntax
[Visual Basic] control.MediaFileDecoder.FilePositionGet ( nPosition as Long, nPositionUnit as enumDecodePositionUnit ) as enumErrorCodes |
[C++] short control.MediaFileDecoder.FilePositionGet ( long *nPosition, short nPositionUnit ); |
Parameter |
Description |
||||||||||||
|
|
||||||||||||
nPosition |
Reference that, on return from the method call, will contain the position expressed in the same unit set into the nPositionUnit parameter below. |
||||||||||||
nPositionUnit |
The unit of measure used for determining the nPosition parameter above. Supported values are the following:
|
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. |