MCI_MAKE_HMS

Syntax

DWORD MCI_MAKE_HMS(hours, minutes, seconds)

This macro returns a time value in HMS (hours, minutes, seconds) format from the given hours, minutes, and seconds values.

Parameters

BYTE hours

Specifies the number of hours.

BYTE minutes

Specifies the number of minutes.

BYTE seconds

Specifies the number of seconds.

Return Value

The return value is a DWORD value containing the time in packed HMS format.

Comments

Time in HMS format is expressed as a DWORD with the least significant byte containing hours, the next least significant byte containing minutes, and the next least significant byte containing seconds. The most significant byte is unused.

See Also

MCI_HMS_MINUTE, MCI_HMS_SECOND, MCI_HMS_FRAME