API Guide
2-286 API Functions 601355 Rev A
Return Values VS_MediaClass_GetFields 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_BADHANDLE - Specified handle was not a
MediaClass handle.
VSE_ERR_NULLHANDLE - Specified handle was a null
pointer.
Example 1 /****************************************
*********
2*
3 * FUNCTION: vst_print_mediaclass
4*
5 * PURPOSE:
6 * This function prints out the
information stored in
7 * a media class handle.
8*
9 * PARAMETERS:
10 * h : the media class handle to print
11 *
12 ****************************************
*********/
13 #ifdef ANSI_C
VSID_VERSION_NUMBER
(VST_VERSION_NUMBER *) If the VSID_CLASS_RPC_OPTION is set to
VSE_CLASS_RPC_STANDARD, a pointer to the
RPC version number of the “listening task.”
Otherwise, VSID_VERSION_NUMBER is not
applicable.
Parameter Type Description