API Guide
601355 Rev A API Functions 2-93
Functions
VS_
Component_
Destroy
VS_Component_Destroy deallocates a component handle
that was allocated with VS_Component_Create. A
component handle is used to pass component information to
and from VolServ.
Synopsis VST_BOOLEAN VS_Component_Destroy
( VST_COMPONENT_HANDLE handle )
Arguments •handle = Component handle to be destroyed.
Return Values VS_Component_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
component handle.
•VSE_ERR_NULLHANDLE - Specified handle was a null
pointer.
Example 1 /****************************************
*********
2*
3 * FUNCTION: vst_component_handle
4*
5 * PURPOSE:
6 * This function tests the component
handle.
7*
8 * PARAMETERS:
9 * none
10 *