SetClusterGroupNodeList

The SetClusterGroupNodeList function sets the preferred node list for a group.

DWORD WINAPI SetClusterGroupNodeList(
  HGROUP hGroup,     
  DWORD cNodeCount,  
  HNODE phNodeList[] 
);
 

Parameters

hGroup
[in] Handle to the group to be assigned the list of nodes.
cNodeCount
[in] Count of nodes in the list identified by phNodeList.
phNodeList
[in] Array of handles to nodes in order by preference with the first node being the most preferred and the last node the least preferred. The number of nodes in the phNodeList array is controlled by the cNodeCount parameter.

Return Values

ERROR_SUCCESS
The operation was successful.

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

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.