API Guide
601355 Rev A API Functions 2-795
Functions
Example 1 /****************************************
*********
2*
3 * FUNCTION:
vst_deletearchivemediaclass_execu
te
4*
5 * PURPOSE:
6 * This executes the
VSCMD_DeleteArchiveMediaClass
7 * API call.
8*
9 * PARAMETERS:
10 * none
11 *
12 ****************************************
*********/
13 #ifdef ANSI_C
14 VST_BOOLEAN
vst_deletearchivemediaclass_execu
te(void)
15 #else
16 VST_BOOLEAN
vst_deletearchivemediaclass_execu
te()
17 #endif
18 {
19 VST_BOOLEAN rc = VSE_FALSE;
20 VST_ARCHIVE_NAME archive;
21 VST_MEDIA_CLASS_NAME mediaclass;
22 VST_COMMAND_HANDLE cmd;
23
24 /* get parameters from user */
25 printf(“*** Delete Archive Media
Class parameters ***\n” );
26 printf(“Enter Archive Name ==> “ );
27 gets( archive );
28 printf(“Enter Media Class Name ==> “
);
29 gets( mediaclass );
30 /* create the command handle */