DeviceManager.sendDeviceModelCommand Method

Module: DeviceManager

Definition

(C++/dotnet): Dispatches a command to a specific device model.

public static void SendDeviceModelCommand(string modelName, string command, IntPtr arg=default(IntPtr), IntPtr result=default(IntPtr))

Parameters

modelName string
in The target device model.

command string
in The command to execute.

arg IntPtr
in Optional argument for the command.

result IntPtr
in Optional pointer to store the command’s result.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesDeviceManager_SendDeviceModelCommand (
    const char * modelName,
    const char * command,
    void * arg,
    void * result)

Parameters

modelName const char *
in The target device model.

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

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