-2.22. Enable/Disable Scan2KeyFunction Description:Enable or disable Scan2Key to put scanned data to standard keyboard input buffer.Scan2Key is enabled by default.Function call:BOOL S2K_Enable(BOOL enable, DWORD timeout);Parameter: (input)enable: BOOL: TRUE = Enable scanned data to keyboard bufferFALSE = Disable scanned data to keyboardtimeout: DWORD: when enable or disable Scan2Key, it willwait until Scan2Key has been removed from memory ortimeout specified by this parameter.Parameter: (output)Return: TRUE : if successfully enabled Scan2Key,otherwise FALSE2.23. Send scanner command to decoding chipFunction Description:Send scanner command to decoder chip. This command will send a serial of bytes todecoder chip as following: (Esc and BCC will be calculated and added automatically)Esc, high-length, low-length, command-ID, operation, set, BCCPlease refer to complete command reference on section 4BOOL HAM_SendCommand(BYTE highlen, BYTE lowlen, BYTE cmdID, BYTE op,BYTE set);Parameter: (input)highlen: BYTE: high byte of command lengthlowlen: BYTE: low byte of command lengthcmdID: BYTE: command IDop: BYTE: operation mode for this commandset: BYTE: operand for this commandReturn:TRUE = Indicates the command has been successfully sent to queue to output.2.24. Only send single command decoding chipFunction Description:Send command to decoder chip. This is a variation of command HAM_SendCommand.It sends following command to Hamster: (note, only two bytes without BCC)Esc, 0x80+cmdFunction call:BOOL HAM_SendCommand1(BYTE cmd);Parameter: (input)cmd: BYTE: commandReturn:TRUE = indicates the command has been successfully sent to queue to output.