MagLib and MagLibEx libraries
MagLib Library Functions
Section titled “MagLib Library Functions”ReleasePort
Section titled “ReleasePort”Releases the USB port and uninitializes the magnetic library
Syntax
ReleasePort()Parameters
None
Return Values
None
ProcessEx
Section titled “ProcessEx”Processes the given raw data. The raw data is scanned for format detection. If a specific format is detected, the data is parsed further and loads the library properties.
Syntax
ProcessEx (strData As String)Parameters
| Parameter | Description |
|---|---|
| strData | String buffer that contains the raw data |
Return Values
| Value | Description |
|---|---|
| LONG_AAMVA | Standard AAMVA format (includes channel1, channel2 and channel3) |
| SHORT_AAMVA | Short AAMVA format (includes channel1 and channel3) |
| OLD_CA_DMV | Old DMV format (California) |
| OLD_LA_DMV | Old DMV format (Louisiana) |
| UNKNOWN_FORMAT | Unknown format; no further processing done |
SetSwipePortEx
Section titled “SetSwipePortEx”Sets the USB port number
Syntax
SetSwipePortEX (portNum As Integer)Parameters
| Parameter | Description |
|---|---|
| [in] portNumber | The USB port number to use |
Return Values
None
MagLibEx Library
Section titled “MagLibEx Library”NameSuffix
Section titled “NameSuffix”Returns the Suffix name in string format (read-only)