wininet: InternetGetConnectedStateExW must return TRUE for success.
This commit is contained in:
parent
357f0f4656
commit
2ef27a2322
|
@ -1219,7 +1219,7 @@ BOOL WINAPI InternetGetConnectedStateExW(LPDWORD lpdwStatus, LPWSTR lpszConnecti
|
|||
WARN("always returning LAN connection.\n");
|
||||
*lpdwStatus = INTERNET_CONNECTION_LAN;
|
||||
}
|
||||
return LoadStringW(WININET_hModule, IDS_LANCONNECTION, lpszConnectionName, dwNameLen);
|
||||
return LoadStringW(WININET_hModule, IDS_LANCONNECTION, lpszConnectionName, dwNameLen) > 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue