API Guide
601355 Rev A API Functions 2-163
Functions
21 int numcrit =
0;
22 int numexpr =
0;
23
24 VST_EXPRESSION_HANDLE exprh =
(VST_EXPRESSION_HANDLE) NULL;
25 VST_CRITERIA_HANDLE criteriah =
(VST_CRITERIA_HANDLE) NULL;
26
27 VST_COUNT field;
28 VST_MOUNT_CRITERIA_ORDER sort;
29 VST_MEDIA_STAT_VALUE value;
30 VST_MOUNT_CRITERIA_OPT relopt;
31 VST_CONNECTIVE_OP conop;
32
33 /* get the number of criteria within
this group */
34 VS_CriteriaGroup_GetFields ( grouph,
35 VSID_NUMBER_ENTRIES, &numcrit,
36 VSID_ENDFIELD );
37
38 for ( i = 0 ; i < numcrit ; i++ )
39 {
40 /* get the criteria to print */
41 VS_CriteriaGroup_GetFields (
grouph,
42 VSID_CRITERIA_HANDLE_ENTRY, i,
&criteriah,
43 VSID_ENDFIELD );
44
45 /* get the criteria parameters */
46 VS_Criteria_GetFields (
criteriah,
47 VSID_FIELD,
&field,
48 VSID_MOUNT_CRITERIA_ORDER,
&sort,
49 VSID_NUMBER_ENTRIES,
&numexpr,
50 VSID_ENDFIELD );
51