Good question, I think they get all the details i.e. the student number and the students name, marks etc. Either way your school does have your student number so they can work out who got what HSC mark, they do know which student got what result though but you don't have to face them again so meh.