Updated: October 28, 2024 |
#include <aoi.h> int32_t (*SetResource)(void *ctx, const char *resource, const void *data);
This function should set the value in a specific resource. You should be sure of the type of values you can set.
0 if successful, a non-zero value if an error occurred.