API Guide
2-104 API Functions 601355 Rev A
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,
87 VSID_COMP_ID,
CompID,
88 VSID_ENDFIELD);
89 VS_Table_AddEntry(comphandletable
,comphandle);
90 }
91 VSCMD_ModifyArchiveMediaClass_Set
Defaults(
92 VSID_COMPONENT_HANDLE_TABLE,
comphandletable,
93 VSID_ENDFIELD);
94 }
95 /* create the command handle */
96 /* Note that the command handle is
not */