well actually there is not specific or clear different between عندما ,حين and حينما.
they all mean when (talking about specific time in which action was happened)
We called this in Arabic (ظرف زمان) (adverb of time).
This is a short summery of your question.