Zac Brown : winhttp: Add stub implementation for WinHttpSetOption.
Alexandre Julliard
julliard at winehq.org
Tue Jul 8 06:11:23 CDT 2008
Module: wine
Branch: master
Commit: cb5908fcb7a4139896c49119b0bde944dce2ae04
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cb5908fcb7a4139896c49119b0bde944dce2ae04
Author: Zac Brown <zac at zacbrown.org>
Date: Mon Jul 7 13:20:53 2008 -0700
winhttp: Add stub implementation for WinHttpSetOption.
---
dlls/winhttp/main.c | 11 +++++++++++
dlls/winhttp/winhttp.spec | 2 +-
2 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dlls/winhttp/main.c b/dlls/winhttp/main.c
index 519c24c..4e7328a 100644
--- a/dlls/winhttp/main.c
+++ b/dlls/winhttp/main.c
@@ -213,3 +213,14 @@ BOOL WINAPI WinHttpReceiveResponse (HINTERNET hRequest, LPVOID lpReserved)
SetLastError(ERROR_NOT_SUPPORTED);
return FALSE;
}
+
+/***********************************************************************
+ * WinHttpSetOption (winhttp.@)
+ */
+BOOL WINAPI WinHttpSetOption (HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer, DWORD dwBufferLength)
+{
+ FIXME("stub\n");
+
+ SetLastError(ERROR_NOT_SUPPORTED);
+ return FALSE;
+}
diff --git a/dlls/winhttp/winhttp.spec b/dlls/winhttp/winhttp.spec
index ee7e8cf..a907a4b 100644
--- a/dlls/winhttp/winhttp.spec
+++ b/dlls/winhttp/winhttp.spec
@@ -23,7 +23,7 @@
@ stdcall WinHttpSendRequest(ptr wstr long ptr long long ptr)
@ stub WinHttpSetCredentials
@ stub WinHttpSetDefaultProxyConfiguration
-@ stub WinHttpSetOption
+@ stdcall WinHttpSetOption(ptr long ptr long)
@ stub WinHttpSetStatusCallback
@ stub WinHttpSetTimeouts
@ stub WinHttpTimeFromSystemTime
More information about the wine-cvs
mailing list