NTSTATUS
RtlpInitializeAuditAce(
  IN  PACCESS_ALLOWED_ACE AuditAce,
  IN  USHORT AceSize,
  IN  UCHAR InheritFlags,
  IN  UCHAR AceFlags,
  IN  ACCESS_MASK Mask,
  IN  PSID AuditSid
  );

Routine Description:

    This function assigns the specified ACE values into an audit type ACE.

Arguments:

    AuditAce - Supplies a pointer to the ACE that is initialized.

    AceSize - Supplies the size of the ACE in bytes.

    InheritFlags - Supplies ACE inherit flags.

    AceFlags - Supplies ACE type specific control flags.

    Mask - Supplies the allowed access masks.

    AuditSid - Supplies the pointer to the SID of user/group which is to be
        audited.

Return Value:

    Returns status from RtlCopySid.