Zac Brown : winhttp: Add stub implementation for WinHttpReceiveResponse.

Alexandre Julliard julliard at winehq.org
Tue Jul 8 06:11:22 CDT 2008


Module: wine
Branch: master
Commit: 000fe7058dc08aee65bfc9af95fb9a2131acd738
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=000fe7058dc08aee65bfc9af95fb9a2131acd738

Author: Zac Brown <zac at zacbrown.org>
Date:   Mon Jul  7 13:20:49 2008 -0700

winhttp: Add stub implementation for WinHttpReceiveResponse.

---

 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 79f540b..519c24c 100644
--- a/dlls/winhttp/main.c
+++ b/dlls/winhttp/main.c
@@ -202,3 +202,14 @@ BOOL WINAPI WinHttpQueryDataAvailable (HINTERNET hInternet, LPDWORD lpdwNumberOf
     SetLastError(ERROR_NOT_SUPPORTED);
     return FALSE;
 }
+
+/***********************************************************************
+ *          WinHttpReceiveResponse (winhttp.@)
+ */
+BOOL WINAPI WinHttpReceiveResponse (HINTERNET hRequest, LPVOID lpReserved)
+{
+    FIXME("stub\n");
+
+    SetLastError(ERROR_NOT_SUPPORTED);
+    return FALSE;
+}
diff --git a/dlls/winhttp/winhttp.spec b/dlls/winhttp/winhttp.spec
index 9836b49..ee7e8cf 100644
--- a/dlls/winhttp/winhttp.spec
+++ b/dlls/winhttp/winhttp.spec
@@ -19,7 +19,7 @@
 @ stub WinHttpQueryHeaders
 @ stdcall WinHttpQueryOption(ptr long ptr ptr)
 @ stub WinHttpReadData
-@ stub WinHttpReceiveResponse
+@ stdcall WinHttpReceiveResponse(ptr ptr)
 @ stdcall WinHttpSendRequest(ptr wstr long ptr long long ptr)
 @ stub WinHttpSetCredentials
 @ stub WinHttpSetDefaultProxyConfiguration




More information about the wine-cvs mailing list