Scanapiax.dll – Argox PT-9130 User Manual

Page 184

Advertising
background image

PT-90 Mobile Computer SDK Programming Manual 177

SCANAPIAX.DLL

We supply SCANAPIAX.DLL to allow programmer to control the on-board scanning device.

There are several functions available for programmer to tailor the application. Programmer can

also use Windows CE development tool, such as Visual Studio 2005, to develop application

program and control the on-board scanning device.

In the SCANAPIAX.DLL library, there are three functional groups can be used to control the

scanning device. They are API_SCAN, Scan2Key, and Scanner related functions. Each functional

group can be used to control the scanning device in different ways. These three functional groups

can not be used at the same time. Programmer should select the most appropriate way to develop

target application. The following shows function list of each functional group.

API_SCAN Related Functions

Programmer can use API_SCAN related functions to register application to SCANAPIAX.dll.

API_SCAN functions will then send messages to report all activities, including error messages and

scan data.

API_Register

– Register the application to SCANAPIAX.dll

API_Unregister

– Un-register the application from SCANAPIAX.dll

API_GetBarData

– Get barcode data into the buffer.

API_GetBarDataLength

– Return length of the scanned data.

API_GetBarType

– Return the barcode type.

API_GetError

– Get the error code.

API_GetSysError

– Return the system error code.

API_GoodRead

– Play sound and flash the LED.

API_LoadSettingFromFile

– Load scanner settings from file.

API_Reset

– Reset scanner to default settings.

API_ResetBarData

– Clear data buffer so that the next new scanned data can be

load into the buffer.

API_SaveSettingToFile

– Save the current scanner settings to file.

API_SaveSettingsToScanner

– Write scanner settings into scanner.

S2K_IsLoad

– Check if the scan.exe is running or not.

S2K_Load

– Load or unload the scan.exe.

SCAN_QueryStatus

Query scanner settings.

SCAN_SendCommand

Send scanner command to change scanner status.

SCAN_ResumeSystem

Enable/Disable scan key to resume system.

Advertising