Share via


OEMPowerOff (Windows Embedded CE 6.0)

1/5/2010

This function is invoked when the OFF button is pressed or the Graphics, Windowing, and Events Subsystem (GWES) times out on its power-down timer.

The function is responsible for any final power-down state and for placing the CPU into a suspend state.

Syntax

void OEMPowerOff (void);

Parameters

None.

Return Value

None.

Remarks

When this function is called, the target device is entering the suspend state. For more information on the suspend state, see Suspend State.

Requirements

Header nkintr.h
Library OEMMain.lib or OEMMain_StaticKITL.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

Required OAL Functions
OEMClearIntSources
OEMGetWakeupSource
OEMIdle

Concepts

Enabling Power Management

Other Resources