API Guide
601355 Rev A API Functions 2-185
Functions
50 printf(“******Drive
Handle******\n”);
51 printf(“Drive ID = %dDriveType =
%d\n”,DriveID,DriveType);
52 printf(“ArchiveName =
%s\n”,ArchiveName);
53 printf(“Comp State = %dAssignment =
%d\n”,ComponentState,Assignment);
54 printf(“Mount State = %dUsageCount =
%d\n”,MountState,UsageCount);
55 printf(“Current Usage = %dTotal
Usage = %d\n”, CurrentTime,
TotalTime);
56 printf(“Error Count = %d\n”,
ErrorCount );
57 printf(“MediaID =
%s\n”,MountedMediaID);
58
59 /* DrivePoolQuery Doesn’t use this
Field */
60 if (MediaTypeTable !=
(VST_TABLE_HANDLE)NULL)
61 {
62 VS_Table_GetFields(MediaTypeTable
,
63 VSID_NUMBER_ENTRIES, &n,
64 VSID_ENDFIELD);
65 for ( i = 0; i < n; i++)
66 {
67 VS_Table_GetFields(MediaTypeTable
,
68 VSID_TABLE_ENTRY, i,
&MediaType,
69 VSID_ENDFIELD);
70 printf(“MediaType Entry #%d =
%s\n”,i,MediaType);
71 }
72 }
73 }