Here's how it works:
* Present participle: listening
* Past participle: listened
* Progressive past participle: having listened
You would use "having listened" in a sentence like this:
"Having listened to the entire lecture, I felt confident about the exam."