AddClusterResourceNode

The AddClusterResourceNode function adds a node to the list of possible nodes that a resource can run on.

DWORD WINAPI AddClusterResourceNode(
  HRESOURCE hResource,  
  HNODE hNode           
);
 

Parameters

hResource
[in] Handle to a resource that will add a node to its possible owners list.
hNode
[in] Handle to the node to be added to the list of potential host nodes belonging to the resource identified by hResource.

Return Values

ERROR_SUCCESS
The operation was successful.

If the operation was unsuccessful, AddClusterResourceNode returns a Win32 error value.