Zac Brown : winhttp: Add stub implementation for WinHttpSendRequest.

Alexandre Julliard julliard at winehq.org
Fri Jul 4 13:59:13 CDT 2008


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

Author: Zac Brown <zac at zacbrown.org>
Date:   Wed Jul  2 14:37:35 2008 -0700

winhttp: Add stub implementation for WinHttpSendRequest.

---

 dlls/winhttp/main.c       |   13 +++++++++++++
 dlls/winhttp/winhttp.spec |    2 +-
 2 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/dlls/winhttp/main.c b/dlls/winhttp/main.c
index 5e675d1..2b1c9b0 100644
--- a/dlls/winhttp/main.c
+++ b/dlls/winhttp/main.c
@@ -167,3 +167,16 @@ HINTERNET WINAPI WinHttpOpenRequest (HINTERNET hConnect, LPCWSTR pwszVerb, LPCWS
     SetLastError(ERROR_NOT_SUPPORTED);
     return NULL;
 }
+
+/***********************************************************************
+ *          WinHttpSendRequest (winhttp.@)
+ */
+BOOL WINAPI WinHttpSendRequest (HINTERNET hRequest, LPCWSTR pwszHeaders, DWORD dwHeadersLength,
+                                LPVOID lpOptional, DWORD dwOptionalLength, DWORD dwTotalLength,
+                                DWORD_PTR dwContext)
+{
+    FIXME("(%s, %d, %d, %d): stub\n", debugstr_w(pwszHeaders), dwHeadersLength, dwOptionalLength, dwTotalLength);
+
+    SetLastError(ERROR_NOT_SUPPORTED);
+    return FALSE;
+}
diff --git a/dlls/winhttp/winhttp.spec b/dlls/winhttp/winhttp.spec
index 6fd06ea..780b99b 100644
--- a/dlls/winhttp/winhttp.spec
+++ b/dlls/winhttp/winhttp.spec
@@ -20,7 +20,7 @@
 @ stub WinHttpQueryOption
 @ stub WinHttpReadData
 @ stub WinHttpReceiveResponse
-@ stub WinHttpSendRequest
+@ stdcall WinHttpSendRequest(ptr wstr long ptr long long ptr)
 @ stub WinHttpSetCredentials
 @ stub WinHttpSetDefaultProxyConfiguration
 @ stub WinHttpSetOption




More information about the wine-cvs mailing list