API Guide
2-142 API Functions 601355 Rev A
VS_Criteria_
SetFields VS_Criteria_SetFields sets the value of one or more
field in a criteria handle. A criteria handle is used to pass
criteria information to and from VolServ.
Synopsis VST_BOOLEAN VS_Criteria_SetFields
( 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 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_FIELD (VST_COUNT) Field number of the media statistic for this
criteria.
VSID_MOUNT_CRITERIA_ORDER
(VST_MOUNT_CRITERIA_ORDER) Sort ordering for the media that pass the given
criteria expressions.
VSID_EXPRESSION_HANDLE_ENTRY (int) Expression handle and its place in the criteria.
(VST_EXPRESSION_HANDLE) Expression handle for the criteria.