Intermec PENKEY 6100 Programmer's Reference Manual page 284

Hide thumbs Also See for PENKEY 6100:
Table of Contents

Advertisement

Common PEN*KEY 6000 Series Information
#define APM_USERSUSPEND
#define APM_USERSTANDBYRESUME 11 // User System Standby Resume Notif.
//–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
// NORAND APM 1.1 BIOS OEM event codes that are broadcast to DOS.
#define APM_OEM_XKBD
#define APM_OEM_CHARGE
#define APM_OEM_POD1
#define APM_OEM_POD2
#define APM_OEM_EXTRING
#define APM_OEM_PCMCIA
#define APM_OEM_ALARM
#define APM_OEM_PENDOWN
#define APM_OEM_SUSPEND
#define APM_OEM_RESUME
#define APM_OEM_BUBLOW
#define APM_OEM_MB0
#define APM_OEM_MB10
#define APM_OEM_MB20
#define APM_OEM_MB30
#define APM_OEM_PDOOR
#define APM_OEM_IKBD
#define APM_OEM_PWRFAIL
#define APM_OEM_PWRTICK
#define APM_OEM_EL
#define APM_OEM_BATT_CHANGE
#define APM_OEM_PWRFAILNEW
#define APM_OEM_PWRMSGTXT
//–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
// Windows APM 1.1 event codes.
// drivers and parent-windows by the Windows APM driver.
// are one less than the corresponding BIOS codes. Also, only 3 codes 1...3,
// are actually defined in the current Windows 3.1Windows.H header file
#define PWR_STANDBYREQUEST
#define PWR_SUSPENDREQUEST
#define PWR_SUSPENDRESUME
#define PWR_CRITICALRESUME
#define PWR_BATLOW
#define PWR_PWRCHANGE
#define PWR_TIMEUPDATE
#define PWR_CRITICALSUSPEND
#define PWR_USERSTANDBY
#define PWR_USERSUSPEND
#define PWR_USERSTANDBYRESUME 10// User System Standby Resume Notification
//–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
// NORAND Windows APM 1.1 OEM event codes. Again, these are one less than
// their DOS/BIOS counterparts.
#define PWR_OEM_XKBD
#define PWR_OEM_CHARGE
#define PWR_OEM_POD1
#define PWR_OEM_POD2
#define PWR_OEM_EXTRING
#define PWR_OEM_PCMCIA
#define PWR_OEM_ALARM
#define PWR_OEM_PENDOWN
#define PWR_OEM_SUSPEND
#define PWR_OEM_RESUME
#define PWR_OEM_BUBLOW
#define PWR_OEM_MB0
#define PWR_OEM_MB10
#define PWR_OEM_MB20
#define PWR_OEM_MB30
#define PWR_OEM_PDOOR
#define PWR_OEM_IKBD
#define PWR_OEM_PWRFAIL
#define PWR_OEM_PWRTICK
R
B-4
PEN*KEY
6100 Computer Programmer's Reference Guide
10 // User System Suspend Request Notif.
0x0201 // External keyboard detect
0x0202 // External charge detect
0x0203 // Pod 1 ring detect
0x0204 // Pod 2 ring detect
0x0205 // External ring detect
0x0206 // PCMCIA ring detect
0x0207 // Real time clock alarm
0x0208 // Pen down detect
0x0209 // Suspend detect
0x020a // Resume key detect
0x020b // Backup battery low
0x020c // Main battery critical
0x020d // 10 minutes left on bat
0x020e // 20 minutes left on bat
0x020f // 30 minutes left on bat
0x0210 // PCMCIA door open
0x0211 // Internal keyboard detect
0x0212 // Powerfail detect
0x0213 // Charge tick event
0x0214 // Backlight on/off press
0x0215 // Battery change detected
0x0216 // Powerfail detect
0x0280 // Power msg text broadcast.
These events are broadcast to the Windows
0 // System Standby Request Notification
1 // System Suspend Request Notification
2 // Normal Resume System Notification
3 // Critical Resume System Notification
4 // Battery Low Notification
5 // Power Status Change Notification
6 // Update Time Notification
7 // Critical System Suspend Notification
8 // User System Standby Request Notification
9 // User System Suspend Request Notification
0x0200 // External keyboard detected
0x0201 // External charge detected
0x0202 // Pod 1 ring detected
0x0203 // Pod 2 ring detected
0x0204 // External ring detected
0x0205 // PCMCIA ring detected
0x0206 // Real time clock alarm
0x0207 // Pen down detected
0x0208 // Suspend detected
0x0209 // Resume key detected
0x020a // Backup battery low
0x020b // Main battery critical
0x020c // 10 minutes left on battery
0x020d // 20 minutes left on battery
0x020e // 30 minutes left on battery
0x020f // PCMCIA door open detected
0x0210 // Internal keyboard detected
0x0211 // Powerfail detected
0x0212 // Charge tick event
APPENDIX B
detect
Note that these codes

Advertisement

Table of Contents
loading

Table of Contents