ThreadCmd.sendCmdWithEvent Method

Module: ThreadCmd

Definition

Issues a command that triggers an event upon completion, supporting synchronization with other thread activities.

int id3DevicesThreadCmd_SendCmdWithEvent (
    ID3_DEVICES_THREAD_CMD hThreadCmd,
    int cmd,
    int param1,
    int param2,
    void ** phevent)

Parameters

in Handle to the ThreadCmd object.

cmd int
in The command index.

param1 int
in The first command paramter.

param2 int
in The second command parameter.

phevent void **
out The event.

Returns

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