![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/a/73/a73a4b49-d7f1-4c0b-9164-d43628ae57b6/a73a4b49-d7f1-4c0b-9164-d43628ae57b6-bg2e2.png)
API Guide
2-688 API Functions 601355 Rev A
34 printf(“\nEnter Manufacturer “);
35 gets( manuf);
36 /* set the default parameters */
37 rc = VSCMD_Import_SetDefaults(
38 VSID_PRIORITY, priority,
39 VSID_USER_FIELD,
user_field,
40 VSID_TIMEOUT_VALUE, timeout,
41 VSID_RETRY_LIMIT, retries,
42 VSID_STATUS_WAIT_FLAG,
wait_flag,
43 VSID_ENTERPRISE_ID,
enterprise_id,
44 VSID_BATCH_NAME, batch,
45 VSID_MANUFACTURER, manuf,
46 VSID_ENDFIELD);
47
48 return ( rc );
49 }
Notes
The VSID_MEDIA_ID_LIST parameter requires that two
arguments be passed instead of one. The first argument passed
is the entry number in the appropriate table. The second
argument is a pointer to the location where the value is stored.
If a list of media specified in an Import request contains media
of more than one type, the request fails.
See Also
• vsapi(l),
• VS_Error_GetFields(l),
• VS_Global_SetFields(l),
• VSCMD_Import(l)
Note
If the argument list does not end with VSID_ENDFIELD,
unpredictable results occur.