ThreadCmd.sendCmdBuffer Method

Module: ThreadCmd

Definition

Sends a command along with a data buffer, optionally specifying if the buffer should be released after execution.

int id3DevicesThreadCmd_SendCmdBuffer (
    ID3_DEVICES_THREAD_CMD hThreadCmd,
    int cmd,
    void * buffer,
    bool freebuf)

Parameters

in Handle to the ThreadCmd object.

cmd int
in The command index.

buffer void *
in The input data buffer.

freebuf bool
in A value indicating whether the input buffer should be freed.

Returns

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