GetClusterResourceNetworkName function (clusapi.h)
BOOL GetClusterResourceNetworkName( HRESOURCE hResource, LPWSTR lpBuffer, LPDWORD nSize );
Handle to the dependent resource.
Buffer containing a null-terminated Unicode string that contains the Name private property of the Network Name resource on which the resource depends.
On input, pointer to a count of characters in the buffer pointed to by lpBuffer. On output, pointer to a count of characters in the network name of the Network Name resource contained in the buffer pointed to by lpBuffer, excluding the null-terminating character.
If the operation succeeds, the function returns TRUE.
If the operation fails, the function returns FALSE. For more information about the error, call GetLastError.
Do not call GetClusterResourceNetworkName from any resource DLL entry point function. GetClusterResourceNetworkName can safely be called from a worker thread. For more information, see Function Calls to Avoid in Resource DLLs.
|Minimum supported client||None supported|
|Minimum supported server||Windows Server 2008 Enterprise, Windows Server 2008 Datacenter|