API Guide
601355 Rev A API Functions 2-327
Functions
74
75 VS_Mount_GetFields ( mounth,
76 VSID_MEDIA_ID_TABLE,
&tableh,
77 VSID_ENDFIELD );
78
79 VS_Table_GetFields ( tableh,
80 VSID_NUMBER_ENTRIES,
&size,
81 VSID_ENDFIELD );
82
83 for ( i = 0 ; i < size ; i++ )
84 {
85 VS_Table_GetFields (
tableh,
86 VSID_TABLE_ENTRY, i,
&mediaid,
87 VSID_ENDFIELD );
88
89 printf ( “%s”, mediaid );
90 }
91 break;
92 case VSE_MEDIA_SELECT_CLASS:
93 VS_Mount_GetFields(mounth,
94 VSID_MEDIA_CLASS_NAME,
mediaclass,
95 VSID_ENDFIELD);
96 printf( “Media Class: %s\n”,
mediaclass);
97
98 if (mountopt &
VSD_MOUNT_OPTION_RECLASS)
99 {
100 VS_Mount_GetFields(mounth,
101 VSID_TARGET_MEDIA_CLASS_NAME,
targetmediaclass,
102 VSID_ENDFIELD );
103 printf(“Target Media Class:
%s\n”, targetmediaclass );
104 }