wininet: Forward InternetGetConnectedState to Ex function.

Signed-off-by: Bruno Jesus <bjesus@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Bruno Jesus 2017-03-06 01:24:29 -03:00 committed by Alexandre Julliard
parent a3c9a2682c
commit 36f6387e5c
1 changed files with 1 additions and 5 deletions

View File

@ -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);
}