Report question

Question: What is the correct usage of GetLastError and FormatMessage in Delphi?