API Guide
601355 Rev A API Functions 2-291
Functions
VS_
MediaClass_
SetFields
VS_MediaClass_SetFields sets the value for one or
more fields in a specified MediaClass handle. A MediaClass
handle is used to pass MediaClass information to and from
Vol S e rv .
Synopsis VST_BOOLEAN VS_MediaClass_SetFields
(VST_MEDIACLASS_HANDLE handle,
“…”,
VSID_ENDFIELD)
Arguments handle = The MediaClass handle where the information is
stored.
“…” = Variable length argument list consisting of pairs of
arguments. Each pair of arguments consists of a parameter
identifier, followed by the value of the field to store. 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) Maximum number of media allowed in this
MediaClass group.
VSID_CLASS_MOUNT_STATE
(VST_CLASS_MOUNT_STATE) Indicates whether this MediaClass group
supports the “mount by MediaClass”
functionality. Valid values for this field are
enumerated in the vs_types.h file.