Partager via


dwReschedTime

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

Extern DWORD dwReschedTime;

Remarks

The OEM uses this variable in the OEMIdle function and OEM Timer ISR.

dwReschedTime and CurMSec provide all the 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

OS Versions: Windows CE .NET 4.0 and later.
Header: Fwpc.c.

See Also

OEMIdle | CurMSec

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.