Intermec 6100 Reference Guide

Page of 328
SECTION 3
Supporting Windows Applications
3-14    PEN*KEY
R
 6100 Computer Programmer’s Reference Guide
BATLOW, Battery Low Notification
The system battery is running low.  The optional parameter of this event mesĆ
sage contains the last four bytes of the current 
tagPOWER_STATUS
.  Use the
message to determine the current battery status without polling NORĆ
WINPM.DRV.
USERSUSPEND, User System Suspend Request Notification
The user has pressed the suspend/resume switch and wants to suspend the sysĆ
tem.  Drivers or applications that attempt to fail this request probably become
an annoyance to the user unless the drivers put up some sort of polite explanaĆ
tion as to why the system does not turn off when the switch is pressed.  In any
case, the driver or application must prepare for an impending suspend because
the APM driver is allowed to override the fail request and suspend the system.
TIMEUPDATE, Update Time Notification
This event is issued whenever the time has been updated to correct for timeĆ
warp" that is not due to a suspend.  Applications that perform processing tied to
real time should check the time whenever they see this event, in addition to
checking the time whenever they see any of the resume events.
CRITICALSUSPEND, Critical System Suspend Notification
This event is never broadcast.  NORWINPM.DRV immediately suspends the sysĆ
tem when it receives it and broadcasts a 
CRITICALRESUME
 event upon resumĆ
ing.
CRITICALRESUME, Critical Resume System Notification
The system was suspended without sending a notification broadcast in advance.
This event is usually caused by a power failure.  Drivers should typically disable
and reenable themselves when receiving this message.
STANDBYREQUEST, System Standby Request Notification
Because of the efficacy of the suspend mode, NORAND systems do not currently
implement a standby mode.  In addition to 
STANDBYREQUEST
, the 
USERSTANDBY
and 
USERSTANDBYRESUME
 messages are also ignored or are never generated.
APM Event Code Broadcast Values
Refer to the APM Event Code Broadcast Values paragraph, in Appendix A, SamĆ
ple Configuration Files, for a listing of the event codes and their values.
Generally, Intermec Technologies Corporation attempts to use APM 1.1 stanĆ
dardized event codes whenever appropriate.  However, Intermec Technologies
Corporation may choose to make additional events available on systems with exĆ
tended functionality.  The OEM codes listed in APMCODES.H represent currentĆ
ly defined codes, but does not imply that all or any OEM events are available on
any particular Intermec system.
3. Windows
Applications