DWC_GdbUpdateRecordAsync

Syntax

#include <dwc.h>

DWCGdbError DWC_GdbUpdateRecordAsync(const char *table_name,
                                     int record_id,
                                     DWCGdbField *fields,
                                     int field_num);

Arguments

table_name Table name.
record_id ID of the record to update.
fields Array of fields to configure.
field_num Number of elements in fields.

Return Values

Error information.

Description

If the process is successful, the record specified by the record argument is updated and the fields specified by the fields argument are configured. The content of fields must be retained until the asynchronous process completes.

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