BarcodeReader.sendCommand Method

Module: BarcodeReader

Definition

(C++/dotnet): Issues a command to the device.

public void SendCommand(string cmd, IntPtr arg=default(IntPtr), IntPtr result=default(IntPtr))

Parameters

cmd string
in The command to be sent.

arg IntPtr
in An optional argument for the command.

result IntPtr
in An optional pointer to store the command’s result.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesBarcodeReader_SendCommand (
    ID3_DEVICES_BARCODE_READER hBarcodeReader,
    const char * cmd,
    void * arg,
    void * result)

Parameters

in Handle to the BarcodeReader object.

cmd const char *
in The command to be sent.

arg void *
in An optional argument for the command.

result void *
in An optional pointer to store the command’s result.

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.