GetClusterGroupKey function

Opens the root of the cluster database subtree for a group.

Syntax


HKEY WINAPI GetClusterGroupKey(
  _In_ HGROUP hGroup,
  _In_ REGSAM samDesired
);

Parameters

hGroup [in]

Handle to a group.

samDesired [in]

Access mask that describes the security access needed for the key.

Return value

If the operation succeeds, the function returns a database key handle for the group.

If the operation fails, the function returns NULL. For more information about the error, call GetLastError.

Remarks

The GetClusterGroupKey function returns a handle to a cluster database key representing the subtree root for the group identified by hGroup. Callers should call ClusterRegCloseKey to close the key handle retrieved by GetClusterGroupKey when they are done with it.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Enterprise, Windows Server 2008 Datacenter

Header

ClusAPI.h

Library

ClusAPI.lib

DLL

ClusAPI.dll

See also

ClusterRegCloseKey
GetLastError
OpenClusterGroup

 

 

Show: