次の方法で共有


dwPartialDiffMSec

This global variable is used in conjunction with DiffMSec to indicate the amount of time that has passed since the last time the scheduler has examined the sleep queue. DiffMSec accounts for the number of whole milliseconds that have passed, while dwPartialDiffMSec accounts for the number of timer counts not totaling one millisecond.

  extern dwPartialDiffMSec;

Remarks

dwPartialDiffMSec is updated in OEMIdle to account for the time between the last tick and the call to OEMIdle, as well as time that has passed while the CPU is idling. dwPartialDiffMSec allows the system to recognize that time has passed even if it is less than one millisecond.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 and later      

See Also

DiffMSec, OEMIdle