ADIC 601355 Rev A Benutzerhandbuch
API Guide
2-326
API Functions
601355 Rev A
41 VSID_MOUNT_OPTION,
&mountopt,
42 VSID_ENDFIELD
);
43
44
printf(“**** Mount Handle Values
****\n”);
45
switch ( driveselect )
46 {
47 case
VSE_DRIVE_SELECT_ID:
48
VS_Mount_GetFields ( mounth,
49 VSID_DRIVE_ID,
&driveid,
50 VSID_ENDFIELD
);
51
printf ( “Drive ID: %d\n”,
driveid );
52 break;
53 case
VSE_DRIVE_SELECT_POOL:
54
VS_Mount_GetFields ( mounth,
55 VSID_DRIVEPOOL_NAME,
drivepool,
56 VSID_ENDFIELD
);
57
printf ( “Drive Pool: %s\n”,
drivepool );
58 break;
59 default:
60
printf ( “error
…
incorrect
drive select value\n”);
61 break;
62 }
63
64
switch ( mediaselect )
65 {
66 case
VSE_MEDIA_SELECT_ID:
67
VS_Mount_GetFields ( mounth,
68 VSID_MEDIA_ID,
mediaid,
69 VSID_ENDFIELD
);
70
printf ( “Media ID: %s\n”,
mediaid );
71 break;
72 case
VSE_MEDIA_SELECT_LIST:
73
printf ( “Media List:\n” );