April 8, 2010
Page 49
Document#: 6410-00147 K
Revision 2.28
8.22
S
CAN
E
NABLE
D
ISABLE
S
YMBOLOGY
()
Prototype:
SCANAPI_API SCAN_RESULT ScanEnableDisableSymbology (HANDLE hScanner, INT nSymID, BOOL
flag);
Purpose:
Enables or Disables symbologies for all types of Socket bar code scanner devices.
Arguments:
[in] hScanner is the value received by the client application in lParam of the WM_INSERTION
message specified when ScanInit() was called.
[in] nSymID is the symbology ID to be Enabled or Disabled. For symbology IDs refer to the
enumerated data type SCANNER_SYMBOLOGY in SCANAPI.h file.
[in] flag to enable or disable symbology
Returns:
SR_SUCCESS
The operation completed successfully
SR_INVALID_SCANNER_HANDLE
Invalid scanner handle
SR_SYMBOLOGY_NOT_SUPPORTED
Invalid symbology ID
SR_DEVICE_FAILURE
An internal error occurred requesting a call to the scanner
NOTE: This API will supersede ScanParamSend(), ScanParamSendEx() API calls.