The ClusterRegSetKeySecurity function sets the security attributes for a cluster database key.
LONG WINAPI ClusterRegSetKeySecurity(
HKEY hKey,
SECURITY_INFORMATION SecurityInformation,
PSECURITY_DESCRIPTOR pSecurityDescriptor
);
If the operation was unsuccessful, ClusterRegSetKeySecurity returns a Win32 error value.
ClusterRegSetKeySecurity will generate a CLUSTER_CHANGE_REGISTRY_ATTRIBUTES event for all registered notification ports.
For more information, see the related Win32 function RegSetKeySecurity.
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.