Module: wine Branch: master Commit: db0b7beffa21aaa1038e37c67fe60b5362ba68b5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=db0b7beffa21aaa1038e37c67f...
Author: Zac Brown zac@zacbrown.org Date: Thu Aug 14 14:57:25 2008 -0700
winhttp: Add stub implementation for WinHttpAddRequestHeaders.
---
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 192ec21..fb66360 100644 --- a/dlls/winhttp/main.c +++ b/dlls/winhttp/main.c @@ -293,3 +293,15 @@ BOOL WINAPI WinHttpQueryHeaders (HINTERNET hRequest, DWORD dwInfoLevel, LPCWSTR SetLastError(ERROR_NOT_SUPPORTED); return FALSE; } + +/*********************************************************************** + * WinHttpAddRequestHeaders (winhttp.@) + */ +BOOL WINAPI WinHttpAddRequestHeaders (HINTERNET hRequest, LPCWSTR pwszHeaders, + DWORD dwHeadersLength, DWORD dwModifiers) +{ + FIXME("(%s, %d, %d): stub\n", debugstr_w(pwszHeaders), dwHeadersLength, dwModifiers); + + SetLastError(ERROR_NOT_SUPPORTED); + return FALSE; +} diff --git a/dlls/winhttp/winhttp.spec b/dlls/winhttp/winhttp.spec index fc82609..ce9407e 100644 --- a/dlls/winhttp/winhttp.spec +++ b/dlls/winhttp/winhttp.spec @@ -2,7 +2,7 @@ @ stdcall -private DllGetClassObject(ptr ptr ptr) @ stdcall -private DllRegisterServer() @ stdcall -private DllUnregisterServer() -@ stub WinHttpAddRequestHeaders +@ stdcall WinHttpAddRequestHeaders(ptr wstr long long) @ stdcall WinHttpCheckPlatform() @ stdcall WinHttpCloseHandle(ptr) @ stdcall WinHttpConnect(ptr wstr long long)