API Guide
2-184 API Functions 601355 Rev A
20 VST_DRIVE_ID DriveID;
21 VST_DRIVE_TYPE DriveType;
22 VST_ARCHIVE_NAME ArchiveName;
23 VST_COMP_STATE ComponentState;
24 VST_ASSIGNMENT Assignment;
25 VST_MOUNT_STATE MountState;
26 VST_USAGE_COUNT UsageCount;
27 VST_USAGE CurrentTime;
28 VST_USAGE TotalTime;
29 VST_COUNT ErrorCount;
30 VST_MEDIA_ID MountedMediaID;
31 char * MediaType;
32 VST_TABLE_HANDLE MediaTypeTable;
33 int i;
34 int n;
35
36 VS_Drive_GetFields(h,
37 VSID_DRIVE_ID,
&DriveID,
38 VSID_DRIVE_TYPE,
&DriveType,
39 VSID_ARCHIVE_NAME,
ArchiveName,
40 VSID_COMP_STATE,
&ComponentState,
41 VSID_ASSIGNMENT,
&Assignment,
42 VSID_MOUNT_STATE,
&MountState,
43 VSID_USAGE_COUNT,
&UsageCount,
44 VSID_USAGE_TIME,
&CurrentTime,
45 VSID_TOTAL_USAGE_TIME,
&TotalTime,
46 VSID_ERROR_COUNT,
&ErrorCount,
47 VSID_MEDIA_ID,
MountedMediaID,
48 VSID_MEDIA_TYPE_TABLE,
&MediaTypeTable,
49 VSID_ENDFIELD);