ADIC 601355 Rev A Digital Camera User Manual


  Open as PDF
of 1192
 
API Guide
2-182 API Functions 601355 Rev A
Return Values
VS_Drive_GetFields returns:
VSID_COMP_STATE (VST_COMP_STATE *) Pointer to the operational state of this drive.
Valid VSID_COMP_STATE values are
enumerated in the vs_types.h file.
VSID_DRIVE_ID (VST_DRIVE_ID *) Pointer to the identifier of this drive.
VSID_DRIVE_TYPE (VST_DRIVE_TYPE *) Pointer to the type of this drive. Valid
VSID_DRIVE_TYPE values are enumerated
in the vs_types.h file.
VSID_ERROR_COUNT (VST_COUNT *) Pointer to the error count of the drive.
VSID_MEDIA_ID (VST_MEDIA_ID) If the VSID_MOUNT_STATE of this drive is
VSE_MOUNT_MOUNTED, identifier of the
medium mounted on this drive.
VSID_MEDIA_TYPE_ENTRY (int) Index of a specific media type handle in the
media type handle table.
(VST_MEDIATYPE_HANDLE *) Pointer to the location where the media type
handle should be stored.
VSID_MEDIA_TYPE_TABLE
(VST_TABLE_HANDLE *)
Pointer to the media types (in table format)
supported by this drive.
VSID_MOUNT_STATE
(VST_MOUNT_STATE *)
Pointer to the mount state of this drive. Valid
VSID_MOUNT_STATE values are enumerated
in the vs_types.h file.
VSID_NUMBER_MEDIA TYPES (int *) Pointer to the number of media types present
in the media type name table.
VSID_USAGE_COUNT
(VST_USAGE_COUNT *)
Pointer to the number of times this drive has
been mounted.
VSID_USAGE_TIME (VST_USAGE *) Pointer to the current usage time of the drive.
VSID_TOTAL_USAGE_TIME
(VST_USAGE *)
Pointer to the total usage time of the drive.
Parameter Type Description