Scanner Support
IS9CConfig::GetMatrix2of5
This function retrieves the current settings of Matrix 2 of 5.
Syntax:
Parameters:
Return Values:
IS9CConfig::SetMatrix2of5
This function updates the Matrix 2 of 5 settings with new values.
Syntax:
Parameters:
Return Values:
Matrix 2 of 5 Default Settings
Parameter
Decoding
Bar Code Length
Matrix 2 of 5 Enumerations
typedef enum tagMatrix2of5Decoding
{
ITC_MATRIX2OF5_NOTACTIVE = 0, // Default
ITC_MATRIX2OF5_ACTIVE = 1,
ITC_MATRIX2OF5_NO_CHANGE = 255
} ITC_MATRIX2OF5_DECODING;
#define ITC_BC_LENGTH_NO_CHANGE 255. This definition can be used when the bar code length
does not require any change.
6-40
700 Series Color Mobile Computer User's Manual
HRESULT IS9CConfig::GetMatrix2of5(
ITC_MATRIX2OF5_DECODING* peDecode, DWORD* pdwLength );
peDecode
[out]
pdwLength [out]
HRESULT that indicates success or failure.
HRESULT IS9CConfig::SetMatrix2of5(
ITC_MATRIX2OF5_DECODING eDecode, DWORD dwLength );
eDecode
[in] Identifies the decoding for Matrix 2 of 5 symbology.
dwLength
[in] Identifies the bar code length.
HRESULT that indicates success or failure.
Default
Not Active
Minimum Length = 6
Pointer to the ITC_MATRIX2OF5_DECODING
location to receive the decoding for Matrix 2 of 5
symbology.
Pointer to the DWORD location to receive a value for
the bar code length.
Valid Range
ITC_MATRIX2OF5_DECODING
0x00–0xFE ITC_BC_LENGTH_NO_CHANGE
SECTION 6