The following table shows the Error functions and the purpose of each.
| Programming element | Description |
|---|---|
| FormatMessage | This function formats a message string. |
| GetLastError | This function returns the calling thread's last-error code value. |
| SetLastError | This function sets the last-error code for the calling thread. |
Send Feedback on this topic to the authors