-2.2. Unregister the application from the USI.DLLFunction Description:Unregister the application from the DLL. It will close the scanner port, and by default it will disablethe scanner.Function call:void USI_Unregister();2.3. Enable / Disable ScannerFunction Description:To start or stop USI function. This function is useful for application to temporarily stop scannerfunction if it is only need keypad input or keep clear input buffer.Function call:BOOL USI_EnableScan(BOOL bStatus);Parameter: (input)bStatus: TRUE : Enable ScannerFALSE : Disable ScannerReturn:BOOL : TRUE : OKFALSE : Failure2.4. Reset ScannerFunction Description:Set the scanner to the working mode, and reset the communication control.Function call:BOOL USI_Reset();Return:Always TRUE2.5. Get error codeFunction Description:Returns the error code (SERR_***).Function call:DWORD USI_GetError();Return:Returns the error code (SERR_***), which has been described in USI_Register function.2.6. Returns the system error codeFunction Description:Returns the system error code, which is returned by GetLastError. It will also return the descriptionof the error in buffer if it is not NULL.Function call:DWORD USI_GetLastSysError(LPTSTR buffer, int len);Return:Returns the system error code, which is returned by system function GetLastError. It will also returnthe description of the error in buffer retrieved by system function FormatMessage if it is not NULL.For a complete list of error codes, refer to the SDK header file WINERROR.H.