ThreadCmd.waitForCmdEnded Method

Module: ThreadCmd

Definition

Waits for a specified command to complete, offering mechanisms to poll command status and apply a timeout.

int id3DevicesThreadCmd_WaitForCmdEnded (
    ID3_DEVICES_THREAD_CMD hThreadCmd,
    void * hevent,
    int pooltime,
    int timeout)

Parameters

in Handle to the ThreadCmd object.

hevent void *
in The event.

pooltime int
in The pool time, in milliseconds.

timeout int
in The timeout, in milliseconds.

Returns

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