Using Error Handling

The following topic contains details on using the GetLastError and FormatMessage functions: