API Guide
601355 Rev A API Functions 2-283
Functions
VS_
MediaClass_
GetFields
VS_MediaClass_GetFields retrieves information
associated with a MediaClass handle. A MediaClass handle is
used to pass MediaClass information to and from VolServ.
Synopsis VST_BOOLEAN VS_MediaClass_GetFields
(VST_MEDIACLASS_HANDLE handle,
“…”,
VSID_ENDFIELD)
Arguments handle = The MediaClass handle where information is
retrieved.
“…” = Variable length argument list consisting of pairs of
arguments. Each pair of arguments consists of a parameter
identifier, followed by a pointer to a location where the
value of the parameter may be stored. The parameter
identifiers and types this function accepts are shown in the
following "Parameters" paragraph.
VSID_ENDFIELD = Required at the end of the variable
length argument list to indicate the end of the list.
Parame ters
Parameter Type Description
VSID_CAPACITY (VST_CAPACITY *) Pointer to the maximum number of media
allowed in this MediaClass group.
VSID_CLASS_MOUNT_STATE
(VST_CLASS_MOUNT_STATE *) Pointer that indicates whether this MediaClass
group supports the “mount by MediaClass”
functionality. Valid
VSID_CLASS_MOUNT_STATE values are
enumerated in the vs_types.h file.