API Guide
2-736 API Functions 601355 Rev A
42 /* Note that status is not
processed here. */
43 /* Instead, it is processed in the
*/
44 /* vst_dispatch routine. Also,
note that */
45 /* default values such as
timeout,*/
46 /* value retry limit and priority
are set as */
47 /* default parameters. */
48 rc = VSCMD_MediaQuery(cmd,
49 VSID_QRY_OPTION, queryopt,
50 VSID_MEDIA_ID_LIST, count,
medialist,
51 VSID_ENDFIELD);
52 }
53 return ( rc );
54 }
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 Media
Query request.
VSCMD_MediaQuery does not trigger any MediaClass
callbacks from VolServ.
The VSID_MEDIA_ID_LIST parameter requires that two
arguments be passed instead of one.
When information is requested for more than one media, the
grouped information is returned in one or more intermediate
status messages.
A Media Query can query any media in the VolServ system.
Media specified in a single Media Query request are not
required to be located in the same archive.