22.214.171.124.2 ApiCloseCluster (Opnum 1)
The server SHOULD accept an ApiCloseCluster request if its protocol server state is read-only and MUST accept the request for processing if it is in the read/write state, as specified in section 3.1.1.
error_status_t ApiCloseCluster( [in, out] HCLUSTER_RPC *Cluster );
Cluster: A pointer to an HCLUSTER_RPC context handle that is obtained in a previous ApiOpenCluster method call. Upon success, the server MUST set to NULL the context handle that this parameter points to. Upon failure, the client MUST ignore the context handle to which this parameter points.
Return Values: The method MUST return the following error codes for the conditions that are specified in the following table.
The data that is pointed to by the Cluster parameter does not represent a valid HCLUSTER_RPC context handle.
For any other condition, this method MUST return a value that is not listed in the preceding table. The client MUST behave in one consistent, identical manner for all values that are not listed in the preceding table.