GetCurrentTime

2.x

  DWORD GetCurrentTime(void)    

The GetCurrentTime function retrieves the number of milliseconds that have elapsed since Windows was started.

Parameters

This function has no parameters.

Return Value

The return value is the number of milliseconds that have elapsed since Windows was started, if the function was successful.

Comments

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.

See Also

GetTickCount