API Guide
601355 Rev A API Functions 2-901
Functins
61 VSCMD_ModifyArchiveMediaClass_Set
Defaults (
62 VSID_TARGET_ARCHIVE_NAME,
targetarchive,
63 VSID_MIGRATION_PRIORITY,
migpri,
64 VSID_ENDFIELD );
65 }
66
67 printf(“How many prefered placements
(0 to skip): “);
68 count = atoi(gets(input));
69 if (count > 0)
70 {
71 comphandletable =
VS_Table_Create(VSE_COMPONENT_HAN
DLE, count);
72 if (comphandletable ==
(VST_TABLE_HANDLE) NULL)
73 {
74 return (VSE_FALSE);
75 }
76 for (i = 0; i < count; i++)
77 {
78 printf(“Enter row #%d:”, i +
1);
79 CompID[0] = (short)
atoi(gets(input));
80 printf(“Enter column #%d:”, i +
1);
81 CompID[1] = (short)
atoi(gets(input));
82 CompID[2] = 0;
83 CompID[3] = 0;
84 comphandle =
VS_Component_Create();
85 VS_Component_SetFields(comphandle
,
86 VSID_COMP_TYPE,
CompType,