GetTickCount

This function retrieves the number of milliseconds that have elapsed since Windows CE was started.

At a Glance

Header file: Winbase.h
Windows CE versions: 1.0 and later

Syntax

DWORD GetTickCount( void );

Return Values

The number of milliseconds that have elapsed since the system was started indicates success.

Remarks

The the resolution of the system timer is based on the OEMs setting. Check with the OEM for details.

The elapsed time is stored as a DWORD value. Therefore, the time will wrap around to zero if the system is run continuously for 49.7 days.

See Also

GetSystemTime, SetSystemTime