API Guide
2-838 API Functions 601355 Rev A
51 cmd = VS_Command_Create();
52 if (cmd != (VST_COMMAND_HANDLE )NULL)
53 {
54 /* Send the command to the VolServ
software. */
55 /* Note that status is not
processed here. */
56 /* Instead, it is processed in the
*/
57 /* vst_dispatch routine. Also,
note that */
58 /* default values such as
timeout,*/
59 /* value retry limit and priority
are set as */
60 /* default parameters. */
61 rc = VSCMD_Disconnect(cmd,
62 VSID_TARGET_ENTERPRISE_ID,
TargetEnterpriseID,
63 VSID_PROGRAM_NUMBER, prognum,
64 VSID_VERSION_NUMBER, versnum,
65 VSID_PROCEDURE_NUMBER,
procnum,
66 VSID_SOCKADDR_IN,
socketaddress,
67 VSID_ENDFIELD);
68 }
69 return ( rc );
70 }
Notes The API must be initialized with a call to VS_Initialize
before this function can be executed.
VolServ generates no intermediate status in response to a Disconnect command.The Disconnect command cannot trigger MediaClass callbacks from VolServ.