|
MCI_MAKE_HMS
The MCI_MAKE_HMS macro creates a time value in packed hours/minutes/seconds (HMS) format from
the given hours, minutes, and seconds values.
DWORD MCI_MAKE_HMS(
BYTE hours,
|
| BYTE minutes,
|
| BYTE seconds
|
| );
|
|
Parameters
hours, minutes, and seconds
Number of hours, minutes, and seconds.
Return Values
Returns the time in packed HMS format.
Remarks
Time in HMS format is expressed as a doubleword value 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.
The MCI_MAKE_HMS macro is defined as follows:
#define MCI_MAKE_HMS(h, m, s) ((DWORD)(((BYTE)(h) | \
((WORD)(m) << 8)) | \
(((DWORD)(BYTE)(s)) << 16)))
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|