timeGetSystemTime
The timeGetSystemTime function retrieves the system time, in milliseconds. The system time is the time elapsed since Windows was started. This function works very much like the timeGetTime function. See timeGetTime for details of these functions' operation.
MMRESULT timeGetSystemTime(
LPMMTIME pmmt,
UINT cbmmt
);
Parameters
pmmt
Pointer to an MMTIME structure.
cbmmt
Size, in bytes, of the MMTIME structure.
Return Values
Returns TIMERR_NOERROR. The system time is returned in the ms member of the MMTIME structure.
Requirements
** Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
** Windows 95/98/Me:** Included in Windows 95 and later.
** Header:** Declared in Mmsystem.h; include Windows.h.
** Library:** Use Winmm.lib.
See Also
Multimedia Timers, Multimedia Timer Functions, timeGetTime, MMTIME