API Guide
2-1078 API Functions 601355 Rev A
37 /* Send the command to the VolServ
software. */
38 /* Note that status is not
processed here. */
39 /* Instead, it is processed in the
*/
40 /* vst_dispatch routine. Also,
note that */
41 /* default values such as timeout
*/
42 /* value retry limit and priority
are set as */
43 /* default parameters. */
44 rc = VSCMD_Unlock(cmd,
45 VSID_DRIVE_ID_LIST,
count,drivelist,
46 VSID_LOCK_ID,
lockid,
47 VSID_ENDFIELD);
48 }
49 return ( rc );
50 }
Notes The API must be initialized with a call to VS_Initialize
before this function can be executed.
VolServ can generate intermediate status in response ton
Unlock request.
VSCMD_Unlock does not trigger MediaClass callbacks from
Vol S e rv .
Drives specified on a VSCMD_Unlock request that are either
not locked or that have a lock identifier different from the one
specified on the VSCMD_Unlock request return a failure
status.
The VSID_DRIVE_ID parameter requires that two arguments
be passed instead of one.