Skip to content

Latest commit

 

History

History
112 lines (92 loc) · 3.5 KB

nf-clusapi-clusterregsetkeysecurity.md

File metadata and controls

112 lines (92 loc) · 3.5 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.ClusterRegSetKeySecurity
ClusterRegSetKeySecurity function (clusapi.h)
Sets the security attributes for a cluster database key.
ClusterRegSetKeySecurity
ClusterRegSetKeySecurity function [Failover Cluster]
_wolf_clusterregsetkeysecurity
clusapi/ClusterRegSetKeySecurity
mscs.clusterregsetkeysecurity
mscs\clusterregsetkeysecurity.htm
MsCS
adb2ea52-6a3a-4243-944d-c7ae68a42a1a
12/05/2018
ClusterRegSetKeySecurity, ClusterRegSetKeySecurity function [Failover Cluster], _wolf_clusterregsetkeysecurity, clusapi/ClusterRegSetKeySecurity, mscs.clusterregsetkeysecurity
clusapi.h
Windows
None supported
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
ClusAPI.lib
ClusAPI.dll
Windows
19H1
ClusterRegSetKeySecurity
clusapi/ClusterRegSetKeySecurity
c++
APIRef
kbSyntax
DllExport
ClusAPI.dll
ClusterRegSetKeySecurity

ClusterRegSetKeySecurity function

-description

Sets the security attributes for a cluster database key.

-parameters

-param hKey [in]

Handle to a cluster database key.

-param SecurityInformation [in]

A SECURITY_INFORMATION structure that indicates the content of the security descriptor pointed to by pSecurityDescriptor.

-param pSecurityDescriptor [in]

Pointer to a SECURITY_DESCRIPTOR structure that describes the security attributes to set for the key corresponding to hKey.

-returns

If the operation succeeds, the function returns ERROR_SUCCESS (0).

If the operation fails, the function returns a system error code.

-remarks

The ClusterRegSetKeySecurity function generates a CLUSTER_CHANGE_REGISTRY_ATTRIBUTES event for all registered notification ports.

Do not call ClusterRegSetKeySecurity from the following resource DLL entry point functions:

ClusterRegSetKeySecurity can be safely called from any other resource DLL entry point function or from a worker thread. For more information, see Function Calls to Avoid in Resource DLLs.

-see-also

ClusterRegOpenKey