The MCI_MAKE_TMSF macro creates a time value in packed tracks/minutes/seconds/frames (TMSF) format from the given tracks, minutes, seconds, and frames values.
DWORD MCI_MAKE_TMSF(
BYTE tracks,
BYTE minutes,
BYTE seconds,
BYTE frames
);
Returns the time in packed TMSF format.
Time in TMSF format is expressed as a doubleword value with the least significant byte containing tracks, the next least significant byte containing minutes, the next least significant byte containing seconds, and the most significant byte containing frames.
The MCI_MAKE_TMSF macro is defined as follows:
#define MCI_MAKE_TMSF(t, m, s, f) ((DWORD)(((BYTE)(t) | \
((WORD)(m) << 8)) | \
(((DWORD)(BYTE)(s) | \
((WORD)(f) << 8)) << 16)))
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mmsystem.h.