API Guide
601355 Rev A API Functions 2-299
Functions
VS_
MediaType_
Create
VS_MediaType_Create allocates a VolServ API media
type handle. A media type handle is used to pass media type
information to and from VolServ.
Synopsis VST_MEDIATYPE_HANDLE VS_MediaType_Create (void)
Arguments None
Return Values VS_MediaType_Create returns:
A media type handle, if one can be allocated
NULL, if a media type handle could be allocated. An
appropriate error code is set in VSG_Error.
VSE_ERR_OUTOFMEM - Memory allocation error.
Example 1 /****************************************
*********
2*
3 * FUNCTION: vst_mediatype_handle
4*
5 * PURPOSE:
6 * This function tests a mediatype
handle.
7*
8 * PARAMETERS:
9 * none
10 *
11 ****************************************
*********/
12 #ifdef ANSI_C
13 VST_BOOLEAN
vst_mediatype_handle(void)
14 #else