API Guide
601355 Rev A API Functions 2-723
Functions
60 else
61 {
62 /* query all media classes */
63 rc =
VSCMD_MediaClassQuery(cmd,
64 VSID_QRY_OPTION,
queryopt,
65
VSID_CLASS_QRY_OPTION,
querylistopt,
66 VSID_ENDFIELD);
67 }
68 }
69 return ( rc );
70 }
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
MediaClassQuery request.
VSCMD_MediaClassQuery does not trigger any
MediaClass callbacks from VolServ.
When all media classes are requested, each MediaClass status is
reported in a group of one or more intermediate status
messages.
If a request for MediaClass status determines there is no
MediaClass status on which to report, the status message
returns a STATUS_FAIL with error of ERR_NOTFOUND.
The total length of time the API software waits for a command
status in synchronous mode from VolServ is
(VSID_RETRY_LIMIT plus 1) multiplied by
VSID_TIMEOUT_VALUE.