ClusterNetInterfaceOpenEnum function (clusapi.h)

Opens an enumerator for iterating through the installed network interfaces.

Syntax

HNETINTERFACEENUM ClusterNetInterfaceOpenEnum(
  [in]           HCLUSTER hCluster,
  [in, optional] LPCWSTR  lpszNodeName,
  [in, optional] LPCWSTR  lpszNetworkName
);

Parameters

[in] hCluster

Handle to a cluster

[in, optional] lpszNodeName

The name of the node.

[in, optional] lpszNetworkName

The name of the network.

Return value

If the operation succeeds, returns a handle to an enumerator.

If the operation fails, the function returns NULL. For more information about the error, call the GetLastError function.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2016
Target Platform Windows
Header clusapi.h
Library ClusAPI.lib
DLL ClusAPI.dll