BarcodeReader.sendModelCommand Method¶
Module: BarcodeReader
Definition¶
(C++/dotnet): Dispatches a command to the device model.
public void SendModelCommand(string command, IntPtr arg=default(IntPtr), IntPtr result=default(IntPtr))
Parameters
command
stringin The command to execute.arg
IntPtrin Optional argument for the command.result
IntPtrin Optional pointer to store the command’s result.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesBarcodeReader_SendModelCommand (
ID3_DEVICES_BARCODE_READER hBarcodeReader,
const char * command,
void * arg,
void * result)
Parameters
hBarcodeReader
ID3_DEVICES_BARCODE_READERin Handle to the BarcodeReader object.command
const char *in The command to execute.arg
void *in Optional argument for the command.result
void *in Optional pointer to store the command’s result.
Returns