Commit 49845c51 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

wininet: Return INTERNET_RAS_INSTALLED flag from InternetGetConnectedStateExW().

parent 5e25a454
......@@ -1213,8 +1213,8 @@ BOOL WINAPI InternetGetConnectedStateExW(LPDWORD lpdwStatus, LPWSTR lpszConnecti
return FALSE;
if (lpdwStatus) {
WARN("always returning LAN connection.\n");
*lpdwStatus = INTERNET_CONNECTION_LAN;
WARN("always returning LAN connection and RAS installed.\n");
*lpdwStatus = INTERNET_CONNECTION_LAN | INTERNET_RAS_INSTALLED;
}
/* When the buffer size is zero LoadStringW fills the buffer with a pointer to
......
......@@ -1632,7 +1632,6 @@ static void test_InternetGetConnectedStateExA(void)
buffer[0] = 0;
res = pInternetGetConnectedStateExA(&flags, buffer, sizeof(buffer), 0);
trace("Internet Connection: Flags 0x%02lx - Name '%s'\n", flags, buffer);
todo_wine
ok (flags & INTERNET_RAS_INSTALLED, "Missing RAS flag\n");
if(!res) {
win_skip("InternetGetConnectedStateExA tests require a valid connection\n");
......@@ -1734,7 +1733,6 @@ static void test_InternetGetConnectedStateExW(void)
buffer[0] = 0;
res = pInternetGetConnectedStateExW(&flags, buffer, ARRAY_SIZE(buffer), 0);
trace("Internet Connection: Flags 0x%02lx - Name '%s'\n", flags, wine_dbgstr_w(buffer));
todo_wine
ok (flags & INTERNET_RAS_INSTALLED, "Missing RAS flag\n");
if(!res) {
win_skip("InternetGetConnectedStateExW tests require a valid connection\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment