MCI_HMS_HOUR

Syntax

BYTE MCI_HMS_HOUR(dwHMS)

This macro returns the hours field from a DWORD argument containing packed HMS (hours, minutes, seconds) information.

Parameters

DWORD dwHMS

Specifies the time in HMS format.

Return Value

The return value is the hours field of the given argument.

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_MAKE_HMS