A SERVICE OF

logo

API Guide
601355 Rev A Mount Example C-7
Mount Example
109 printf ( "Media [%s] mounted
on drive
[%d]\n",
mediaid, driveid );
110 }
111 else
112 {
113
/*******************************
*****/
114 /* Mount was not successful.
*/
115 /* Get error handle from
command to */
116 /* determine where error
occurred */
117
/*******************************
*****/
118 VS_Command_GetFields (
cmdh,
119
VSID_ERROR_HANDLE,&errh,
120
VSID_ENDFIELD );
121
122
/*******************************
*****/
123 /* Get error object and
numeric code */
124 /* from error handle.
*/
125 /* The error object code
tells where */
126 /* the error occurred.
*/
127 /* The error numeric code
tells what */
128 /* error occurred.
*/