The GetClusterNetworkId function returns the identifier of a network.
DWORD WINAPI GetClusterNetworkId(
HNETWORK hNetwork,
LPWSTR lpszNetworkId,
LPDWORD lpcchNetworkId
);
If the operation was unsuccessful for a reason other than insufficient size in the buffer pointed to by lpszNetworkId, GetClusterNetworkId returns a Win32 error value.
When GetClusterNetworkId returns, the variable pointed to by lpcchNetworkId contains the number of characters stored in the buffer. The count returned does not include the terminating NULL character.
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.