API Guide
2-194 API Functions 601355 Rev A
15 VST_BOOLEAN
vst_drivepool_handle(void)
16 #endif
17 {
18 VST_BOOLEAN rc =
VSE_FALSE;
19 VST_DRIVEPOOL_HANDLE h;
20 VST_DRIVE_POOL_NAME
DrivePoolName;
21
22 /* create the handle */
23 h = VS_DrivePool_Create();
24 if (h != (VST_DRIVEPOOL_HANDLE) NULL)
25 {
26 /* get values from user */
27 printf(“*** Drive Pool Handle
***\n”);
28 printf(“Enter Drive Pool Name ==>
“);
29 gets(DrivePoolName);
30 rc = VS_DrivePool_SetFields(h,
31 VSID_DRIVEPOOL_NAME,
DrivePoolName,
32 VSID_ENDFIELD);
33 if (rc)
34 {
35 vst_print_drivepool(h);
36 }
37 VS_DrivePool_Destroy(h);
38 }
39 return(rc);
40 }
Notes
None