GetLastError function
Retrieves the calling thread's last-error code value.
To learn more, see learn.microsoft.com/windows/win32/api/errhandlingapi/nf-errhandlingapi-getlasterror.
Implementation
@pragma('vm:prefer-inline')
WIN32_ERROR GetLastError() => .new(_GetLastError());