
API Guide
2-32 API Functions 601355 Rev A
VS_Archive
MediaClass_
Create
VS_ArchiveMediaClass_Create allocates a VolServ
API archive media class handle. An archive media class handle
is used to pass archive media class information to and from
Vo lSer v.
Synopsis
VST_ARCHIVEMEDIACLASS_HANDLE
VS_ArchiveMediaClass_Create
( void )
Arguments None
Return Values
VS_ArchiveMediaClass_Create returns:
• An archive media class handle, if one can be allocated.
• NULL, if an archive media class handle cannot be allocated.
An appropriate error code is set in VSG_Error.
• VSE_ERR_OUTOFMEM - Memory allocation error.
Example 314/**************************************
***********
315*
316* FUNCTION:
vst_archivemediaclass_handle
317*
318* PURPOSE:
319* This function tests an
archivemediaclass handle.
320*
321* PARAMETERS:
322* none
323*
324***************************************
**********/