Zac Brown : winhttp: Add stub implementation for WinHttpQueryDataAvailable.

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


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

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

winhttp: Add stub implementation for WinHttpQueryDataAvailable.

---

 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 cef78d9..79f540b 100644
--- a/dlls/winhttp/main.c
+++ b/dlls/winhttp/main.c
@@ -191,3 +191,14 @@ BOOL WINAPI WinHttpQueryOption (HINTERNET hInternet, DWORD dwOption, LPVOID lpBu
     SetLastError(ERROR_NOT_SUPPORTED);
     return FALSE;
 }
+
+/***********************************************************************
+ *          WinHttpQueryDataAvailable (winhttp.@)
+ */
+BOOL WINAPI WinHttpQueryDataAvailable (HINTERNET hInternet, LPDWORD lpdwNumberOfBytesAvailable)
+{
+    FIXME("stub\n");
+
+    SetLastError(ERROR_NOT_SUPPORTED);
+    return FALSE;
+}
diff --git a/dlls/winhttp/winhttp.spec b/dlls/winhttp/winhttp.spec
index 6ad63c9..9836b49 100644
--- a/dlls/winhttp/winhttp.spec
+++ b/dlls/winhttp/winhttp.spec
@@ -15,7 +15,7 @@
 @ stdcall WinHttpOpen(wstr long wstr wstr long)
 @ stdcall WinHttpOpenRequest(ptr wstr wstr wstr wstr ptr long)
 @ stub WinHttpQueryAuthSchemes
-@ stub WinHttpQueryDataAvailable
+@ stdcall WinHttpQueryDataAvailable(ptr ptr)
 @ stub WinHttpQueryHeaders
 @ stdcall WinHttpQueryOption(ptr long ptr ptr)
 @ stub WinHttpReadData




More information about the wine-cvs mailing list