Programming Manual
55
SCAN_QueryStatus
Query current scanner setting.
BOOL SCAN_QueryStatus
{
int
nCommand1
,
int
nCommand2
,
char *
pReturn
}
Parameters
nCommand1
[in] See
scan command table
.
nCommand2
[in] See
scan command table
.
pReturn
[out] The current scanner setting. This buffer size must be large than 100.
Return Values
Return TRUE if the operation is successful, otherwise return FALSE.
Remarks
The pReturn value is depending on nCommand1 and nCommand2. The nCommand1 and nCommand2 decide
which scanner setting to be queried.
Example
char
*pValue;
pValue = (char *)new char[100];
memset(pValue, 0, 100);
//query Buzzer indication setting
SCAN_QueryStatus(5, 3, pValue);
Requirements
OS Versions:
Windows CE 5.0 and later.
Header:
scanapiax.h
Link Library:
scanapiax.lib
Link DLL:
scanapiax.dll
Device:
PT61