ADIC Digital Camera 601355 Rev A User Manual
![ADIC](https://files.manualsbrain.com/attachments/cf11d1ae1677d4ce2eb7318032458e0be2f8f426/common/fit/150/50/ca4d6d95f98f6c218e1ea20724a8eb953ab4aa2d5d9313cf74930d8d6a84/brand_logo.jpeg)
API Guide
2-428
API Functions
601355 Rev A
36 VS_Table_CreateAddEntry(tableh,
&i, sizeof(VST_DRIVE_ID));
37 }
38
/* get the number of entries in the
table */
39 VS_Table_GetFields(tableh,
40 VSID_NUMBER_ENTRIES,
&numentries,
41 VSID_ENDFIELD);
42
/* loop through the table and print
the entries */
43
for (i = 0; i < numentries; i++)
44 {
45 VS_Table_GetFields(tableh,
46
VSID_TABLE_ENTRY, i, &ip,
47 VSID_ENDFIELD);
48
/* remove the entry from the table
*/
49 VS_Table_RemoveEntry(tableh,
ip);
50
/* set this entry to a NULL
pointer */
51 VS_Table_SetFields(tableh,
52
VSID_TABLE_ENTRY, i, NULL,
53
VSID_ENDFIELD);
54
/* print the value retrieved from
the table */
55
printf(“Drive ID #%d = %d\n”, i,
*ip);
56 }
57
/* destroy the table */
58 VS_Table_Destroy(tableh);
59 return(rc);
60 }