API Guide
2-614 API Functions 601355 Rev A
16 VST_BOOLEAN
vst_createarchivemediaclass_execu
te()
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(“*** Create Archive Media
Class parameters ***\n” );
39 printf(“Enter Archive Name ==> “ );
40 gets( archive );
41 printf(“Enter Media Class Name ==> “
);
42 gets( mediaclass );
43 printf(“Enter Capacity Percent ==> “
);
44 capacity = atoi(gets(input));