API Guide
2-130 API Functions 601355 Rev A
12 *
13 ****************************************
*********/
14 #ifdef ANSI_C
15 VST_CRITERIAGROUP_HANDLE
vst_create_mount_criteria(void)
16 #else
17 VST_CRITERIAGROUP_HANDLE
vst_create_mount_criteria()
18 #endif
19 {
20 int i;
21 int j;
22 int numcrit;
23 int numexpr;
24 VST_BOOLEAN rc =
VSE_TRUE;
25 VST_EXPRESSION_HANDLE exprh;
26 VST_CRITERIA_HANDLE
criteriah;
27 VST_CRITERIAGROUP_HANDLE grouph;
28 VST_COUNT field;
29 VST_MOUNT_CRITERIA_ORDER sort;
30 VST_MEDIA_STAT_VALUE value;
31 VST_MOUNT_CRITERIA_OPT relopt;
32 VST_CONNECTIVE_OP conop;
33
34 /* create the criteria group */
35 grouph = VS_CriteriaGroup_Create();
36 if ( grouph ==
(VST_CRITERIAGROUP_HANDLE) NULL )
37 {
38 /* out of memory -- return */
39 return (
(VST_CRITERIAGROUP_HANDLE) NULL
);
40 }
41 /* populate the criteria group with
criteria */
42 /* (upto 5) */
43 printf ( “Enter number of Criteria in
group ==> “ );