Chapter
6
—
Scanner Support
162
IADC::QueryAttribute
This function retrieves a specified attribute that is device-independent.
The specified attribute can be a grid or multiclient enable status.
Syntax
HRESULT IADC::QueryAttribute (
ITC_ADC_ATTRIBUTE_ID eAttribID, BYTE rgbBuffer[], DWORD
dwBufferSize, DWORD *pnBufferData );
Parameters
eAttribID
[in]
rgbBuffer
[out]
dwBufferSize
[in]
pnBufferData [out]
Return Values
HRESULT that indicates success or failure.
Remarks
None.
See Also
S IADC::CancelReadRequest
S IADC::Initialize
S IADC::QueryData
S IADC::Read
S IADC::SetAttribute
Specifies the attribute. Only one attribute can be
queried at a time. See IADC::SetAttribute.
Contains buffer for the attribute to be queried.
The structure of lpBuffer depends on the
attribute being queried. See IADC::SetAttribute
for a description of these structures.
The maximum number of bytes rgbBuffer can
store.
Pointer to the DWORD location to put the
number of bytes stored in rgbBuffer.
700 Series Color Mobile Computer User's Manual