The ClusterNetworkEnum function enumerates objects on a network, returning the name of one object with each call.
DWORD WINAPI ClusterNetworkEnum(
HNETWORKENUM hNetworkEnum,
DWORD dwIndex,
LPDWORD lpdwType,
LPWSTR lpszName,
LPDWORD lpcbName
);
The ClusterNetworkEnum function is typically used to iterate through a collection of network objects of one or more types. If, for example, an application wants to enumerate all of the network interface objects on a network, it calls ClusterNetworkOpenEnum to open a network enumerator that can process network interface objects. The dwType parameter is set to CLUSTER_NETWORK_ENUM_NETINTERFACES to specify network interfaces as the object type to be enumerated. With the handle that ClusterNetworkOpenEnum returns, the application calls ClusterNetworkEnum repeatedly to retrieve each of the objects. The lpdwType parameter points to the type of object that is retrieved.
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.