The GetClusterKey function opens the root of the cluster database subtree for a cluster.
HKEY WINAPI GetClusterKey(
HCLUSTER hCluster,
REGSAM samDesired
);
If the operation was successful, GetClusterKey returns a database key handle for the cluster.
The GetClusterKey function returns a handle to a cluster database key representing the cluster database subtree root for the cluster identified by hCluster. Callers should call ClusterRegCloseKey to close the key handle retrieved by GetClusterKey when they are done with it.