API Guide
601355 Rev A API Functions 2-1017
Functins
6 * This executes the VSCMD_QueryMount API
call.
7*
8 * PARAMETERS:
9 * none
10 *
11 ****************************************
*********/
12 #ifdef ANSI_C
13 VST_BOOLEAN
vst_querymount_execute(void)
14 #else
15 VST_BOOLEAN vst_querymount_execute()
16 #endif
17 {
18 VST_BOOLEAN rc =
VSE_FALSE;
19 VST_MEDIA_ID mediaid;
20 VST_COMMAND_HANDLE cmd;
21
22 /* get parameters from user */
23 printf(ā*** QueryMount parameters
***\nā );
24
25 printf(ā\nEnter media ID: ā);
26 gets( mediaid);
27
28 /* create the command handle */
29 /* Note that the command handle is
not */
30 /* destoyed in this routine, but in
*/
31 /* vst_dispatch when final status is
received. */
32 cmd = VS_Command_Create();
33 if ( cmd != (VST_COMMAND_HANDLE)
NULL)
34 {
35 /* Send the command to the VolServ
software. */
36 /* Note that status is not
processed here. */