Поделиться через


InitClock (Windows Embedded CE 6.0)

1/5/2010

This function is a required OAL function that initializes the CPU clock and sets the system tick interval frequency.

Syntax

void InitClock (void);

Parameters

None.

Return Value

None.

Remarks

This function is called when the system boots for the first time to set the default 1ms tick that is required by the kernel.

This routine is called from the OEMInit function.

The kernel calls this function when a suspended device is resumed.

Requirements

Header Developer Implemented
Library OEMMain.lib or OEMMain_StaticKITL.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Required OAL Functions
OEMInit

Concepts

Resume State
System Tick Timer Initialization

Other Resources

GetIdleTime