SetClusterNetworkName

The SetClusterNetworkName function sets the name for a network.

DWORD WINAPI SetClusterNetworkName(
  HNETWORK hNetwork,          
  LPCWSTR lpszName  
);
 

Parameters

hNetwork
[in] Handle to a network to name.
lpszName
[in] Pointer to the new network name.

Return Values

ERROR_SUCCESS
The operation was successful.

If the operation was unsuccessful, SetClusterNetworkName returns a Win32 error value.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.