Queryinfoweb method, Saveimagebyindex method – MagTek Excella API OCX99875557 User Manual

Page 16

Advertising
background image

Encrypting SPI IntelliHead

12

QUERYINFOWEB METHOD
Retrieves data of a given section name from a device.


Syntax

Result =MTEXCELLAAPI1.QueryInfoWeb (ByVal lpszDeviceName As String, ByVal
lpszQueryParam As String, ByRef lpszResult As Variant, ByRef lplLength As Variant
) as Long

Part

Description

lpszDeviceName

A string that specifies the name of the device.

lpszQueryParam

A string containing the section name. e.g. DeviceCapabilities, DeviceUsage, DeviceStatus,
etc.

lpszResult

The buffer that receives the retrieved value.

lplLength

The length of

lpszResult.


Remarks

QueryInfoWeb functions identically to QueryInfo. QueryInfoWeb is intended to be used for
webpage applications.


Data Type

Long



SAVEIMAGEBYINDEX METHOD
Gets the image data results from a previously scan.


Syntax

Result =MTEXCELLAAPI1. SaveImageByIndex (ByVal lpszDeviceName As String, ByVal
lpszDocInfo As String, ByVal lplImageIndex As Long, ByVal lpszImgFileName As String
) as
Long

Part

Description

lpszDeviceName

A string that specifies the name of the device.

lpszDocInfo

A string containing the information previously returned from the device. The returned
information contains command status, MICR data, and image information.

lplImageIndex

A string containing the section name.

lpszImgFileName

A string that contains the path and name of the file to save the image.

Data Type

Long

Advertising