API Guide
601355 Rev A API Functions 2-625
Functions
Example 1 /****************************************
*********
2*
3 * FUNCTION:
vst_createmediaclass_execute
4*
5 * PURPOSE:
6 * This executes the
VSCMD_CreateMediaClass API call.
7*
8 * PARAMETERS:
9 * none
10
11 ****************************************
*********/
12 #ifdef ANSI_C
13 VST_BOOLEAN
vst_createmediaclass_execute(void
)
14 #else
15 VST_BOOLEAN
vst_createmediaclass_execute()
16 #endif
17 {
18 VST_BOOLEAN rc =
VSE_FALSE;
19 VST_MEDIA_CLASS_NAME mediaclass;
20 VST_MEDIA_TYPE_NAME
MediaTypeName;
21 VST_CAPACITY capacity;
22 VST_CLASS_MOUNT_STATE mountstate;
23 VST_HIGH_MARK highmark;
24 VST_COMMAND_HANDLE cmd;
25 VST_NOTIFY_COMMENT comment;
26 VST_CLASS_RPC_OPTION rpc_option;
27 VST_HOSTNAME
rpc_hostname;
28 VST_PROGRAM_NUMBER rpc_prognum;
29 VST_VERSION_NUMBER rpc_versnum;
30 VST_PROCEDURE_NUMBER rpc_procnum;
31 VST_PROTOCOL
rpc_protocol;