API Guide
601355 Rev A API Functions 2-333
Functions
VSE_ERR_OUTOFRANGE - Specified entry does not exist in the table’s range of values.
Example 1 /****************************************
*********
2*
3 * FUNCTION: vst_create_mount_handle
4*
5 * PURPOSE:
6 * This function creates the mount handle
and sets the
7 * values in it according to user input.
8*
9 * PARAMETERS:
10 * none
11 *
12 ****************************************
*********/
13 #ifdef ANSI_C
14 VST_MOUNT_HANDLE
vst_create_mount_handle ( void )
15 #else
16 VST_MOUNT_HANDLE
vst_create_mount_handle ()
17 #endif
18 {
19 int i;
20 int entry;
21 VST_DRIVE_ID driveid;
22 VST_DRIVE_POOL_NAME
drivepool;
23 VST_MEDIA_ID mediaid;
24 VST_MEDIA_CLASS_NAME
mediaclass;
25 VST_MOUNT_HANDLE mounth;
26 VST_CRITERIAGROUP_HANDLE grouph;
27
28 /* create the handle */
29 mounth = VS_Mount_Create();
30 if ( mounth == (VST_MOUNT_HANDLE)
NULL )