beautypg.com

Scan_querystatus – Argox PT-9130 User Manual

Page 203

background image

PT-90 Mobile Computer SDK Programming Manual 196

SCAN_QueryStatus

To Query current scanner settings.

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 settings. This buffer size must be larger than 100.

ReturnedValues

Returning 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 settings 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 6.0 or beyond.

Header: scanapiax.h

Link Library: scanapiax.lib

Link DLL: scanapiax.dll
Device: PT90