Platform SDK: Hardware

PBT_APMRESUMEAUTOMATIC

The PBT_APMRESUMEAUTOMATIC event is broadcast when the computer wakes up automatically to handle an event. An application will not generally respond unless it is handling the event, because the user is not present.

A window receives this event through the WM_POWERBROADCAST message. The wParam and lParam parameters are set as described following.

Parameters

wParam
Set to PBT_APMRESUMEAUTOMATIC.
lParam
Reserved; must be 0.

Return Values

No return value.

Remarks

If the system detects any user activity after broadcasting PBT_APMRESUMEAUTOMATIC, it will broadcast a PBT_APMRESUMESUSPEND event to let applications know they can resume full interaction with the user.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 98.
  Header: Declared in Pbt.h.

See Also

Power Management Overview, Power Management Events, PBT_APMRESUMESUSPEND, WM_POWERBROADCAST