Use g_win32_error_message() with GetLastError()