MCI_MAKE_TMSF
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 |
|
); |
|
Parameters
tracks,
minutes, seconds, and frames
Number of
tracks, minutes, seconds, and frames.
Return Values
Returns the
time in packed TMSF format.
Remarks
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)))