Skip to content

Latest commit

 

History

History
86 lines (65 loc) · 2.97 KB

nf-clusapi-getclusterresourcetypekey.md

File metadata and controls

86 lines (65 loc) · 2.97 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:clusapi.GetClusterResourceTypeKey
GetClusterResourceTypeKey function (clusapi.h)
Opens the root of the cluster database subtree for a resource type.
GetClusterResourceTypeKey
GetClusterResourceTypeKey function [Failover Cluster]
_wolf_getclusterresourcetypekey
clusapi/GetClusterResourceTypeKey
mscs.getclusterresourcetypekey
mscs\getclusterresourcetypekey.htm
MsCS
facc22b2-221d-4d82-85ae-5b9a463c5858
12/05/2018
GetClusterResourceTypeKey, GetClusterResourceTypeKey function [Failover Cluster], _wolf_getclusterresourcetypekey, clusapi/GetClusterResourceTypeKey, mscs.getclusterresourcetypekey
clusapi.h
Windows
None supported
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
ClusAPI.lib
ClusAPI.dll
Windows
19H1
GetClusterResourceTypeKey
clusapi/GetClusterResourceTypeKey
c++
APIRef
kbSyntax
DllExport
ClusAPI.dll
GetClusterResourceTypeKey

GetClusterResourceTypeKey function

-description

Opens the root of the cluster database subtree for a resource type.

-parameters

-param hCluster [in]

Handle to a cluster.

-param lpszTypeName [in]

Pointer to a NULL-terminated Unicode string specifying the name of a resource type (the registered type name, not the display name).

-param samDesired [in]

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

-returns

If the operation succeeds, the function returns a registry key handle for the resource type.

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

-remarks

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.

-see-also

ClusterRegCloseKey

OpenCluster