MCI_MAKE_TMSF

Syntax

DWORD MCI_MAKE_TMSF(tracks, minutes, seconds, frames)

This macro returns a time value in TMSF (tracks, minutes, seconds, frames) format from the given tracks, minutes, seconds, and frames values.

Parameters

BYTE tracks

Specifies the number of tracks.

BYTE minutes

Specifies the number of minutes.

BYTE seconds

Specifies the number of seconds.

BYTE frames

Specifies the number of frames.

Return Value

The return value is a DWORD value containing the time in packed TMSF (tracks, minutes, seconds, frames) format.

Comments

Time in TMSF format is expressed as a DWORD 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.

See Also

MCI_TMSF_MINUTE, MCI_TMSF_SECOND, MCI_TMSF_FRAME