Skip to content

Latest commit

 

History

History
128 lines (109 loc) · 3.27 KB

nf-clusapi-clusternetinterfaceenum.md

File metadata and controls

128 lines (109 loc) · 3.27 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:clusapi.ClusterNetInterfaceEnum
ClusterNetInterfaceEnum function (clusapi.h)
Enumerates the network interfaces installed on a cluster, returning one name with each call.
ClusterNetInterfaceEnum
ClusterNetInterfaceEnum function [Failover Cluster]
clusapi/ClusterNetInterfaceEnum
mscs.clusternetinterfaceenum
mscs\clusternetinterfaceenum.htm
MsCS
691362e9-88ba-4f10-8fde-eebcc72157b4
12/05/2018
ClusterNetInterfaceEnum, ClusterNetInterfaceEnum function [Failover Cluster], clusapi/ClusterNetInterfaceEnum, mscs.clusternetinterfaceenum
clusapi.h
Windows
None supported
Windows Server 2016
ClusAPI.lib
ClusAPI.dll
Windows
19H1
ClusterNetInterfaceEnum
clusapi/ClusterNetInterfaceEnum
c++
APIRef
kbSyntax
DllExport
ClusAPI.dll
ClusterNetInterfaceEnum

ClusterNetInterfaceEnum function

-description

Enumerates the network interfaces installed on a cluster, returning one name with each call.

-parameters

-param hNetInterfaceEnum [in]

Handle to an existing enumeration object originally returned by the ClusterNetInterfaceOpenEnum function.

-param dwIndex [in]

Index used to identify the entry to be enumerated. This parameter should be zero for the first call and then incremented for each subsequent call.

-param lpszName [out]

Pointer to a null-terminated Unicode string containing the name of the returned object.

-param lpcchName [in, out]

Pointer to the size, in characters, of the lpszName buffer. On input, specify the maximum number of characters the buffer can hold, including the terminating NULL. On output, indicates the number of characters in the resulting name, excluding the terminating NULL.

-returns

The function returns one of the following values.

Return code/value Description
ERROR_SUCCESS
0
The operation completed successfully.
ERROR_NO_MORE_ITEMS
259 (0x103)
No more data is available. This value is returned if there are no more objects to be returned.
ERROR_MORE_DATA
234 (0xEA)
More data is available. This value is returned if the buffer pointed to by lpszName is not big enough to hold the result. The lpcchName parameter returns the number of characters in the result, excluding the terminating NULL.