Share via


CeSetPowerOnEvent (Windows Embedded CE 6.0)

1/6/2010

Power handlers call this function to signal events during suspend/resume.

Syntax

BOOL CeSetPowerOnEvent(
  HANDLE hEvt
);

Parameters

  • hEvt
    [in] Specifies the event handle.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

Events set with this function are checked by the kernel only where it returns out of its resume code. Setting this event at any time other than in a driver's resume callback has no effect until the next time the system resumes.

Requirements

Header nkintr.h
Library coredll.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

Kernel Functions

Other Resources

SetEvent
XXX_PowerDown (Device Manager)
XXX_PowerUp (Device Manager)