Platform SDK: Hardware

PBT_APMRESUMESUSPEND

The PBT_APMRESUMESUSPEND event is broadcast as a notification that the system has resumed operation after being suspended.

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_APMRESUMESUSPEND.
lParam
Reserved; must be 0.

Return Values

No return value.

Remarks

An application can receive this event only if it received the PBT_APMSUSPEND event before the computer was suspended. Otherwise, the application will receive a PBT_APMRESUMECRITICAL event.

Requirements

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

See Also

Power Management Overview, Power Management Events, PBT_APMSUSPEND, PBT_APMRESUMECRITICAL, WM_POWERBROADCAST