API Guide
2-136 API Functions 601355 Rev A
VS_Criteria_
GetFields VS_Criteria_GetFields retrieves information
associated with a criteria handle. A criteria group handle is used
to pass criteria information to and from VolServ.
Synopsis VST_BOOLEAN VS_Criteria_GetFields
( VST_CRITERIA_HANDLE handle,
“…”,
VSID_ENDFIELD )
Arguments handle = Criteria handle where information is stored.
“…” = 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_NUMBER_ENTRIES (VST_COUNT *) Pointer to the number of expression handles
within this criteria handle.
VSID_FIELD (VST_COUNT *) Pointer to the field number of the media
statistic for this criteria.
VSID_MOUNT_CRITERIA_ORDER
(VST_MOUNT_CRITERIA_ORDER*) Pointer to the sort ordering for the media that
pass the given criteria expressions.
VSID_EXPRESSION_HANDLE_ENTRY (int) Expression handle and its place in the criteria.