beautypg.com

Scan_sendcommand – Argox PT-9130 User Manual

Page 204

background image

PT-90 Mobile Computer SDK Programming Manual 197

SCAN_SendCommand

To Send scanner command to change the scanner status.

BOOL SCAN_SendCommand

{

int

nCommand1

,

int

nCommand2

,

char *

pValue

}

Parameters

nCommand1

[in] See

scan command table

.

nCommand2

[in] See

scan command table

.

pValue

[in] See

scan command table

.

Returned Values

Returning TRUE if the operation is successful, otherwise, return FALSE.

Example

//Enable Buzzer indication setting

if(SCAN_SendCommand(5, 3, “1”))

AfxMessageBox(_T("Setup complete"));

else

AfxMessageBox(_T("Setup false"));

Requirements

OS Versions: Windows CE 6.0 or beyond.

Header: scanapiax.h

Link Library: scanapiax.lib

Link DLL: scanapiax.dll
Device: PT90