API Guide
2-278 API Functions 601355 Rev A
VS_
MediaClass_
Destroy
VS_MediaClass_Destroy deallocates a VolServ API
MediaClass handle that was allocated with
VS_MediaClass_Create. A MediaClass handle is used to
pass MediaClass information to and from VolServ.
Synopsis
VST_BOOLEAN VS_MediaClass_Destroy
(VST_MEDIACLASS_HANDLE handle)
Arguments • handle = The MediaClass handle to be destroyed.
Return Values
VS_MediaClass_Destroy returns:
• VSE_TRUE - Successful execution.
• VSE_FALSE - API failure - An appropriate error code is set
in VSG_Error.
• 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_mediaclass_handle
4*
5 * PURPOSE:
6 * This function tests a mediaclass
handle.
7*
8 * PARAMETERS:
9 * none
10 *