#include <dwc.h>DWCGdbError DWC_GdbRateRecordAsync(const char *table_name,
int record_id,
u8 rating);| table_name | Table name. |
| record_id | The ID of the record you want to rate. |
| rating | The rating you want to assign. |
Error information.
If the process is successful, the numerical value (0 - 255) specified by the rating argument is assigned to the record specified by the record_id argument. Users can perform this rating on records that are not their own, but a user cannot rate the same record twice.
If the DWC_GDB_ERROR_NONE value is returned, the asynchronous process has started. Wait until the DWC_GdbGetState function stops returning DWC_GDB_STATE_IN_ASYNC_PROCESS.
You can get the result using the DWC_GdbGetAsyncResult function.
CONFIDENTIAL