API Guide
C-6 Mount Example 601355 Rev A
86 VSID_MEDIA_CLASS_NAME,
mediaclass,
87 VSID_DRIVEPOOL_NAME,
drivepool,
88 VSID_TIMEOUT_VALUE,
180,
89 VSID_RETRY_LIMIT,
2,
90 VSID_CLIENT_DISPATCH,
dispatch,
91 VSID_ENDFIELD ) )
92 {
93 /* Mount was successful.
*/
94 /* Get the status handle
*/
95 VS_Command_GetFields (
cmdh,
96 VSID_STATUS_HANDLE,&stath,
97 VSID_ENDFIELD
);
98
99 /* Get identifiers of medium
and drive */
100 /* that were mounted from
status handle */
101 VS_Status_GetFields ( stath,
102 VSID_MEDIA_ID,mediaid,
103 VSID_DRIVE_ID,&driveid,
104 VSID_ENDFIELD );
105
106 /* Output user message
showing */
107 /* identifiers of mounted
medium and */
108 /* drive. */