8.23
S
CAN
R
EAD
S
YMBOLOGY
C
ONFIG
()
Prototype:
SCANAPI_API SCAN_RESULT ScanReadSymbologyConfig (HANDLE hScanner, int cfgType, int
nSymbol, PVOID pvSym);
Purpose:
Reads symbology configuration 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] cfgType is the configuration type to read the CURRENT or DEFAULT configuration of the
symbology
[in] nSymbol is the symbology ID to read the configuration. For symbology IDs refer to the
enumerated data type SCANNER_SYMBOLOGY in SCANAPI.h file
[in] pvSym is the void pointer to the structure with that has structure size, mask and that will
contain symbology info on return
Returns:
SR_SUCCESS
The operation completed successfully
SR_INVALID_SCANNER_HANDLE
Invalid scanner handle
SR_INVALID_ERR
Invalid structure passed to read the symbology configuration
SR_SYMBOLOGY_NOT_SUPPORTED
Invalid symbology ID
SR_DEVICE_FAILURE
An internal error occurred requesting a call to the scanner to Enable/Disable symbology
NOTE: This API will supersede ScanParamRequest(), ScanParamRequestEx() API calls.
© Socket Communications, Inc.
November 16, 2004
Revision 2.18