API Guide
601355 Rev A API Functions 2-267
Functions
VS_Media_
SetFields VS_Media_SetFields sets the value of one or more fields
associated with a media handle. A media handle is used to pass
media information to and from VolServ.
Synopsis VST_BOOLEAN VS_Media_SetFields
(VST_MEDIA_HANDLE handle,
“…”,
VSID_ENDFIELD)
Arguments handle = The media 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 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_ACTION_STATE
(VST_ACTION_STATE) Action state associated with this medium.
Valid VSID_ACTION_STATE values are
enumerated in the vs_types.h file.
VSID_ASSIGNMENT (VST_ASSIGNMENT) Current assignment of this medium. Valid
VSID_ASSIGNMENT values are enumerated
in the vs_types.h file.