dwReschedTime (Windows CE 5.0)
This global variable stores the time, in ticks, when a reschedule event must be triggered by the OEM.
extern volatile UINT32 dwReschedTime;
Parameters
None.
Return Values
None.
Remarks
The OEM uses this variable in the OEMIdle function and OEM Timer ISR.
dwReschedTime and CurMSec provide all needed information to schedule a timer interrupt.
- In TimerISR, an OEM returns SYSINTR_RESCHED if (int) (CurMSec – dwReschedTime) >= 0, returns SYSINTR_NOP otherwise.
- In OEMIdle, the amount of time calculated by OEM to go idle is (int) (dwRescheduleTime – CurMSec) and OEMIdle should set the timer interrupt accordingly. OEM should return immediately if the value is <= 0.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Developer-defined.
See Also
Send Feedback on this topic to the authors