1. I want to sing.
2. I want her to sing.
In #1, the infinitive is functioning as a noun (direct object. In #2, is the infinitive functioning as any part of speech? I know that "her" is its subject, but that's all. Is it only a bare infinitive in #2?