Share via


dwReschedTime (Windows Embedded CE 6.0)

1/5/2010

This global variable stores the time, in ticks, when a reschedule event must be triggered by the OEM.

Syntax

extern volatile UINT32 dwReschedTime;

Parameters

None.

Return Value

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) (CurMSecdwReschedTime) >= 0, returns SYSINTR_NOP otherwise.
  • In OEMIdle, the amount of time calculated by OEM to go idle is (int) (dwRescheduleTimeCurMSec) and OEMIdle should set the timer interrupt accordingly. OEM should return immediately if the value is <= 0.

Requirements

Header Developer Implemented
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Required OAL Variables
OEMIdle
CurMSec