User's Manual

15
4-3 SetFunKey2
[Function]
Set Button 2 output key.
[Format]
int SetFunKey2(const char* SetKey, bool ButtonEnable)
[Argument]
const char* SetKey Set button1 output key.
bool ButtonEnable Enable/Disable key output.
Trur is enable, False is disable.
[Return Value]
If set value successful, the return SV_ERROR_SUCCESS value. If there is an error, the
SV_ERROR_FAIL are returned.
[Explanation]
None
[Example]
DWORD Rtn;
//Set button 2 is barcode reader’s trigger
Rtn = SetFunKey2("<BarCode>", true);