다음을 통해 공유


dwReschedTime (Windows CE 5.0)

Send Feedback

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) (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: Developer-defined.

See Also

OEMIdle | CurMSec

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.