NTSTATUS
RtlDeleteAce(
  IN OUT PACL Acl,
  IN  ULONG AceIndex
  );

Routine Description:

    This routine deletes one ACE from an ACL.

Arguments:

    Acl - Supplies the Acl being modified

    AceIndex - Supplies the index of the Ace to delete.

Return Value:

    NTSTATUS - STATUS_SUCCESS if successful and an appropriate error
        status otherwise