Hans Leidekker : winhttp: Add a stub implementation for WinHttpSetTimeouts.
Alexandre Julliard
julliard at winehq.org
Wed Aug 20 08:13:57 CDT 2008
Module: wine
Branch: master
Commit: fcb0e3a9d11c074bce9c98a45fa08cbf366e6df3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fcb0e3a9d11c074bce9c98a45fa08cbf366e6df3
Author: Hans Leidekker <hans at codeweavers.com>
Date: Wed Aug 20 11:35:15 2008 +0200
winhttp: Add a stub implementation for WinHttpSetTimeouts.
---
dlls/winhttp/session.c | 9 +++++++++
dlls/winhttp/winhttp.spec | 2 +-
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/dlls/winhttp/session.c b/dlls/winhttp/session.c
index 8cbcb5d..39f9be1 100644
--- a/dlls/winhttp/session.c
+++ b/dlls/winhttp/session.c
@@ -394,6 +394,15 @@ WINHTTP_STATUS_CALLBACK WINAPI WinHttpSetStatusCallback( HINTERNET handle, WINHT
return ret;
}
+/***********************************************************************
+ * WinHttpSetTimeouts (winhttp.@)
+ */
+BOOL WINAPI WinHttpSetTimeouts( HINTERNET handle, int resolve, int connect, int send, int receive )
+{
+ FIXME("%p, %d, %d, %d, %d\n", handle, resolve, connect, send, receive);
+ return TRUE;
+}
+
static const WCHAR wkday[7][4] =
{{'S','u','n', 0}, {'M','o','n', 0}, {'T','u','e', 0}, {'W','e','d', 0},
{'T','h','u', 0}, {'F','r','i', 0}, {'S','a','t', 0}};
diff --git a/dlls/winhttp/winhttp.spec b/dlls/winhttp/winhttp.spec
index 08e4d93..eadc07e 100644
--- a/dlls/winhttp/winhttp.spec
+++ b/dlls/winhttp/winhttp.spec
@@ -25,7 +25,7 @@
@ stdcall WinHttpSetDefaultProxyConfiguration(ptr long long wstr ptr ptr)
@ stdcall WinHttpSetOption(ptr long ptr long)
@ stdcall WinHttpSetStatusCallback(ptr ptr long ptr)
-@ stub WinHttpSetTimeouts
+@ stdcall WinHttpSetTimeouts(ptr long long long long)
@ stdcall WinHttpTimeFromSystemTime(ptr ptr)
@ stdcall WinHttpTimeToSystemTime(wstr ptr)
@ stdcall WinHttpWriteData(ptr ptr long ptr)
More information about the wine-cvs
mailing list