使用
在表格中指定數值。dtw_table_SetV() 公用程式函數的呼叫者會保留 src 參數所指之記憶體的所有權。 若要刪除表格數值,請將數值指定為 NULL。
格式
int dtw_table_SetV(void *table, char *src, int row, int col)
參數
table | 指向將要指定數值之表格的指標。 |
src | 指定給新數值的字串。 |
row | 新值的橫列號碼。 |
col | 新值的直欄號碼。 |
範例
void *myTable; char *myTableValue = "newValue"; rc = dtw_table_SetV(myTable, myTableValue, 3, 5);