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