ThreadCommandCallback Callback

Definition

(C++) Callback for processing individual commands within a thread, supporting complex thread-based operations.

typedef int (* id3DevicesThreadCommandCallback) (
    void * context,
    const id3DevicesThreadCommandData * sCommand,
    void * arg)

Parameters

context void *
in The callback context.

in Encapsulated data for the command to be processed by the thread.

arg void *
in Provides a generic pointer to additional data or arguments relevant to the command.

Returns

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