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