The `GetLastError` function is part of Microsoft Windows and is part of an error-reporting mechanism used by many libraries.
The GetLastError
function is part of Microsoft Windows and is part of an error-reporting mechanism used by many libraries. For more information, see GetLastError on MSDN.