API Guide
2-102 API Functions 601355 Rev A
16 VST_BOOLEAN
vst_modarchivemediaclass_execute(
)
17 #endif
18 {
19 int i;
20 int count;
21 VST_BOOLEAN rc =
VSE_FALSE;
22 VST_ARCHIVE_NAME archive;
23 VST_MEDIA_CLASS_NAME
mediaclass;
24 VST_CAPACITY capacity;
25 VST_ARCHIVE_ACTION_OPTION action;
26 VST_HIGH_MARK highmark;
27 VST_LOW_MARK lowmark;
28 VST_PRIORITY migpri;
29 VST_ARCHIVE_NAME
targetarchive;
30 VST_TABLE_HANDLE
comphandletable;
31 VST_COMPONENT_HANDLE
comphandle;
32 VST_COMP_TYPE CompType =
VSE_COMPTYPE_COLUMN;
33 VST_COMPONENT_ID CompID;
34 VST_COMMAND_HANDLE cmd;
35
36 bzero ( CompID, sizeof (
VST_COMPONENT_ID ) );
37 /* get parameters from user */
38 printf(“*** Modify Archive Media
Class parameters ***\n” );
39 printf(“*** The archive media class
must exist. ***\n”);
40 printf(“Enter Archive Name ==> “ );
41 gets( archive ); archive media class
42 printf(“Enter Media Class Name ==> “
);
43 gets( mediaclass );
44 printf(“Enter Capacity Percent ==> “
);