Previous: SetStartPos To the Table of Content Next: Step

- 4.47.2.36 -
Standard Units
MMedia Unit
TMMedia Object Methods

TMMedia.SetTimeFormat

Targets: Win32 only


MMedia Unit

Sets the time format used to obtain and specify position information.

Declaration:
  procedure SetTimeFormat(TimeFormat: DWORD);
Remarks: Not all formats are supported by every device. When trying to set an unsupported format, the assignment is ignored. The current timing information is always passed in as 4-byte DWORD values.

ValueTime format
MCI_FORMAT_MILLISECONDSMilliseconds are stored as a 4-byte variable.
MCI_FORMAT_HMSHours, minutes, and seconds are packed into a 4-byte variable.
MCI_FORMAT_MSFMinutes, seconds, and frames are packed into a 4-byte variable.
MCI_FORMAT_FRAMESFrames are stored as a 4-byte variable.
MCI_FORMAT_SMPTE_2424-frame SMPTE packs values in a 4-byte variable.
MCI_FORMAT_SMPTE_2525-frame SMPTE packs values in a 4-byte variable.
MCI_FORMAT_SMPTE_3030-frame SMPTE packs values in a 4-byte variable.
MCI_FORMAT_SMPTE_30DROP30-drop-frame SMPTE packs data into a 4-byte variable.
MCI_FORMAT_BYTESBytes are stored as a 4-byte variable
MCI_FORMAT_SAMPLESSamples are stored as a 4-byte integer variable
MCI_FORMAT_TMSFTracks, minutes, seconds, and frames are packed in the 4-byte variable.



Previous: SetStartPos To the Table of Content Next: Step
SetStartPos Table of Content Step

- 4.47.2.36 -