API Guide
601355 Rev A API Functions 2-133
Functions
98 VSID_CRITERIA_HANDLE_ENTRY,
i, criteriah,
99 VSID_ENDFIELD );
100 }
101 /* if it failed, destroy the criteria
group handle */
102 if ( rc == VSE_FALSE )
103 {
104 /* criteria group will destroy any
*/
105 /* criteria and their expressions
*/
106 /* for us, so the only thing that
is really */
107 /* needed here is a call to*/
108 /* VS_CriteriaGroup_Destroy. This
is written*/
109 /* out the ’long way’ for
documentation*/
110 /* purposes. First, get the number
of criteria */
111 VS_CriteriaGroup_GetFields(grouph
,
112 VSID_NUMBER_ENTRIES,
&numcrit,
113 VSID_ENDFIELD);
114 for (i = 0; i < numcrit; i++)
115 {
116 /* get a criteria handle */
117 VS_CriteriaGroup_GetFields(grouph
,
118 VSID_CRITERIA_HANDLE_ENTRY,
i, &criteriah,
119 VSID_ENDFIELD);
120 /* get the number of
expressions */
121 VS_Criteria_GetFields(criteriah,
122 VSID_NUMBER_ENTRIES,
&numexpr,