what are common for pretranslatemessage and winproc functions and how are they different ?

Thank you