API Guide
601355 Rev A API Functions 2-91
Functions
96 /* create the command handle */
97 /* Note that the command handle is
not */
98 /* destroyed in this routine, */
99 /* but in vst_dispatch */
100 /* when final status is received. */
101 cmd = VS_Command_Create();
102 if (cmd != (VST_COMMAND_HANDLE )NULL)
103 {
104 /* Send the command to the VolServ
software. */
105 /* Note that status is not
processed here. */
106 /* Instead, it is processed in the
vst_dispatch */
107 /* routine. Also, note that
default values such */
108 /* as timeout, value retry limit
and priority */
109 /* are set as default parameters.
*/
110 rc =
VSCMD_ModifyArchiveMediaClass(cmd
,
111 VSID_ARCHIVE_NAME,
archive,
112 VSID_MEDIA_CLASS_NAME,
mediaclass,
113 VSID_HIGH_MARK,
highmark,
114 VSID_LOW_MARK,
lowmark,
115 VSID_CAPACITY,
capacity,
116 VSID_ENDFIELD);
117 }
118 return ( rc );
119}
Notes None