Previous: 4.47.2.11. GetStatus To the Table of Contents Next: 4.47.2.13. GetTrackFormat
4.47.2.11. GetStatus Table of Contents 4.47.2.13. GetTrackFormat

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


4.47.2.12. GetTimeFormat

Targets: Win32 only


MMedia Unit

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

Declaration:
  function GetTimeFormat: 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 as a 4-byte DWORD value.

The following table lists the possible return values for of the GetTimeFormat function:

ValueTime format
MCI_FORMAT_MILLISECONDSMilliseconds are stored as a 4-byte variable.
MCI_FORMAT_HMSHours, minutes, and seconds packed into a 4-byte variable.
MCI_FORMAT_MSFMinutes, seconds, and frames 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 the 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.11. GetStatus To the Table of Contents Next: 4.47.2.13. GetTrackFormat
4.47.2.11. GetStatus Table of Contents 4.47.2.13. GetTrackFormat

- 4.47.2.12. -