|
|
|
|
|
MCIPositionFormat (Function) In french: MCIFormatPosition Fixes the format used to define the position in a media file (opened by MCIOpen). MCIOpen("Film.avi", "MyFilm") ... MCIPositionFormat("MyFilm", MciFormatTMSF) ... MCIClose("MyFilm")
Syntax
<Result> = MCIPositionFormat(<Media file or alias> , <Format> [, <Parameters> [, <Name of the message window>]])
<Result>: Boolean - True if the change of format was performed,
- False otherwise. To get the error number, use MCIErr.
To get more details on the error, use MCIMsgErr or ErrorInfo with the errMessage constant. The status report of the command is returned by MCIRetrieve.
<Media file or alias>: Character string Name of the media file to be used (AVI, MP3, etc.) or alias defined when opening the file (MCIOpen). <Format>: Character String constant Format of the position: | | MciFormatByte | Number of Bytes | MciFormatFrame | Number of Images | MciFormatHMS | Number of hours, minutes and seconds expressed as "hh:mm:ss". | MciFormatMS | Milliseconds | MciFormatMSF | Format: Minute, Second, Frame (":mm:ss:ff") | MciFormatTMSF | Format: Track, Minute, Second, Frame ("tt:mm:ss:ff") | MciFormatTrack | Number of Tracks |
<Parameters>: Optional character string Additional parameters if necessary. The MciWait constant can be added to this string. This constant is used to indicate that the program must wait for the end of the MCI command to run the rest of application. <Name of the message window>: Optional character string Name of the window used to intercept and manage the different messages sent by MMSYSTEM.DLL. These messages are in MM_xxxxxx format and can be retrieved with Event. You can for example get messages regarding the management of the CD ROM or Joystick.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|