API Guide
601355 Rev A API Functions 2-129
Functions
VS_Criteria_
Destroy VS_Criteria_Destroy deallocates a criteria handle that was
allocated with VS_Criteria_Create. A criteria handle is
used to pass criteria information to and from VolServ.
Synopsis VST_BOOLEAN VS_Criteria_Destroy
( VST_CRITERIA_HANDLE handle )
Arguments handle = Criteria handle to be destroyed.
Return Values VS_Criteria_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
command 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 user
8 *input.
9*
10 * PARAMETERS:
11 * none