Devicedisconnect method, Getdevice method, Getdeviceweb method – MagTek Excella API OCX99875557 User Manual
Page 8

Encrypting SPI IntelliHead
4
DEVICEDISCONNECT METHOD
Disconnects the device that has the given IP address or DNS name.
Syntax
Result =MTEXCELLAAPI1.DeviceDisconnect (ByVal lpszDevice As String) as Long
Part
Description
lpszDevice
A string that contains the IP address or DNS name of the device.
Data Type
Long
GETDEVICE METHOD
Returns the device name of the device present in the system.
Syntax
Result =MTEXCELLAAPI1.GetDevice (ByVal lplDeviceContext As Long, ByRef
lpszDeviceName As String) as Long
Part
Description
lplDeviceContext
This is the device number of the device. This must be set to 1 to get the first device in the
system. Increment it by 1 to get the next device name.
lpszDeviceName
A string that specifies the name of the device.
Data Type
Long
GETDEVICEWEB METHOD
Returns the device name of the device present in the system.
Syntax
Result =MTEXCELLAAPI1. GetDeviceWeb (
ByVal lplDeviceContext As Long, ByRef
lpszDeviceName As Variant
) as Long
Part
Description
lplDeviceContext
This is the device number of the device. This must be set to 1 to get the first device in the
system. Increment it by 1 to get the next device name.
lpszDeviceName
A string that specifies the name of the device.