API Guide
601355 Rev A API Functions 2-353
Functions
63 case VSE_NOTIFY_EJECT:
64 case VSE_NOTIFY_CHECKIN:
65 case VSE_NOTIFY_CHECKOUT:
66 case VSE_NOTIFY_RECLASSIFY:
67 /* media callbacks */
68 /* -- print the media table */
69 if (type ==
VSE_NOTIFY_RECLASSIFY)
70 {
71 printf(“New Media Class =
%s\n”, newclass);
72 }
73 if ( mt != (VST_TABLE_HANDLE)
NULL )
74 {
75 VS_Table_GetFields ( mt,
76 VSID_NUMBER_ENTRIES, &n,
77 VSID_ENDFIELD );
78 for ( i = 0 ; i < n ; i++ )
79 {
80 VS_Table_GetFields ( mt,
81 VSID_TABLE_ENTRY, i, &mid,
82 VSID_ENDFIELD
);
83 printf(“Media ID Entry #
%d = %s\n“,
i, mid );
84 }
85 }
86 break;
87 case VSE_NOTIFY_MOUNT:
88 case VSE_NOTIFY_DISMOUNT:
89 /* print the drive and media id
*/
90 VS_Notify_GetFields(h,
91 VSID_MEDIA_ID, mid,
92 VSID_DRIVE_ID, &did,