OpenClusterNetInterface function

Opens a handle to a network interface. The PCLUSAPI_OPEN_CLUSTER_NET_INTERFACE type defines a pointer to this function.

Syntax

HNETINTERFACE OpenClusterNetInterface(
  HCLUSTER hCluster,
  LPCWSTR  lpszInterfaceName
);

Parameters

hCluster

Handle to a cluster.

lpszInterfaceName

Pointer to a null-terminated Unicode string containing the name of the network interface to open.

Return Value

If the operation was successful, OpenClusterNetInterface returns an open handle to the specified network interface.

Return code Description
NULL
The operation was not successful. For more information about the error, call the function GetLastError.

Requirements

   
Minimum supported client None supported
Minimum supported server Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Target Platform Windows
Header clusapi.h
Library ClusAPI.lib
DLL ClusAPI.dll

See Also

CloseClusterNetInterface

Network Interface Management Functions

OpenClusterNetInterfaceEx