BOOL IsValidSecurityDescriptor(SecurityDescriptor) | |||
PSECURITY_DESCRIPTOR SecurityDescriptor; |
The IsValidSecurityDescriptor function validates a security descriptor's structure. This involves validating the revision level of each component of the security descriptor.
SecurityDescriptor
Pointer to a SECURITY_DESCRIPTOR data structure that the function will validate.
The return value is TRUE if the structure of the security descriptor is valid. Otherwise, the return value is FALSE. Use the GetLastError function to obtain extended error information.
GetSecurityDescriptorGroup, GetSecurityDescriptorControl, GetSecurityDescriptorDacl, GetSecurityDescriptorLength, GetSecurityDescriptorOwner, GetSecurityDescriptorSacl, InitializeSecurityDescriptor, SetSecurityDescriptorDacl, SetSecurityDescriptorGroup, SetSecurityDescriptorOwner, SetSecurityDescriptorSacl