Click to Rate and Give Feedback
MSDN
MSDN Library
Collapse All/Expand All Collapse All
SC_GetTickCount
Windows Mobile Not SupportedWindows Embedded CE Supported
8/27/2008

This function is called from the OAL and retrieves the number of milliseconds that have elapsed since Windows Embedded CE was started.

DWORD SC_GetTickCount(void);

None.

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.

Aa915118.note(en-US,WinEmbedded.60).gifNote:
The return value must be in sync with CurMSec. The return value must be CurMSec or CurMSec + 1 if the timer tick is shifted by more than 1 ms due to a timer reprogram in OEMIdle.

An OEM should always return CurMSec if OEMIdle never reprograms a timer.

Headerkernel.h
LibraryNk.lib
Windows Embedded CEWindows CE .NET 4.0 and later
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker