SECTION 4
Power Management BIOS: NORAPM.EXE
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 4-11
APM Function Summary
Table 4Ć15
APM Function Summary
Function
Requires
Connection
APM Installation Check (00h)
No
APM Real Mode Interface Connect (01h)
No
APM Interface Disconnect (04h)
Yes
CPU Idle (05h)
No
CPU Busy (06h)
No
Set Power State (07h)
No
Enable/Disable Power Management (08h)
Yes
Get Power Status (0Ah)
No
Get PM Event (0Bh)
No
Get Power State (0Ch)
No
Enable/Disable Device Power Management (0Dh)
No
APM Include Files
NORAPM.DLL Driver Files
Files
Description
APMEVENT.H
C++ include file; defines APM event codes.
NORAPM.H
C++ include file; defines NORAPM.DLL API.
PMEVENTS.H
Contains power management event constants.
See
Appendix B for sample listings of APM Include files, NORAPM.H and
APMCODES.H.
APMEVENT.H
APMEVENT.H is a C++ include file that defines APM 1.1 event codes for BIOS,
DOS, and Windows.
APM Event Codes
Description
APM 1.1 BIOS event codes Broadcast to DOS TSRs by the APM OS Driver.
Windows APM 1.1 event
codes
Broadcast to Windows drivers and parent windows by the
Windows APM driver. Note these codes are one less than
corresponding BIOS codes. Only three codes are defined
in the Windows 3.1 WINDOWS.H header file.
BIOS, DOS, and Windows
OEMĆdefined APM codes
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.
4. Power Management
BIOS: NORAPM.EXE