|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| No
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| pbt.h
| Unicode
| No
| Platform Notes
| None
|
|
|
PBT_APMSUSPEND
The PBT_APMSUSPEND is sent immediately before the computer is suspended. This
message is typically sent when all applications and installable drivers have
returned TRUE to a previous PBT_APMQUERYSUSPEND message. A window receives this message through the WM_POWERBROADCAST message.
dwData = (DWORD) lParam;
Parameters
dwData
Reserved; must be 0.
Return Values
No return value.
Remarks
An application should process this message by completing all tasks necessary
to save data. This message may also be sent, without a prior PBT_APMQUERYSUSPEND
message, if an application or device driver uses the SetSystemPowerState function to force suspension.
See Also
PBT_APMQUERYSUSPEND, SetSystemPowerState, WM_POWERBROADCAST
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|