API Guide
C-12 Mount Example 601355 Rev A
217/* command. This routine is called by
the API
*/
218/* whenever status (final or
intermediate) is
*/
219/* received for the Mount request. For
this */
220/* example, we are interested in
intermediate
*/
221/* status. if we receive final status,
we ignore */
222/* it and let the main routine print out
the */
223/* media/drive used.
*/
224/*************************************
***********/
225void
226dispatch ( VST_COMMAND_HANDLE cmdh )
227{
228 VST_STATUS_HANDLE stath;
229 VST_STATUS_TYPE stattype;
230 VST_WAIT_REASON wait;
231
232 /*******************************
**************/
233 /* Get status handle from Mount
request
*/
234 /*******************************
**************/
235 VS_Command_GetFields ( cmdh,
236
VSID_STATUS_HANDLE,&stath,
237 VSID_ENDFIELD
);
238