From: Michael Müller <michael(a)fds-team.de>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com>
---
dlls/wininet/internet.c | 3 +++
dlls/wininet/tests/internet.c | 6 ++++++
2 files changed, 9 insertions(+)
diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c
index 699962c..c3838e0 100644
--- a/dlls/wininet/internet.c
+++ b/dlls/wininet/internet.c
@@ -2937,6 +2937,9 @@ BOOL WINAPI InternetSetOptionW(HINTERNET hInternet, DWORD dwOption,
ret = (res == ERROR_SUCCESS);
break;
}
+ case INTERNET_OPTION_SETTINGS_CHANGED:
+ FIXME("INTERNET_OPTION_SETTINGS_CHANGED; STUB\n");
+ break;
default:
FIXME("Option %d STUB\n",dwOption);
SetLastError(ERROR_INTERNET_INVALID_OPTION);
diff --git a/dlls/wininet/tests/internet.c b/dlls/wininet/tests/internet.c
index 3201dd9..d9cb720 100644
--- a/dlls/wininet/tests/internet.c
+++ b/dlls/wininet/tests/internet.c
@@ -1165,6 +1165,12 @@ static void test_InternetSetOption(void)
ok(ret == FALSE, "InternetSetOption should've failed\n");
ok(GetLastError() == ERROR_INVALID_PARAMETER, "GetLastError() = %x\n", GetLastError());
+ ret = InternetSetOptionA(req, INTERNET_OPTION_SETTINGS_CHANGED, NULL, 0);
+ ok(ret == TRUE, "InternetSetOption should've succeeded\n");
+
+ ret = InternetSetOptionA(ses, INTERNET_OPTION_SETTINGS_CHANGED, NULL, 0);
+ ok(ret == TRUE, "InternetSetOption should've succeeded\n");
+
ret = InternetCloseHandle(req);
ok(ret == TRUE, "InternetCloseHandle failed: 0x%08x\n", GetLastError());
ret = InternetCloseHandle(con);
--
1.9.1