Bruno Jesus : wininet: Forward InternetGetConnectedState to Ex function.
Alexandre Julliard
julliard at winehq.org
Mon Mar 6 15:25:07 CST 2017
Module: wine
Branch: master
Commit: 36f6387e5cab16a2343ce76ed24a95479f5cdcae
URL: http://source.winehq.org/git/wine.git/?a=commit;h=36f6387e5cab16a2343ce76ed24a95479f5cdcae
Author: Bruno Jesus <bjesus at codeweavers.com>
Date: Mon Mar 6 01:24:29 2017 -0300
wininet: Forward InternetGetConnectedState to Ex function.
Signed-off-by: Bruno Jesus <bjesus at codeweavers.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wininet/internet.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c
index 02379c2..91678b6 100644
--- a/dlls/wininet/internet.c
+++ b/dlls/wininet/internet.c
@@ -1182,11 +1182,7 @@ BOOL WINAPI InternetGetConnectedState(LPDWORD lpdwStatus, DWORD dwReserved)
{
TRACE("(%p, 0x%08x)\n", lpdwStatus, dwReserved);
- if (lpdwStatus) {
- WARN("always returning LAN connection.\n");
- *lpdwStatus = INTERNET_CONNECTION_LAN;
- }
- return TRUE;
+ return InternetGetConnectedStateExW(lpdwStatus, NULL, 0, dwReserved);
}
More information about the wine-cvs
mailing list