timeGetSystemTime function
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.
Syntax
MMRESULT timeGetSystemTime( LPMMTIME pmmt, UINT cbmmt );
Parameters
Return value
If successful, returns TIMERR_NOERROR. Otherwise, returns an error code.
Remarks
The system time is returned in the ms member of the MMTIME structure.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also