API Guide
601355 Rev A API Functions 2-411
Functions
86 VS_Component_SetFields(comphandle
,
87 VSID_COMP_TYPE,
CompType,
88 VSID_COMP_ID,
CompID,
89 VSID_ENDFIELD);
90 VS_Table_AddEntry(comphandletable
,comphandle);
91 }
92 /* This also only needs to be set
if it is */
93 /* actually being used. */
94 /* It is not needed otherwise. */
95 VSCMD_CreateArchiveMediaClass_Set
Defaults(
96 VSID_COMPONENT_HANDLE_TABLE,
comphandletable,
97 VSID_ENDFIELD);
98 }
99
100 /* create the command handle */
101 /* Note that the command handle is not
destroyed*/
102 /* in this routine, but in
vst_dispatch when */
103 /* final status is received. */
104 cmd = VS_Command_Create();
105 if (cmd != (VST_COMMAND_HANDLE )NULL)
106 {
107 /* Send the command to the VolServ
software. */
108 /* Note that status is not
processed here. */
109 /* Instead, it is processed in the
vst_dispatch */
110 /* routine. Also, note that
default values */