Intermec 6100 Guida Di Riferimento

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