VideoFile.sendCommand Method

Module: VideoFile

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 id3DevicesVideoFile_SendCommand (
    ID3_DEVICES_VIDEO_FILE hVideoFile,
    const char * cmd,
    void * arg,
    void * result)

Parameters

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