The GetClusterResourceTypeKey function opens the root of the cluster database subtree for a resource type.
HKEY WINAPI GetClusterResourceTypeKey(
HCLUSTER hCluster,
LPCWSTR lpszTypeName,
REGSAM samDesired
);
If the operation was successful, GetClusterResourceTypeKey returns a registry key handle for the resource type.
The GetClusterResourceTypeKey function returns a handle to a cluster database key representing the subtree root for the resource type pointed to by lpszTypeName in the cluster identified by hCluster. Callers should call ClusterRegCloseKey to close the key handle retrieved by GetClusterResourceTypeKey when they are done with it.
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.