ADIC Digital Camera 601355 Rev A 사용자 설명서
API Guide
601355 Rev A
API Functions
2-193
Functions
VS_DrivePool
_Create
_Create
VS_DrivePool_Create
allocates a VolServ API drive pool
handle. A drive pool handle is used to pass drive pool
information to and from VolServ.
information to and from VolServ.
Synopsis
VST_DRIVEPOOL_HANDLE VS_DrivePool_Create
( void )
( void )
Arguments
None
Return Values
VS_DrivePool_Create
returns:
•
A drive pool handle, if one can be allocated.
•
NULL, if a drive pool handle cannot be allocated. An
appropriate error code is set in
appropriate error code is set in
VSG_Error
.
•
VSE_ERR_OUTOFMEM
- Memory allocation error.
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 *
11 ****************************************
*********/
12 #ifdef ANSI_C
13
VST_BOOLEAN
vst_drivepool_handle(void)
14 #else