CurMSec

This global variable indicates the number of milliseconds since boot.

DWORD CurMSec; 

Remarks

Your OEM adaptation layer (OAL) implementation must update this global variable. CurMSec requires updating by the OEM timer ISR routine for all CPUs except MIPS-based platforms. CurMSec is also updated in OEMIdle if variable ticks are used for conserving power. CurMSec is associated with GetTickCount.

Note   On MIPS-based platforms, the CurMSec global variable must not be defined by the OAL. The OAL should use AddrCurMSec instead as the address of the variable which should be updated by the timer ISR routine to contain the number of milliseconds since boot time.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Fwpc.c.

See Also

GetTickCount | OEMIdle

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.