The PBT_APMQUERYSUSPENDFAILED message is sent as a notification that permission to suspend the computer was denied. This message is sent if any application or driver returned BROADCAST_QUERY_DENY to a previous PBT_APMQUERYSUSPEND message. A window receives this message through the WM_POWERBROADCAST message.
dwData = (DWORD) lParam;
Parameters
dwData
Reserved; must be zero.
Return Values
No return value.
Remarks
Applications typically respond to this message by resuming normal operation.
See Also