API Guide
2-960 API Functions 601355 Rev A
55 VSID_CRITERIA_GROUP_HANDLE, i,
grouph,
56 VSID_ENDFIELD );
57 }
58 }
59 }
60 printf(“Enter lock id ==> “);
61 lockid = atol(gets(input));
62
63 /* create the command (assume that
the api is */
64 /* initialized) */
65 cmdh = VS_Command_Create();
66 if ( cmdh != (VST_COMMAND_HANDLE)
NULL)
67 {
68 /* execute the mount command. */
69 /* if sync, we will wait for the
mount to */
70 /* complete if async, we will
leave once */
71 /* initial status has been
returned */
72 rc = VSCMD_Mount ( cmdh,
73 VSID_DRIVEPOOL_NAME,
drivepool,
74 VSID_DRIVE_EXCL_LIST,
exclcount, excllist,
75 VSID_MEDIA_ID,
mediaid,
76 VSID_LOCK_ID,
lockid,
77 VSID_ENDFIELD );
78 }
79 else
80 {
81 rc = VSE_FALSE;
82 }
83 return ( rc );
84 }