SECTION 4
Power Management
4-8 PEN*KEY
R
6100 Computer Programmer’s Reference Guide
After a system has been suspended and the system is resumed, a Critical ReĆ
sume System Notification power management event is posted by the APM BIOS.
The APM driver must notify APMĆaware applications and device drivers when
the system is resumed from a critical suspend.
User System Suspend Request Notification
- notifies the APM driver that the
SUSPEND/RESUME button has been pressed and the user wants to put the sysĆ
tem into the Suspend State. The APM driver must notify APMĆaware applicaĆ
tions of the System Suspend request. This notification allows the device drivers
the opportunity to prepare for the suspend state change or to reject the request.
If the request is to be accepted, the APM driver calls the Set Power State funcĆ
tion to set the system state to suspend. The BIOS does not enter the suspend
state on its own unless BIOS power management has been enabled via the EnĆ
able/Disable Power Management call.
APM Include Files
APMEVENT.H
APMEVENT.H is a C++ include file that defines APM 1.1 event codes for BIOS,
DOS, and Windows.
APM 1.1 BIOS event codes
These codes are broadcast to DOS TSRs by the APM
OS Driver.
Windows APM 1.1 event codes
These events are broadcast to the Windows drivers
and parent windows by the Windows APM driver.
Note that these codes are one less than the
corresponding BIOS codes. Also, only three codes
are actually defined in the Windows 3.1
WINDOWS.H header file.
BIOS, DOS, and Windows OEMĆdefined APM codes
(specific for Intermec Technologies Corporation)
Many of these codes are used by the APM BIOS to
communicate with the APM OS driver and are not
actually broadcast to DOS or Windows system
components.
PMEVENTS.H
PMEVENTS.H contains power management event constants.
For an example of these files, refer to
Appendix B, Common PEN*KEY 6000 SeĆ
ries Information.
4. Power Management
Содержание PEN*KEY 6100
Страница 1: ...PEN KEYR 6100 Computer PROGRAMMER S REFERENCE GUIDE P N 977 054 001 Revision B December 2000 ...
Страница 14: ...CONTENTS xii PEN KEYR 6100 Computer Programmer s Reference Guide ...
Страница 22: ...Preface 8 PEN KEYR 6100 Computer Programmer s Reference Guide PREFACE ...
Страница 112: ...SECTION 4 Power Management 4 10 PEN KEYR 6100 Computer Programmer s Reference Guide 4 Power Management ...
Страница 318: ...GENERAL INDEX Index 6 PEN KEYR 6100 Computer Programmer s Reference Guide ...