timeGetSystemTime

  MMRESULT timeGetSystemTime(lpTime, wSize)    
  LPMMTIME lpTime;    
  UINT wSize;    

The timeGetSystemTime function retrieves the system time in milliseconds. The system time is the time elapsed since Windows was started.

Parameters

lpTime

Specifies a far pointer to an MMTIME data structure.

wSize

Specifies the size of the MMTIME structure.

Return Value

Returns zero. The system time is returned in the ms field of the MMTIME structure.

Comments

The time is always returned in milliseconds.

See Also

timeGetTime