Windows Multimedia DDK (mddkqh.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
MCI_MAKE_HMS
◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
MCI_MAKE_HMS
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_HOUR, MCI_HMS_MINUTE, MCI_HMS_SECOND
-♦-