SC_GetTickCount (Windows CE 5.0)
This function is called from the OAL and retrieves the number of milliseconds that have elapsed since Windows CE was started.
The number of milliseconds that have elapsed since the system was started indicates success.
The resolution of the system timer is based on the OEM's setting. Check with the OEM for details.
The elapsed time is stored as a DWORD value. Therefore, the time wraps around to 0 if the system is run continuously for 49.7 days.
An OEM should always return CurMSec if OEMIdle never reprograms a timer.
OS Versions: Windows CE .NET 4.0 and later.
Link Library: Nk.lib.
Send Feedback on this topic to the authors