From db0b7beffa21aaa1038e37c67fe60b5362ba68b5 Mon Sep 17 00:00:00 2001 From: Zac Brown Date: Thu, 14 Aug 2008 14:57:25 -0700 Subject: [PATCH] winhttp: Add stub implementation for WinHttpAddRequestHeaders. --- dlls/winhttp/main.c | 12 ++++++++++++ dlls/winhttp/winhttp.spec | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/dlls/winhttp/main.c b/dlls/winhttp/main.c index 192ec214a4..fb66360c9b 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 fc82609e8a..ce9407e1bc 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)