The PBT_APMQUERYSUSPEND message is sent to request permission to suspend the computer. An application that grants permission should carry out preparations for the suspension before returning. A window receives this message through the WM_POWERBROADCAST message.
Flags = (DWORD) lParam;
Return TRUE to grant the request to suspend. To deny the request, return BROADCAST_QUERY_DENY.
An application should process this message by first determining whether permission to suspend can be granted. It must not grant permission if doing so would cause a loss of data. The application can prompt the user for directions on how to prepare for suspension only if bit 0 in the Flags parameter is set.
file: /Techref/os/win/api/win32/mess/src/msg14_10.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/12/2 10:30,
3.136.25.249:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/techref/os/win/api/win32/mess/src/msg14_10.htm"> PBT_APMQUERYSUSPEND</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.