ADIC Digital Camera 601355 Rev A User Manual
API Guide
601355 Rev A
API Functions
2-525
Functions
28 gets(
archive);
29
count = vst_getmedialist(medialist,
VST_MAX_ITEMS);
30
/* create the command handle Note
that the */
31
/* command handle is not destroyed in
this*/
32
/* routine, but in vst_dispatch when
final */
33
/* status is received. */
34
cmd = VS_Command_Create();
35
/* validate the command handle */
36
if ( cmd != (VST_COMMAND_HANDLE)
NULL)
37 {
38
/* Send the command to the VolServ
software. */
39
/* Note that status is not
processed here. */
40
/* Instead, it is processed in the
*/
41
/* vst_dispatch routine. *Also,
note that */
42
/* default values such as timeout,
value */
43
/* retry limit and priority are
set as */
44
/* default parameters. */
45
rc = VSCMD_Checkin(cmd,
46 VSID_ARCHIVE_NAME,
archive,
47 VSID_MEDIA_ID_LIST,
count, medialist,
48 VSID_ENDFIELD);
49 }
50
51
return ( rc );
52 }