SECTION 3
Supporting Windows Applications
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 3-9
pen
=
Tells Windows the actual name of the installable Pen driver named in the
[boot] section of the SYSTEM.INI file (listed above).
"
NOTE:
Do not load the DOS Power Management driver, NPOWER.EXE, if the 6300 Computer is
running Windows.
NORAPM.DLL supports the SYSTEM.INI entries described in the following
paragraphs. Place the entries in a SYSTEM.INI section entitled
[Power
Driver]
". Note that case is not important.
ApmSuspendDialog
Valid values:
0, 1
Default value: 1
When you press the suspend/resume switch (I/O switch), NORAPM.DLL polls all
the drivers and programs in the system with a USERSUSPEND message to
determine whether it is OK to suspend. This configuration entry determines
whether or not NORAPM.DLL displays a dialog if an application or driver
refuses to suspend. If this entry is not present, the default setting is 1.
0
Do not display any dialogs 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 susĆ
pend the system itself after finishing whatever critical activity it was involved in.
It is very impolite to ignore the switch press and not give the user some feedback.
1
NORAPM.DLL notifies the user that the suspend request failed by displaying a
message in a dialog box. Execution continues after the user presses an OK button.
ApmEventDialogs
Valid values:
0, 1, 2, 8, 10, 15
Default value: 1
This configuration entry indicates the APM events that causes NORAPM.DLL to
display a dialog. If this entry is not present, the default setting is 1. Note that
each dialog level includes all the messages from the levels below it.
0
Display critical errors only. This setting is appropriate when an application
wants to control the timing and presentation of power management event
notification. The application catches the
WM_POWER
" messages broadcast by
NORAPM.DLL and deal with them accordingly. Errors are still displayed by
NORAPM.DLL.
1
Display dialogs only for APM warnings, such as battery status. (See
MsgRepeatMinutes
) This is the driver default.
2
Display dialogs for warnings and informational messages that appear frequently,
such as suspend/resume, etc. This is a debugĆmode switch.
8
A debug setting that displays frequent nonrepeating messages.
10 A debug setting that displays frequent repeating messages. This setting causes
messages to appear at a steady interval.
15 A debug setting that causes the system to beep when it detects system activity or
charge. This can determine whether the power management software is
detecting activity correctly in order to hold off power management timeouts.
3. Windows
Applications