ThreadCmd.stopThread Method

Module: ThreadCmd

Definition

Safely stops the thread, with an optional timeout to ensure the thread does not hang indefinitely.

int id3DevicesThreadCmd_StopThread (
    ID3_DEVICES_THREAD_CMD hThreadCmd,
    int timeoutMs)

Parameters

in Handle to the ThreadCmd object.

timeoutMs int
in The timeout in milliseconds.

Returns

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