CurMSec (Windows Embedded CE 6.0)
1/5/2010
This global variable indicates the number of milliseconds since boot.
Syntax
extern volatile UINT32 CurMSec;
Parameters
None.
Return Value
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.
OEMs can reference the pre-defined macro CurMSec by including the header file nkexports.h. Alternatively, OEMs can directly access the dwCurMSec member of the NKGLOBAL structure, g_pNKGlobal.
Requirements
Header | Developer Implemented |
Library | Nkstub.lib |
Windows Embedded CE | Windows CE 2.10 and later |
See Also
Reference
Required OAL Variables
OEMIdle