DWC_GdbSearchRecordsAsync

Syntax

#include <dwc.h>

DWCGdbError DWC_GdbSearchRecordsAsync(const char *table_name,
                                      const char **field_names,
                                      int field_num,
                                      const DWCGdbSearchCond *search_cond,
                                      DWCGdbGetRecordsCallback callback,
                                      void *user_param);

Arguments

table_name Table name.
field_names Array of names of the fields you want to get.
field_num Number of elements in field_names.
search_cond Search conditions.
callback The callback that will receive the records.
user_param Arbitrary value passed to the callback.

Return Values

Error information.

Description

If the process is successful, the callback function specified by the callback argument is called and the records resulting from the search 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.

Revision History


CONFIDENTIAL