Platform SDK: Hardware |
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.
No return value.
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.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 98.
Header: Declared in Pbt.h.
Power Management Overview, Power Management Events, PBT_APMRESUMESUSPEND, WM_POWERBROADCAST