API Guide
2-352 API Functions 601355 Rev A
35 VSID_NOTIFY_TYPE,
&type,
36 VSID_ARCHIVE_NAME,
archive,
37 VSID_MEDIA_CLASS_NAME,
class,
38 VSID_TARGET_MEDIA_CLASS_NAME,
newclass,
39 VSID_DRIVE_ID_TABLE,
&dt,
40 VSID_MEDIA_ID_TABLE,
&mt,
41 VSID_ERROR_HANDLE,
&eh,
42 VSID_ENDFIELD );
43
44 printf(“***************** Notify
Handle Information
*************\\pn” );
45 printf(“Notify Type = %d\n”, type );
46 if ((type == VSE_NOTIFY_EJECT) ||
(type == VSE_NOTIFY_ENTER))
47 {
48 VS_Notify_GetFields ( h,
49 VSID_STATUS_CODE, &sc,
50 VSID_ENDFIELD );
51 if (sc == VSE_STATUS_OK)
52 printf(“Successful\n”);
53 else
54 printf(“Failure\n”);
55 }
56 printf(“Archive Name = %s\n”, archive
);
57 printf(“Media Class = %s\n”, class );
58 switch(type)
59 {
60 case VSE_NOTIFY_IMPORT:
61 case VSE_NOTIFY_EXPORT:
62 case VSE_NOTIFY_ENTER: