#include <dwc.h>DWCGdbError DWC_GdbGetRecordsAsync(const char *table_name,
const int *record_ids,
int record_num,
const char **field_names,
int field_num,
DWCGdbGetRecordsCallback callback,
void *user_param);| table_name | Table name. |
| record_ids | The array of IDs of the records you want to get. |
| record_num | Number of elements in record_ids. |
| field_names | Array of names of the fields you want to get. |
| field_num | Number of elements in field_names. |
| callback | The callback that will receive the records. |
| user_param | Arbitrary value passed to the callback. |
Error information.
If the process is successful, the callback function specified by the callback argument is called and the records whose IDs are specified by the record_ids argument can be received. Be aware that if the process fails, the callback will not be called.
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