Camera.sendModelCommand Method

Module: Camera

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 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 id3DevicesCamera_SendModelCommand (
    ID3_DEVICES_CAMERA hCamera,
    const char * command,
    void * arg,
    void * result)

Parameters

in Handle to the Camera 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

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