![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/a/73/a73a4b49-d7f1-4c0b-9164-d43628ae57b6/a73a4b49-d7f1-4c0b-9164-d43628ae57b6-bgee.png)
API Guide
2-188 API Functions 601355 Rev A
Return Values
VS_Drive_SetFields returns:
• VSE_TRUE - Successful execution.
• VSE_FALSE - API failure - The appropriate error code is
set in VSG_Error
• VSE_ERR_BADFIELD - An invalid parameter was
specified.
VSID_COMP_STATE (VST_COMP_STATE) Operational state of this archive. Valid
VSID_COMP_STATE values are enumerated
in the vs_types.h file.
VSID_DRIVE_ID (VST_DRIVE_ID) Identifier of this drive.
VSID_DRIVE_TYPE (VST_DRIVE_TYPE) Type of this drive. Valid VSID_DRIVE_TYPE
values are enumerated in the vs_types.h
file.
VSID_ERROR_COUNT (VST_COUNT) Error count of the drive.
VSID_MEDIA_ID (VST_MEDIA_ID) If the VSID_MOUNT_STATE of this drive is
VSE_MOUNT_MOUNTED, the identifier of the
medium mounted on this drive.
VSID_MEDIA_TYPE_TABLE
(VST_TABLE_HANDLE)
Media types (in table format) supported by this
drive.
VSID_MOUNT_STATE
(VST_MOUNT_STATE)
Mount state of this drive. Valid
VSID_MOUNT_STATE values are enumerated
in the vs_types.h file.
VSID_USAGE_COUNT
(VST_USAGE_COUNT)
Number of times this drive has been mounted.
VSID_USAGE_TIME (VST_USAGE_TIME) Current usage time of the drive.
VSID_TOTAL_USAGE_TIME (VST_USAGE) Total usage time of the drive.
Parameter Type Description