DeviceModelCommandCallback Callback¶
Definition¶
(C++) Callback for sending commands to a device model, typically used within device plugins.
typedef int (* id3DevicesDeviceModelCommandCallback) (
void * context,
const char * command,
void * arg,
void * result)
Parameters
context void *in The callback context.
command const char *in Specific command to be sent to the device model.
arg void *in Optional argument for the command, used for command-specific data.
result void *in Optional pointer for storing the result of the command execution.
Returns