ADIC Digital Camera 601355 Rev A 사용자 설명서
API Guide
2-196
API Functions
601355 Rev A
VS_DrivePool
_Destroy
_Destroy
VS_DrivePool_Destroy
deallocates a drive pool handle
that was allocated with
VS_DrivePool_Create
. A drive
pool handle is used to pass drive pool information to and from
VolServ.
VolServ.
Synopsis
VST_BOOLEAN VS_DrivePool_Destroy
( VST_DRIVEPOOL_HANDLE handle )
( VST_DRIVEPOOL_HANDLE handle )
Arguments
•
handle
= Drive pool handle to be destroyed.
Return Values
VS_DrivePool_Destroy
returns:
•
VSE_TRUE
- Successful execution.
•
VSE_FALSE
- API failure - The appropriate error code is
set in
VSG_Error
.
•
VSE_ERR_BADHANDLE
- Specified handle was not a drive
pool handle.
•
VSE_ERR_NULLHANDLE
- Specified handle was a null
pointer.
Example
1
/****************************************
*********
2
*
3
* FUNCTION: vst_drivepool_handle
4
*
5
* PURPOSE:
6
* This function tests a drive pool
handle.
7
*
8
* PARAMETERS:
9
* none
10 *