Platform SDK: Hardware |
The PBT_APMQUERYSUSPENDFAILED event is broadcast as a notification that permission to suspend the computer was denied. This event is broadcast if any application or driver returned BROADCAST_QUERY_DENY to a previous PBT_APMQUERYSUSPEND event.
A window receives this event through the WM_POWERBROADCAST message. The wParam and lParam parameters are set as described following.
No return value.
Applications typically respond to this event by resuming normal operation.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Pbt.h.
Power Management Overview, Power Management Events, PBT_APMQUERYSUSPEND, WM_POWERBROADCAST