API Guide
2-54 API Functions 601355 Rev A
20 VST_ARCHIVE_NAME
Archive;
21 VST_MEDIA_CLASS_NAME
MediaClass;
22 VST_MEDIA_TYPE_NAME
MediaType;
23 VST_CAPACITY
Capacity;
24 VST_PERCENT
MediaClassPercent;
25 VST_ARCHIVE_ACTION_OPTION
ActionMode;
26 VST_HIGH_MARK
HighMark;
27 VST_LOW_MARK
LowMark;
28 VST_FILL_LEVEL
FillLevel;
29 VST_PRIORITY
MigrationPriority;
30 VST_ARCHIVE_NAME
TargetArchive;
31
32 /* create the handle */
33 h = VS_ArchiveMediaClass_Create();
34 if (h !=
(VST_ARCHIVEMEDIACLASS_HANDLE)
NULL)
35 {
36 /* get the values from the user */
37 printf(“** Archive Media Class
handle **\n”);
38 printf(“Enter Archive Name ==> “);
39 gets(Archive);
40 printf(“Enter Media Class Name ==>
“);
41 gets(MediaClass);
42 printf(“Enter Media Type Name ==>
“);
43 gets(MediaType);
44 printf(“Enter Capacity ==> “);
45 Capacity = atoi(gets(input));