Zac Brown : winhttp: Add stub implementation for WinHttpQueryHeaders.
Alexandre Julliard
julliard at winehq.org
Tue Aug 19 08:46:54 CDT 2008
Module: wine
Branch: master
Commit: 9dd04bfc32f2ae92143fdeb3b19f5ec7f53a289a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9dd04bfc32f2ae92143fdeb3b19f5ec7f53a289a
Author: Zac Brown <zac at zacbrown.org>
Date: Thu Aug 14 14:56:23 2008 -0700
winhttp: Add stub implementation for WinHttpQueryHeaders.
---
dlls/winhttp/main.c | 12 ++++++++++++
dlls/winhttp/winhttp.spec | 2 +-
2 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/dlls/winhttp/main.c b/dlls/winhttp/main.c
index 10a02b7..192ec21 100644
--- a/dlls/winhttp/main.c
+++ b/dlls/winhttp/main.c
@@ -281,3 +281,15 @@ BOOL WINAPI WinHttpTimeToSystemTime (LPCWSTR pwszTime, SYSTEMTIME* pst)
SetLastError(ERROR_NOT_SUPPORTED);
return FALSE;
}
+
+/***********************************************************************
+ * WinHttpQueryHeaders (winhttp.@)
+ */
+BOOL WINAPI WinHttpQueryHeaders (HINTERNET hRequest, DWORD dwInfoLevel, LPCWSTR pwszName,
+ LPVOID lpBuffer, LPDWORD lpdwBufferLength, LPDWORD lpdwIndex)
+{
+ FIXME("(%d): stub\n", dwInfoLevel);
+
+ SetLastError(ERROR_NOT_SUPPORTED);
+ return FALSE;
+}
diff --git a/dlls/winhttp/winhttp.spec b/dlls/winhttp/winhttp.spec
index c093898..fc82609 100644
--- a/dlls/winhttp/winhttp.spec
+++ b/dlls/winhttp/winhttp.spec
@@ -16,7 +16,7 @@
@ stdcall WinHttpOpenRequest(ptr wstr wstr wstr wstr ptr long)
@ stub WinHttpQueryAuthSchemes
@ stdcall WinHttpQueryDataAvailable(ptr ptr)
-@ stub WinHttpQueryHeaders
+@ stdcall WinHttpQueryHeaders(ptr long wstr ptr ptr ptr)
@ stdcall WinHttpQueryOption(ptr long ptr ptr)
@ stdcall WinHttpReadData(ptr ptr long ptr)
@ stdcall WinHttpReceiveResponse(ptr ptr)
More information about the wine-cvs
mailing list