API Guide
2-354 API Functions 601355 Rev A
93 VSID_ENDFIELD);
94 printf(“media id = %s\n”, mid);
95 printf(“drive id = %d\n”, did);
96 break;
97 default:
98 break;
99 }
100 /* print the error handle */
101 vst_print_error ( eh );
102}
Notes The VSID_DRIVE_ID_ENTRY and VSID_MEDIA_ID_ENTRY
parameters require that two arguments be retrieved instead of
one. The first argument retrieved is the entry number in the
appropriate table. The second argument is a pointer to the
location where the value should be stored.
After the client receives a MediaClass notification from
VS_Notify_Listen, the Notify handle contains the notify
information. To determine the Notify type, the client then
retrieves the relevant information from the Notify handle (i.e.,
for a Mount notification, the media identifier and drive
identifier must be retrieved).
Note
If the argument list does not end with VSID_ENDFIELD,
unpredictable results occur.