API Guide
C-14 Mount Example 601355 Rev A
263 case VSE_WAIT_BUSY_MEDIUM:
264 printf ( "Mount waiting on
busy medium\n" );
265 break;
266 default:
267 printf ( "Unknown wait
reason [%d]
received\n",wait );
268 break;
269 }
270 }
271}
272
273/* print error code from given error
handle */
274void
275print_error ( VST_ERROR_HANDLE errh )
276{
277 VST_ERROR_CODE errcode;
278
279 VS_Error_GetFields ( errh,
280 VSID_ERROR_CODE,
errcode,
281 VSID_ENDFIELD );
282
283 printf ( "Error code [%s] returned
from API\n", errcode );
284}