22.214.171.124.132 ApiMoveGroupToNodeEx (Opnum 133)
(Protocol Version 3) The ApiMoveGroupToNodeEx method instructs the server to move ownership of a group to the specified node in the cluster.
Servers SHOULD<102> support this method.
The server handles the dwMoveFlags and lpInBuffer parameters as specified for ApiMoveGroupEx (section 126.96.36.199.131), with any reference to the destination node now referring to the node designated by the hNode parameter.
The server MUST accept an ApiMoveGroupToNodeEx request only if it is in the read/write state, as specified in section 3.1.1.
The server MUST require that the access level associated with the hGroup parameter is "All" (section 3.1.4).
void ApiMoveGroupToNodeEx( [in] HGROUP_RPC hGroup, [in] HNODE_RPC hNode, [in] DWORD dwMoveFlags, [in] [size is(cbInBufferSize)] BYTE* lpInBuffer, [in] DWORD cbInBufferSize, [out] error_status_t* rpc_status );
hNode: An HNODE_RPC context handle that was obtained in a previous call to ApiOpenNode (section 188.8.131.52.67) or ApiOpenNodeEx (section 184.108.40.206.117), indicating the node that will take ownership of the group specified in the hGroup parameter.
dwMoveFlags: The available values for this parameter are identical to those specified for the ApiMoveGroupEx (section 220.127.116.11.131) method.
lpInBuffer: A pointer to a buffer that the server will provide to implementation-specific objects that control the resource operations for each resource in the group. The client SHOULD set this parameter to a PROPERTY_LIST (section 18.104.22.168). For each value in this list, the client SHOULD set the property name to the name of the resource type of one of the resources in the group. The client MAY provide a buffer that does not have a property value corresponding to each resource type in the group, and the client MAY provide a buffer that has multiple property values for the same resource type. Except for the following property values, the server must treat all property values provided by the client identically.
cbInBufferSize: The size in bytes of the buffer pointed to by the lpInBuffer parameter.
rpc_status: A 32-bit integer used to indicate success or failure. The RPC runtime MUST indicate, by writing to this parameter, whether it succeeded in executing this method on the server. The encoding of the value passed in this parameter MUST conform to encoding for comm_status and fault_status, as specified in Appendix E of [C706].
Return Values: This method MUST return the same error codes as specified for ApiMoveGroupToNode (section 22.214.171.124.53) and ApiMoveGroupEx (section 126.96.36.199.131).