Sendcommandweb method, Setindexvalue method – MagTek Excella API OCX99875557 User Manual
Page 19

15
SENDCOMMANDWEB METHOD
Sends a command to a device.
Syntax
Result =MTEXCELLAAPI1. SendCommandWeb (ByVal lpszDeviceName As String, ByVal
lpszCommand As String, ByRef lpszResult As Variant, ByRef lplLength As Variant) as Long
Part
Description
lpszDeviceName
A string that specifies the name of the device.
lpszCommand
A string containing the command to sent to the device.
lpszResult
The buffer that receives the result of the command.
lplLength
The length of
lpszResult.
Remarks
SendCommandWeb functions identically to SendCommand. SendCommandWeb is intended
to be used for webpage applications.
Data Type
Long
SETINDEXVALUE METHOD
Adds a key/value pair to the given device settings with an index number.
Syntax
Result =MTEXCELLAAPI1.SetIndexValue (ByRef lpszOptions As String, ByVal lpszSection As
String, ByVal lpszKey As String, ByVal lpiIndex As Long, ByVal lpszValue As String, ByRef
lplBufferSize As Long) as Long
Part
Description
lpszOptions
A string that specifies all the key/value pairs.
lpszSection
A string containing the section name.
lpszKey
A string containing the key name.
lpiIndex
The key index number.
lpszValue
A string containing the key value.
lplBufferSize
The size of the value buffer.
Data Type
Long