API Guide
2-448 API Functions 601355 Rev A
Return Values VS_TypeCapacity_GetField returns:
VSE_TRUE - Successful execution.
VSE_FALSE - API failure - An appropriate error code is set
in VSG_Error.
VSE_ERR_BADFIELD - An invalid parameter was
specified.
VSE_ERR_NULLHANDLE - Specified handle was a null
pointer.
VSE_ERR_NULLSTRING - A null value was passed to a
string argument.
Example 1 /****************************************
*********
2*
3 * FUNCTION: vst_print_typecapacity
4*
5 * PURPOSE:
6 * This function prints out the
information stored
7 * in a type capacity handle.
8*
9 * PARAMETERS:
10 * h : the type capacity handle to print
11 *
12 ****************************************
*********/
VSID_MEDIA_TYPE_NAME
(VST_MEDIA_TYPE_NAME) Pointer to the name of this media type
classification. Valid media type names may
contain up to 16 alphanumeric characters,
including spaces. Leading and trailing spaces
are not permitted.
Parameter Type Description