WORD timeGetSystemTime(lpTime, wSize)
This function retrieves the system time in milliseconds. The system time is the time elapsed since Windows was started.
LPMMTIME lpTime
Specifies a far pointer to an MMTIME data structure.
WORD wSize
Specifies the size of the MMTIME structure.
Returns zero. The system time is returned in the ms field of the MMTIME structure.
The time is always returned in milliseconds.
timeGetTime