User's Manual Part 1

Scanner SupportChapter 6
164 700 Series Color Mobile Computer User’s Manual
IBarCodeReaderControl::QueryAttribute
This function retrieves the device-specific grid, the scanner enable status,
and the LED control status for the current bar code reader engine.
Syntax
HRESULT IBarCodeReaderControl::QueryAttribute (
ITC_BARCODEREADER_ATTRIBUTE_ID eAttr, BYTE rgbAttrBuffer[],
DWORD dwAttrBufferSize );
Parameters
eAttr [in] Specifies the attribute. See
IBarCodeReaderControl::SetAttribute on
page 167 for the attributes.
rgbAttrBuffer [out] Contains buffer for the attribute to be
queried. The structure of rgbAttrBuffer
depends on the attribute being queried.
See IBarCodeReaderControl::SetAttritbute
for a description of these structures.
dwAttrBufferSize [in] The maximum number of bytes that
rgbAttrBuffer can store.
Return Values
A standard status code that indicates success or failure.
Remarks
The following attributes are not supported on the imager:
S ITC_RDRATTR_TONE_ENABLE
S ITC_RDRATTR_VOLUME_LEVEL
S ITC_RDRATTR_TONE_FREQUENCY
S ITC_RDRATTR_GOOD_READ_BEEPS_NUMBER
S ITC_RDRATTR_GOOD_READ_BEEP_DURATION
See Also
S IBarCodeReaderControl::CancelReadRequest
S IBarCodeReaderControl::ControlLED
S IBarCodeReaderControl::Initialize
S IBarCodeReaderControl::IssueBeep
S IBarCodeReaderControl::Read
S IBarCodeReaderControl::SetAttribute
S IBarCodeReaderControl::TriggerScanner