Casio PA-2400W manual Registry of Libraries, Disable the power on by alarm

Page 42

6. Registry of Libraries

In this chapter, registries which are used by the libraries of System and SIPanel are described. The I/O Startup Library does not use any registry.

6.1 System Library

The System Library uses the following registries. The values of each registry are automatically updated by ￿dedicated API functions. User is required not to edit the values.

Localmachine\HARDWARE\DEVICEMAP\AlarmWakeUp

Set up “enable” or “disable” of the power ON by alram.

Table 6.1

 

Key name

Form

Value

Description

 

Satus

DWORD

0

Disable the power ON by alarm.

￿

 

 

1

Enable the power ON by alarm. (default)

LocalMachine\HARDWARE\DEVICEMAP\powerONEvent

Set up “enable” or “disable” of the power ON event notification”.

Table 6.2

Key name

Form

Value

Description

Status

DWORD

0

Disable the power ON event notification.

 

 

1

Enable the power ON event notification.

6.2SIPanel Library

￿The SIPanel Library uses the following registries. User is required to edit the values of each registry.

LocalMachine\Software\Apps\SIPmanager

Specify a program to start up the SIPanel when the SIP button is pushed by operator.

Table 6.3

Key name

Form

Value

Description

SIPExeName

SZ

(file name)

Specify a file name of program which is started up

 

 

 

when the SIP button is pushed.

 

 

 

Default is “SIPanel.exe”.

SIPQuitOpt

SZ

(character string of

Specify a character string of quit option which is

 

 

option)

attached to the program specified by “SIPExeName”.

 

 

 

Default is “/Q”.

SIPNormOpt

SZ

(character string of

Specify startup option of the program specified by

 

 

option)

“SIPExeName”.

 

 

 

Default is not available.

Note:

If you wish to disable the SIP button, delete “SipExeName”. If you create your own startup program for the SIPanel using this library, do not forget to delete or change “SIPExeName”. Refer to Chapter 4.2 “Use of SIPanel Library”.

42

Image 42
Contents PA-2400W Library Manual VersionTable of Contents Fchkce /G Fchkce /C Preface CasioSystem Library Bootup LibrarySupported Files SIPanel LibrarySystem configuration Host PC PA-2400W Copy3 I/O Bootup Library Dedicated Library and Utility System LibrarySIPanel Library File Transfer Utility File Check UtilityDevelopment Environment System Library Overview Parameters None Return Values Details of FunctionTitle Function Header #include CasioSys.h RemarksTurns off the backlight Language Interface Calling Sequence False TrueBacklight is on Backlight is offHeader #include CasioSys. h Remarks DisablePowerOff Bool EnablePowerOff Disable the power to be turned off with the power button Enable the power to be turned off with the power buttonHeader Bool ApoCountReset Void SoftReset Language Interface Calling Sequence Disables automatic power-on with the alarmInternal error Parameters Bool bModeBool GetPowerOnAlarm Default Sample program to acquire power-on event notification Bool GetPowerEventStat SIPanel Library Overview SIPANEL.DLLSIPANEL.EXE Program for starting up the library Use of SIPanel LibraryRestrictions RegistryLpctstr lpParam Sipshow SiphideSample program to start up the SIPanel Hinstance LptstrTchar ClassNameTSR = TEXTSipTsr Sample program of application software for business useTchar ClassName = Text CallSip HbCallText = CreateWindow TEXTbutton, TEXTText AreaHWnd = CreateWindowClassName, ClassName Wsvisible Wsoverlapped WssysmenuLpCmdLine Find SipTsr Options of Command Line Px,ySw,h IOBOX1.DLL O Bootup Library OverviewFunction Port294,967,295 msec. equals to Infinite Infinite = No timeoutDword Fail to call the functionSequential Mode Multiple-Thread ModeUse of ioboxchk Sample Program Hwnd= Null WINDOWHEIGHT/2 WsoverlappedWINDOWWIDTH/2 NullCase Wmpaint Wait for 5 seconds Disable the power on by alarm Enable the power on event notificationRegistry of Libraries File Transfer Utility Overview RS-232C InterfaceIrDA 1.0 Interface List of Supported Commands Operation Use of FlceTermination of Flce Input ParameterRestrictions Types of Arguments Communication CommandsOptions OverwriteMethod of Describing Pathname Reference Storage Card PC card My Documents Internal RAMDOS Windows95 /Windows NT Required Error if omittedSpecifying Non-existing File Windows CESetting Up Registry Setting Up ItemsLong lReg1 Setting Up Registry with User ApplicationHkey hKey1 Dword Disp1Err=FALSE Else If err==TRUE Return errTermination Codes Should take an action that is appropriate to each definitionError Code Meaning Possible Cause Remedy Location of Log File Log FileLog File Name Method of Creation12Precautions Details of Command and Option Flce /S \casio\*.dat d\casiodat\ Transmission file pathnameDestination directory pathname Flce /SR \casio\*.dat d\casiodat\\12\*.dat d\casio\*.* \casio data\ PathnamePathname of requested file Flce /RR a\12\*.dat d\casio\*.* \casio data\Appended file pathname Target file pathnameFlce /A \MY\casio.dat b\your\master.dat Pathname of file to be deleted Without the R option Flce /N a\ 12\kk.dat a\casio\ Source pathnameDestination pathname Flce /N a\12\kk.dat a\casio\sj.datParameters None SetupExample Flce /SR \casio ap\*.* \casio ap\ /TFlce /Y=COM1, , casio.scr Session with PCFlce casio.scr Session between PA-2400W-and-PA-2400WCommand and Status Idle notificationPreparation at PC Retry Process When Downloading FileRetry Method \soft\Restriction Preparation at PA-2400WRetry.scr List of Commands File Check Utility OverviewOperation Method Downloading file from PC to PA-2400WOperation Copying file with PC card from PA-2400W to PA-2400W Transmission side PA-2400WCopy PC card Describing Method 1Pathname Examples of Correct Startup Details about Command and OptionExamples of specification for command and option Example of Incorrect Startup no /G or /C optionCommand of Fchkce 1Generation of List File Comparison by List File Example \AP\MENU.EXE 12345 \CONFIG.SYS 1000 \AUTOEXEC.BAT 512Format of List File FILENO=3Syntax Analysis of Script File Childproccmd = COption = Recursiveoption Updateoption Recursiveoption = R Error Messages/Codes Restriction AO Append output Option /SCSpecification of a script file nameSpecification of recursive call File name list or Script file name\casio\ .dat \casio data\ \casio\ Destination directory nameFCHK.LOG file output directory name Fchkce /G /R \casio\ .dat \casio data\ \casio\FCHK.LOG file pathname Does not compare the update dataOption Fchkce /C \casio data\