ClusterRegGetKeySecurity

The ClusterRegGetKeySecurity function returns a copy of the security descriptor protecting the specified cluster database key.

LONG WINAPI ClusterGetKeySecurity(
  HKEY hKey,                                 
  SECURITY_INFORMATION SecurityInformation,  
  PSECURITY_DESCRIPTOR pSecurityDescriptor,  
  LPDWORD lpcbSecurityDescriptor             
);
 

Parameters

hKey
[in] Handle to a cluster database key.
SecurityInformation
[in] A SECURITY_INFORMATION structure that indicates the requested security descriptor.
pSecurityDescriptor
[out] Pointer to a SECURITY_DESCRIPTOR structure containing a copy of the requested security descriptor.
lpcbSecurityDescriptor
[in, out] 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 Values

ERROR_SUCCESS
The operation was successful.

If the operation was unsuccessful, ClusterRegGetKeySecurity returns a Win32 error value.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.