Module: wine Branch: master Commit: 7a39e23db65db784856ac6fc6f8f92b11f1ddd18 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7a39e23db65db784856ac6fc6f...
Author: Zac Brown zac@zacbrown.org Date: Mon Jul 7 13:20:42 2008 -0700
winhttp: Add stub implementation for WinHttpQueryOption.
---
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 2b1c9b0..cef78d9 100644 --- a/dlls/winhttp/main.c +++ b/dlls/winhttp/main.c @@ -180,3 +180,14 @@ BOOL WINAPI WinHttpSendRequest (HINTERNET hRequest, LPCWSTR pwszHeaders, DWORD d SetLastError(ERROR_NOT_SUPPORTED); return FALSE; } + +/*********************************************************************** + * WinHttpQueryOption (winhttp.@) + */ +BOOL WINAPI WinHttpQueryOption (HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer, LPDWORD lpdwBufferLength) +{ + FIXME("(%d): stub\n", dwOption); + + SetLastError(ERROR_NOT_SUPPORTED); + return FALSE; +} diff --git a/dlls/winhttp/winhttp.spec b/dlls/winhttp/winhttp.spec index 780b99b..6ad63c9 100644 --- a/dlls/winhttp/winhttp.spec +++ b/dlls/winhttp/winhttp.spec @@ -17,7 +17,7 @@ @ stub WinHttpQueryAuthSchemes @ stub WinHttpQueryDataAvailable @ stub WinHttpQueryHeaders -@ stub WinHttpQueryOption +@ stdcall WinHttpQueryOption(ptr long ptr ptr) @ stub WinHttpReadData @ stub WinHttpReceiveResponse @ stdcall WinHttpSendRequest(ptr wstr long ptr long long ptr)