DWC_GdbCreateRecordAsync

Syntax

#include <dwc.h>

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

Arguments

table_name Table name.
fields Array of fields to be set.
field_num  Number of elements in fields.
record_id Pointer storing the record ID.

Return Values

Error information.

Description

If the process is successful, a new record is created in the table and the fields specified in the arguments are configured.
The content in these 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