API Guide
2-438 API Functions 601355 Rev A
13 VST_BOOLEAN
vst_typecapacity_handle(void)
14 #else
15 VST_BOOLEAN
vst_typecapacity_handle()
16 #endif
17 {
18 VST_BOOLEAN rc =
VSE_FALSE;
19 VST_TYPECAPACITY_HANDLE h;
20 VST_MEDIA_TYPE_NAME
MediaType;
21 VST_CAPACITY Capacity;
22 VST_HIGH_MARK
HighMarkPercent;
23 VST_LOW_MARK
LowMarkPercent;
24 VST_FILL_LEVEL
FillLevel;
25 int AssignedBins;
26 VST_ARCHIVE_ACTION_OPTION
ActionOpt;
27 VST_BOOLEAN
AutoCheckinFlag;
28 VST_BOOLEAN
AutoImportFlag;
29 VST_BATCH_NAME
ImportBatch;
30 VST_MANUFACTURER_NAME
ImportManufacturer;
31 VST_MEDIA_CLASS_NAME
ImportClass;
32
33 /* create the handle */
34 h = vS_TypeCapacity_Create();
35 if (h != (VST_TYPECAPACITY_HANDLE)
NULL)
36 {
37 /* get values from user */
38 printf(“Enter media type name ==>
“);
39 gets(MediaType);