Previous: 4.47.2.35. SetStartPos To the Table of Contents Next: 4.47.2.37. Step
4.47.2.35. SetStartPos Table of Contents 4.47.2.37. Step

- 4.47.2.36. -
Table of Contents
4. Standard Units
4.47. MMedia - Multimedia Devices support unit
4.47.2. TMMedia Object Methods
4.47.2.36. SetTimeFormat


4.47.2.36. 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: 4.47.2.35. SetStartPos To the Table of Contents Next: 4.47.2.37. Step
4.47.2.35. SetStartPos Table of Contents 4.47.2.37. Step

- 4.47.2.36. -