Intermec 6100 Reference Guide

Page of 328
SECTION 3
Supporting Windows Applications
PEN*KEY
R
 6100 Computer Programmer’s Reference Guide    3-9
Message Output Settings
ApmSuspendDialog
Valid values:
0, 1
Default value:
1
When the user presses the on/off button, NORWINPM.DRV polls all of the drivĆ
ers and programs in the system with a USERSUSPEND message (see below) to
determine if it is OK to suspend.  This configuration entry determines whether
NORWINPM.DRV displays a dialog notifying the user if an application or driver
refuses to suspend.
Value Description
0
No warnings or debug messages, if the user suspend request fails.  It is assumed that the system
component that fails the request, either notifies the user on its own, or suspends the system after
finishing the critical activity in which it was involved.  It is very impolite to ignore the button
press and not give the user any feedback.
1
NORWINPM.DRV notifies the user that the suspend request failed by displaying a message (see
messages below) in a dialog box.  Execution continues after the user presses an OK button.
MsgLevel
Valid values:
0, 1, 2, 8, 10, 15  (see table below)
Default value:
1
This configuration entry indicates which APM events cause a dialog to be preĆ
sented to the user by NORWINPM.DRV.  Note that each dialog level includes all
the messages from the levels below it.
Value Description 
0
No Warnings or Debug Messages: appropriate when an application wants to control the timing
and presentation of power management event notification.  The application would catch the
WM_POWER" messages broadcast by NORWINPM.DRV and deal with them accordingly.
1
Warnings: only display dialogs for APM warnings, such as battery status.  See
MsgRepeatMinutes  below.  This is the driver default.  Note that if the user does not clear the
dialog by pressing the OK button or by pressing a key, the dialogs continue to stack up.
2
Infrequent Dialog Information: display dialogs for warnings and informational messages, such as
suspend/resume, etc.  This is a debugĆmode switch.  The only messages that it does not show are
messages that repeat frequently.  In addition, this setting causes the system to beep periodically
when system activity is detected such as keystrokes, pen activity, or communications messages.
This can determine if suspend or backlight timeĆouts are held off correctly.
5
A debug setting that displays messages that repeat frequently (every 10 seconds or so) but are
different each time.
8
Frequent, But NonĆRepeating Debug Information:
10
Frequent, Repeating Debug Information: a debug setting that additionally displays messages
that repeat frequently and do not vary.  This setting usually causes a steady stream of dialogs to
appear at short intervals (10 seconds or less).
15
All Messages:
3. Windows
Applications