API Guide
601355 Rev A API Functions 2-171
Functions
105 /* add the expression to the
criteria */
106 VS_Criteria_SetFields (
criteriah,
107 VSID_EXPRESSION_HANDLE_ENTRY, j,
exprh,
108 VSID_ENDFIELD );
109
110 }
111 /* add the criteria to the
criteria group */
112 VS_CriteriaGroup_SetFields (
grouph,
113 VSID_CRITERIA_HANDLE_ENTRY, i,
criteriah,
114 VSID_ENDFIELD );
115 }
116
117 /* if it failed, destroy the criteria
group handle */
118 if ( rc == VSE_FALSE )
119 {
120 /* criteria group will destroy any
*/
121 /* criteria and their expressions
*/
122 /* for us */
123 VS_CriteriaGroup_Destroy ( grouph
);
124
125 grouph =
(VST_CRITERIAGROUP_HANDLE) NULL;
126 }
127
128 return ( grouph );
129}