-
5
ScanKey3.DLL – Backward compatible API for PT930/PT930S’s ScanKey3.dll
In Technical Binder CD, you can get this file from folder \Programming\scankey. In this
folder can also find extra 3 files.
"Scankey3.lib" Used for VC programming
"Scankey3.h"
Used for VC programming
5.1 Enable
Decoder
Function Description:
This function will open COM2 port, create a thread to get any barcode input from Decoder Chip,
and then send scanner data to keyboard buffer. User application can get input data just like
standard keyboard input.
Function call for VC:
int PT_EnableBarToKey(VOID)
Return code:
=1
Create new thread fail
=2
Can not re-enable
=3
Can not open COM2
=4
Upload parameter from Hamster fail
=0 OK
5.2 Disable
Decoder
Function Description:
This function will close COM2 port and then remove thread which is created by
PT_EnableBarToKey()
Function call for VC:
VOID PT_DisableBarToKey ( VOID )
5.3 Get DLL version no
Function description:
This function is used to get DLL version number.
Function call for VC:
int PT_Version(void);
Return :
Integer
5.4 Disable laser trigger key
Function Description:
This function only stop trigger key to activate laser beam, so COM2 port is still open. This function
call is useful when some fields is only allow keyboard input.
Function call for VC:
int PT_StopScan (VOID)
5.5 Enable laser trigger key
Function Description:
This function only stop trigger key to activate laser beam, so COM2 port is still open. This function
call is useful when some fields is only allow keyboard input..
Function call for VC: