API Guide
2-202 API Functions 601355 Rev A
33 {
34 VS_Table_GetFields(DriveHandleTab
le,
35 VSID_NUMBER_ENTRIES, &n,
36 VSID_ENDFIELD);
37 for ( i = 0; i < n; i++)
38 {
39 VS_Table_GetFields(DriveHandleTab
le,
40 VSID_TABLE_ENTRY, i,
&DriveHandle,
41 VSID_ENDFIELD);
42 vst_print_drive(DriveHandle);
43 }
44 }
45 }
Notes The VSID_DRIVE_HANDLE_ENTRY parameter requires that
two arguments be passed instead of one. The first argument
passed is the entry number in the drive pool table. The second
argument is a pointer to the location where the value is stored.
See Also vsapi(l),
VS_DrivePool_Create(l),
VS_DrivePool_Destroy(l),
VS_DrivePool_SetFields(l),
VS_Error_GetFields(l),
VS_Table_GetFields(l)
Note
If the argument list does not end with VSID_ENDFIELD,
unpredictable results occur.