From 9575564af8eae8f455c02bf710a0fd706a8b298b Mon Sep 17 00:00:00 2001 From: Zac Brown Date: Mon, 7 Jul 2008 13:32:14 -0700 Subject: [PATCH] winhttp: Add stub implementation for WinHttpCloseHandle. --- dlls/winhttp/main.c | 11 +++++++++++ dlls/winhttp/winhttp.spec | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dlls/winhttp/main.c b/dlls/winhttp/main.c index 21c1ba3b2c7..28eb1201e1e 100644 --- a/dlls/winhttp/main.c +++ b/dlls/winhttp/main.c @@ -236,3 +236,14 @@ BOOL WINAPI WinHttpReadData (HINTERNET hInternet, LPVOID lpBuffer, DWORD dwNumbe SetLastError(ERROR_NOT_SUPPORTED); return FALSE; } + +/*********************************************************************** + * WinHttpReadData (winhttp.@) + */ +BOOL WINAPI WinHttpCloseHandle (HINTERNET hInternet) +{ + FIXME("stub\n"); + + SetLastError(ERROR_NOT_SUPPORTED); + return FALSE; +} diff --git a/dlls/winhttp/winhttp.spec b/dlls/winhttp/winhttp.spec index eae8a33babf..1017c71397f 100644 --- a/dlls/winhttp/winhttp.spec +++ b/dlls/winhttp/winhttp.spec @@ -4,7 +4,7 @@ @ stdcall -private DllUnregisterServer() @ stub WinHttpAddRequestHeaders @ stdcall WinHttpCheckPlatform() -@ stub WinHttpCloseHandle +@ stdcall WinHttpCloseHandle(ptr) @ stdcall WinHttpConnect(ptr wstr long long) @ stub WinHttpCrackUrl @ stub WinHttpCreateUrl