OpenClusterResource function (clusapi.h)
Opens a resource and returns a handle to it. The PCLUSAPI_OPEN_CLUSTER_RESOURCE type defines a pointer to this function.
HRESOURCE OpenClusterResource( [in] HCLUSTER hCluster, [in] LPCWSTR lpszResourceName );
Handle to a cluster.
Pointer to a null-terminated Unicode string containing the name of the resource to be opened.
Resource names are not case sensitive. A resource name must be unique within the cluster. The name is set when the resource is created and can be changed using the SetClusterResourceName function.
If the operation was successful, OpenClusterResource returns a handle to the opened resource.
||The operation was not successful. For information about the error, call the function GetLastError.|
|Minimum supported client||None supported|
|Minimum supported server||Windows Server 2008 Enterprise, Windows Server 2008 Datacenter|