IGetClusterNodeInfo::GetNodeHandle method (cluadmex.h)

[This method is available for use in the operating systems specified in the Requirements section. Support for this method was removed in Windows Server 2008.]

Returns a handle to a node.

Syntax

HNODE GetNodeHandle(
  LONG lObjIndex
);

Parameters

lObjIndex

A number representing the zero-based index of the target node. lObjIndex is restricted to the number that can be retrieved by calling IGetClusterDataInfo::GetObjectCount.

Return value

If GetNodeHandle is successful, it returns a handle for the node represented by lObjIndex.

If GetNodeHandle is not successful, it returns NULL. For more information about the error, call the function GetLastError.

Remarks

Do not close the handle obtained through this method.

Requirements

   
Minimum supported client None supported
Minimum supported server Windows Server 2003 Enterprise, Windows Server 2003 Datacenter
Target Platform Windows
Header cluadmex.h

See also

IGetClusterDataInfo::GetObjectCount

IGetClusterNodeInfo