API Guide
2-750 API Functions 601355 Rev A
54 VSID_QRY_OPTION,
queryopt,
55 VSID_MEDIA_TYPE_LIST, count,
mediatypelist,
56 VSID_ENDFIELD);
57 }
58 else
59 {
60 /* query all media types */
61 rc = VSCMD_MediaTypeQuery(cmd,
62 VSID_QRY_OPTION, queryopt,
63 VSID_ENDFIELD);
64 }
65 }
66 else
67 {
68 rc = VSE_FALSE;
69 }
70 return ( rc );
71 }
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
Type Query request.
Media Type Query status are cumulative. Each status is added
to the previous status; therefore, after the final status, the status
handle contains all desired information.
VSCMD_MediaTypeQuery does not trigger any MediaClass
callbacks from VolServ.
The VSID_MEDIA_TYPE_LIST parameter requires that two
arguments be passed instead of one.