ClusterRegGetKeySecurity function (clusapi.h)
Returns a copy of the security descriptor protecting the specified cluster database key.
Syntax
LONG ClusterRegGetKeySecurity(
[in] HKEY hKey,
[in] SECURITY_INFORMATION RequestedInformation,
[out] PSECURITY_DESCRIPTOR pSecurityDescriptor,
[in, out] LPDWORD lpcbSecurityDescriptor
);
Parameters
[in] hKey
Handle to a cluster database key.
[in] RequestedInformation
A SECURITY_INFORMATION structure that indicates the requested security descriptor.
[out] pSecurityDescriptor
Pointer to a SECURITY_DESCRIPTOR structure containing a copy of the requested security descriptor.
[in, out] lpcbSecurityDescriptor
On input, pointer to a count of the number of bytes in the buffer pointed to by pSecurityDescriptor. On output, pointer to a count of the number of bytes written to the buffer.
Return value
If the operation succeeds, the function returns ERROR_SUCCESS.
If the operation fails, the function returns a system error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 Enterprise, Windows Server 2008 Datacenter |
Target Platform | Windows |
Header | clusapi.h |
Library | ClusAPI.lib |
DLL | ClusAPI.dll |