다음을 통해 공유


Timer Events Database (Windows CE 5.0)

Send Feedback

The notification subsystem uses the kernel alarm to trigger time-based events. You can set the kernel alarm by calling the OEMSetAlarmTime function. Windows CE 3.0 provides a hard-coded timer resolution of 10 seconds for the kernel alarm. This hard-coded timer resolution prevents a CPU that has better resolution from taking advantage of that better resolution. Windows CE allows you to specify the timer resolution with a new kernel variable, dwNKAlarmResolutionMSec. You can use this variable to specify a resolution for the timer as short as 1 second. The default value of dwNKAlarmResolutionMSec is 10 seconds. To override this value, declare dwNKAlarmResolutionMSec in your OEM adaptation layer (OAL) and set the value of this variable to the desired resolution in your implementation of the OEMInit function. For more information about the OAL, see OEM Adaptation Layer. For more information about implementing OEMInit, see Implementing the OEMInit Function.

See Also

Using the Base Notification Engine

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.