API Guide
601355 Rev A API Functions 2-773
Functions
21 VST_BOOLEAN rc =
VSE_FALSE;
22 VST_COMMAND_HANDLE cmdh;
23 VST_MEDIA_ID mediaid;
24 VST_BATCH_NAME batch;
25 VST_MANUFACTURER_NAME
manufacturer;
26 VST_MODMEDIA_OPTION modopt;
27 VST_COUNT
field[VSD_MAX_MEDIA_STATS];
28
VST_MEDIA_STAT_OPTION
option[VSD_MAX_MEDIA_STATS];
29 char
value[VSD_MAX_MEDIA_STATS];
30 char
valuearray[VSD_MAX_MEDIA_STATS]
[VSD_MEDIA_STAT_VALUE_LEN];
31
32 /* get parameters from user */
33 printf(“*** Modify Media Parameters
***\n”);
34 printf ( “Enter the media id to
modify ==> “ );
35 gets(mediaid);
36 printf ( “Enter the batch name
(return for none) ==> “ );
37 gets(batch);
38 printf ( “Enter the manufacturer name
==> “ );
39 gets(manufacturer);
40 printf ( “Enter the modify media
option
(1-Delete/2-Update/3-Replace)==>
“ );
41 modopt = (VST_MODMEDIA_OPTION)
atoi(gets(input));
42 printf ( “Enter the number of user
statistics ==> “ );
43 num = atoi(gets(input));
44