API Guide
601355 Rev A API Functions 2-305
Functions
VS_
MediaType_
GetFields
VS_MediaType_GetFields retrieves information
associated with a media type handle. A media type handle is
used to pass media type information to and from VolServ.
Synopsis
VST_BOOLEAN VS_MediaType_GetFields
(VST_MEDIATYPE_HANDLE handle,
“…”
VSID_ENDFIELD)
Arguments • handle = The media type 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.
Parameters
Parameter Type Description
VSID_MEDIA_TYPE_CAPACITY
(VST_MEDIA_TYPE_CAPACITY *)
Pointer to the capacity (in megabytes) of a
medium belonging to this media type
classification.
VSID_MEDIA_TYPE_NAME
(VST_MEDIA_TYPE_NAME)
Pointer to the name of this media type
classification. Valid media type names may
contain up to 16 alphanumeric characters,
including spaces.