API Guide
601355 Rev A API Functions 2-155
Functions
VS_
CriteriaGroup
_Destroy
VS_CriteriaGroup_Destroy deallocates a criteria group
handle that was allocated with
VS_CriteriaGroup_Create. A criteria group handle is
used to pass criteria group information to and from VolServ.
Synopsis VST_BOOLEAN VS_CriteriaGroup_Destroy
( VST_CRITERIAGROUP_HANDLE handle )
Arguments handle = Criteria group handle to be destroyed.
Return Values VS_CriteriaGroup_Destroy returns a criteria group
handle if one can be allocated.
VSE_TRUE - Successful execution.
VSE_FALSE - API failure - The appropriate error code is
set in VSG_Error.
VSE_ERR_BADHANDLE - Specified handle was not a
criteria group handle.
VSE_ERR_NULLHANDLE - Specified handle was a null
pointer.
Example 1 /****************************************
*********
2*
3 * FUNCTION: vst_create_mount_criteria
4*
5 * PURPOSE:
6 * This function creates the mount
criteria group
7 * handle and sets the values in it
according to
8 * user input.