![](/images/backgrounds/207071/bgc8.png)
API Guide
2-150 API Functions 601355 Rev A
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
37 if ( grouph ==
(VST_CRITERIAGROUP_HANDLE) NULL )
38 {
39 /* out of memory -- return */
40 return (
(VST_CRITERIAGROUP_HANDLE) NULL
);
41 }
42
43 /* populate the criteria group with
criteria */
44 /* (upto 5) */