PBT_APMQUERYSUSPENDFAILED

[This is preliminary documentation and subject to change.]

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.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in pbt.h.

See Also

Power Management Overview, Power Management Messages, PBT_APMQUERYSUSPEND, WM_POWERBROADCAST