DWORD GetCurrentTime(VOID) |
The GetCurrentTime function retrieves the number of milliseconds that have elapsed since Windows was started.
This function has no parameters.
The return value is the number of milliseconds that have elapsed since Windows was started, if the function was successful.
The GetCurrentTime function is identical to the GetTickCount function. Applications should use the GetTickCount function, since its name matches more closely with what the function does.
The GetCurrentTime and GetMessageTime functions return different times. GetMessageTime returns the Windows time when the given message was created, not the current Windows time.
The internal timer will wrap around to zero if Windows is run continuously for approximately 49 days.
GetMessageTime, GetSystemTime, GetTickCount, SetSystemTime