NTSTATUS
RtlSetAttributesSecurityDescriptor(
  IN  PSECURITY_DESCRIPTOR SecurityDescriptor,
  IN  SECURITY_DESCRIPTOR_CONTROL Control,
  IN OUT PULONG Revision
  );

Routine Description:

    This procedure retrieves the control information from a security descriptor.

Arguments:

    SecurityDescriptor - Supplies the security descriptor.

    Control - Receives the control information.

    Revision - Receives the revision of the security descriptor.
               This value will always be returned, even if an error
               is returned by this routine.

Return Value:

    STATUS_SUCCESS - Indicates the call completed successfully.

    STATUS_UNKNOWN_REVISION - Indicates the revision of the security
        descriptor is not known to the routine.  It may be a newer
        revision than the routine knows about.