Partager via


CeSetPowerOnEvent (Compact 2013)

3/28/2014

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

See Also

Reference

Kernel Functions
SetEvent

Other Resources

XXX_PowerDown (Device Manager)
XXX_PowerUp (Device Manager)