[WININET]
authorThomas Faber <thomas.faber@reactos.org>
Mon, 24 Apr 2017 10:07:39 +0000 (10:07 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Mon, 24 Apr 2017 10:07:39 +0000 (10:07 +0000)
- Silence Firefox/Safari debug spam
CORE-12853 CORE-12128 CORE-11135

svn path=/trunk/; revision=74401

reactos/dll/win32/wininet/internet.c
reactos/sdk/include/psdk/wininet.h

index aaef7ed..1a06c84 100644 (file)
@@ -2388,7 +2388,11 @@ static DWORD query_global_option(DWORD option, void *buffer, DWORD *size, BOOL u
         if((ret = INTERNET_LoadProxySettings(&pi)))
             return ret;
 
+#ifdef __REACTOS__
+        WARN("INTERNET_OPTION_PER_CONNECTION_OPTION stub\n");
+#else
         FIXME("INTERNET_OPTION_PER_CONNECTION_OPTION stub\n");
+#endif
 
         if (*size < sizeof(INTERNET_PER_CONN_OPTION_LISTW)) {
             FreeProxyInfo(&pi);
@@ -2447,6 +2451,12 @@ static DWORD query_global_option(DWORD option, void *buffer, DWORD *size, BOOL u
                 memset(&optionW->Value, 0, sizeof(optionW->Value));
                 break;
 
+#ifdef __REACTOS__
+            case INTERNET_PER_CONN_FLAGS_UI:
+                WARN("Unhandled dwOption %d\n", optionW->dwOption);
+                break;
+
+#endif
             default:
                 FIXME("Unknown dwOption %d\n", optionW->dwOption);
                 res = ERROR_INVALID_PARAMETER;
index f86831d..c569916 100644 (file)
@@ -340,6 +340,7 @@ DECL_WINELIB_TYPE_AW(LPINTERNET_PER_CONN_OPTION)
 #define INTERNET_PER_CONN_AUTOCONFIG_RELOAD_DELAY_MINS 7
 #define INTERNET_PER_CONN_AUTOCONFIG_LAST_DETECT_TIME  8
 #define INTERNET_PER_CONN_AUTOCONFIG_LAST_DETECT_URL   9
+#define INTERNET_PER_CONN_FLAGS_UI                     10
 
 /* Values for INTERNET_PER_CONN_FLAGS */
 #define PROXY_TYPE_DIRECT         0x00000001