API Guide
2-446 API Functions 601355 Rev A
VS_
TypeCapacity
_GetFields
VS_TypeCapacity_GetFields retrieves information
from a type capacity handle. A type capacity handle is used to
pass archive type capacity information from VolServ in
response to an Archive Query command request with the type
capacity option specified.
Synopsis
VST_BOOLEAN VS_TypeCapacity_GetFields
(VST_TYPECAPACITY_HANDLE handle,
“…”,
VSID_ENDFIELD)
Arguments • handle = The type capacity 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_ARCHIVE_ACTION
(VST_ARCHIVE_ACTION_OPTION*)
Pointer to the action taken by VolServ when
the number of media of this media type
classification reaches the high mark threshold
(migrate, notify, or none) in the archive. Valid
VSID_ARCHIVE_ACTION values are
enumerated in the vs_types.h file.