GetCurrentTime

Syntax

DWORD GetCurrentTime( )

This function retrieves the current Windows time. Windows time is the number of milliseconds that have elapsed since the system was booted.

This function has no parameters.

Return Value

The return value specifies the current time (in milliseconds).

Comments

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 system timer eventually overflows and resets to zero.