API Guide
2-8 API Functions 601355 Rev A
VS_Archive_
Create VS_Archive_Create allocates a VolServ API archive
handle. An archive handle is used to pass archive information to
and from VolServ.
Synopsis VST_ARCHIVE_HANDLE VS_Archive_Create ( void )
Arguments None
Return Values VS_Archive_Create returns:
An archive handle, if one can be allocated.
NULL, if an archive handle cannot be allocated. An
appropriate error code is set in VSG_Error.
VSE_ERR_OUTOFMEM - Memory allocation error.
Example 1 /****************************************
*********
2*
3 * FUNCTION: vst_archive_handle
4*
5 * PURPOSE:
6 * This function tests an archive handle.
7*
8 * PARAMETERS:
9 * none
10 *
11 ****************************************
*********/
12 #ifdef ANSI_C
13 VST_BOOLEAN vst_archive_handle(void)
14 #else
15 VST_BOOLEAN vst_archive_handle(void)
16 #endif
17 {