CurMSec (Windows CE 5.0)

Send Feedback

This global variable indicates the number of milliseconds since boot.

extern volatile UINT32 CurMSec;

Parameters

None.

Return Values

None.

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

See Also

GetTickCount | OEMIdle

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.