API Guide
601355 Rev A API Functions 2-273
Functions
VS_
MediaClass_
Create
VS_MediaClass_Create allocates a VolServ API
MediaClass handle. A MediaClass handle is used to pass
MediaClass information to and from VolServ.
Synopsis
VST_MEDIACLASS_HANDLE VS_MediaClass_Create
(void)
Arguments None
Return Values
VS_MediaClass_Create returns:
• A MediaClass handle, if one can be allocated.
• NULL, if a MediaClass 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_mediaclass_handle
4*
5 * PURPOSE:
6 * This function tests a mediaclass
handle.
7*
8 * PARAMETERS:
9 * none
10 *
11 ****************************************
*********/
12 #ifdef ANSI_C
13 VST_BOOLEAN
vst_mediaclass_handle(void)