Previous: GetStatus To the Table of Content Next: GetTrackFormat

- 4.47.2.12 -
Standard Units
MMedia Unit
TMMedia Object Methods

TMMedia.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: GetStatus To the Table of Content Next: GetTrackFormat
GetStatus Table of Content GetTrackFormat

- 4.47.2.12 -