API Guide
601355 Rev A API Functions 2-309
Functions
VS_
MediaType_
SetFields
VS_MediaType_SetFields sets the value for one or more
fields 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_SetFields
(VST_MEDIATYPE_HANDLE handle,
“…”,
VSID_ENDFIELD)
Arguments handle = The media type handle where information is
stored or updated.
“…” = Variable length argument list consisting of pairs of
arguments. Each pair of arguments consists of a parameter
identifier, followed by the value to be used as a command
default value for the field. 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_MEDIA_TYPE_CAPACITY
(VST_MEDIA_TYPE_CAPACITY) Capacity (in megabytes) of a medium
belonging to this media type classification.
VSID_MEDIA_TYPE_NAME
(VST_MEDIA_TYPE_NAME) Name of this media type classification.
Valid media type names may contain up to 16
alphanumeric characters, including spaces.
No leading or trailing spaces are permitted.