API Guide
601355 Rev A API Functions 2-553
Functions
28 /* Note that the command handle is
not */
29 /* destroyed in this routine, but in
*/
30 /* vst_dispatch when final status is
received. */
31 cmd = VS_Command_Create();
32 /* validate the command handle */
33 if ( cmd != (VST_COMMAND_HANDLE)
NULL)
34 {
35 /* Send the command to the VolServ
software. */
36 /* Note that status is not
processed here. */
37 /* Instead, it is processed in the
*/
38 /* vst_dispatch routine. Also,
note that */
39 /* default values such as timeout,
value */
40 /* retry limit and priority are
set as */
41 /* default parameters. */
42 rc = VSCMD_ClearEject(cmd,
43 VSID_MEDIA_ID_LIST, count,
medialist,
44 VSID_ENDFIELD);
45 }
46
47 return ( rc );
48 }
Notes The API must be initialized with a call to VS_Initialize
before this function can be executed.
VolServ does not generate intermediate status messages in response to a ClearEject request.