Timer Reference Kernel Interface (Windows CE 5.0)

Send Feedback

The following table shows the programming elements exported to the kernel from the timer library.

Programming Elements Description
CurMSec This global variable indicates the number of milliseconds since boot.
OALTimerIntrHandler This function implements the timer interrupt handler.
OEMIdle This function is called by the kernel to place the CPU in the idle state when there are no threads ready to run.
pOEMUpdateRescheduleTime This function points to the function that reprograms the system timer.
pQueryPerformanceCounter Optional. This function points to the OEM implementation of the OEMQueryPerformanceCounter function. It should be set for platforms that provide timer functions with higher granularity than GetTickCount.
pQueryPerformanceFrequency Optional. This function points to the OEM implementation of the OEMQueryPerformanceFrequency function. It should be set for platforms that provide timer functions with higher granularity than GetTickCount.
SC_GetTickCount This function is called from the OAL and retrieves the number of milliseconds that have elapsed since Windows CE was started.

See Also

Timer Reference | Production-Quality OAL Components

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.