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