IGetClusterNetInterfaceInfo::GetNetInterfaceHandle 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.]

Retrieves a handle to a node.

Syntax

HNETINTERFACE GetNetInterfaceHandle(
  [in] LONG lObjIndex
);

Parameters

[in] lObjIndex

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

Return value

If GetNetInterfaceHandle is successful, it returns a handle for the network interface represented by lObjIndex.

If GetNetInterfaceHandle 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

Requirement Value
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

IGetClusterNetInterfaceInfo