API Guide
601355 Rev A API Functions 2-189
Functions
VSE_ERR_BADHANDLE - Specified handle was not a drive
handle.
VSE_ERR_BADSIZE - The value passed for a string
parameter exceeds the maximum allowable length for that
parameter.
VSE_ERR_NULLHANDLE - Specified handle was a null
pointer.
VSE_ERR_NULLSTRING - A null value was passed to a
string argument.
Example 1 /****************************************
*********
2*
3 * FUNCTION: vst_drive_handle
4*
5 * PURPOSE:
6 * This function tests a drive handle.
7*
8 * PARAMETERS:
9 * none
10 *
11 ****************************************
*********/
12 #ifdef ANSI_C
13 VST_BOOLEAN vst_drive_handle(void)
14 #else
15 VST_BOOLEAN vst_drive_handle()
16 #endif
17 {
18 VST_BOOLEAN rc = VSE_FALSE;
19 VST_DRIVE_HANDLE h;
20 VST_DRIVE_ID DriveID;
21 VST_DRIVE_TYPE DriveType;
22 VST_ARCHIVE_NAME ArchiveName;
23 VST_COMP_STATE ComponentState;
24 VST_ASSIGNMENT Assignment;
25 VST_MOUNT_STATE MountState;
26 VST_USAGE_COUNT UsageCount;