API Guide
601355 Rev A API Functions 2-261
Functions
VS_Media_
GetFields VS_Media_GetFields retrieves information associated
with a media handle. A media handle is used to pass media
information to and from VolServ.
Synopsis VST_BOOLEAN VS_Media_GetFields
(VST_MEDIA_HANDLE handle,
“…”,
VSID_ENDFIELD)
Arguments handle = The media 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_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.