API Guide
2-648 API Functions 601355 Rev A
86 /* Note that the command handle is
not */
87 /* destoyed in this routine, but in
*/
88 /* vst_dispatch when final status is
received. */
89 cmd = VS_Command_Create();
90 if ( cmd != (VST_COMMAND_HANDLE)
NULL)
91 {
92 /* Send the command to the VolServ
software. */
93 /* Note that status is not
processed here. */
94 /* Instead, it is processed in the
*/
95 /* vst_dispatch routine. Also,
note that */
96 /* default values such as timeout,
value */
97 /* retry limit and priority are
set as */
98 /* default parameters. */
99 rc = VSCMD_DriveVary(cmd,
100 VSID_ENDFIELD);
101 }
102 return ( rc );
103}
Notes The API must be initialized with a call to VS_Initialize
before this function can be executed.
VolServ can generate intermediate status in response to a Drive
Vary request.
VSCMD_DriveVary does not trigger any MediaClass
callbacks from VolServ.
If a list of media specified in a Drive Vary request contains
media of more than one type, the request fails.