![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/a/73/a73a4b49-d7f1-4c0b-9164-d43628ae57b6/a73a4b49-d7f1-4c0b-9164-d43628ae57b6-bg1bc.png)
API Guide
2-394 API Functions 601355 Rev A
Return Values
VS_Status_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
request handle.
• VSE_ERR_BADSIZE - Value passed for a string parameter
exceeds the maximum allowable length for that parameter.
• 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_mediaquery_execute_sync
4*
5 * PURPOSE:
6 * This executes the VSCMD_MediaQuery API
call in a
7 * synchronous mode. It shows how to
process status
8 * in synchronous mode without using a
dispatch
9 * routine.
10 *
11 * PARAMETERS:
12 * none
13 *
14 ****************************************
*********/