From ca627f5b7df7cf69ed9f3623146e22c638c65eeb Mon Sep 17 00:00:00 2001 From: Zac Brown Date: Wed, 2 Jul 2008 14:37:28 -0700 Subject: [PATCH] winhttp: Add stub implementation for WinHttpConnect. --- dlls/winhttp/main.c | 13 +++++++++++++ dlls/winhttp/winhttp.spec | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/dlls/winhttp/main.c b/dlls/winhttp/main.c index e90d6b4a4a7..c9f78cd3dd0 100644 --- a/dlls/winhttp/main.c +++ b/dlls/winhttp/main.c @@ -140,3 +140,16 @@ HINTERNET WINAPI WinHttpOpen(LPCWSTR pwszUserAgent, DWORD dwAccessType, SetLastError(ERROR_NOT_SUPPORTED); return NULL; } + +/*********************************************************************** + * WinHttpConnect (winhttp.@) + */ + +HINTERNET WINAPI WinHttpConnect (HINTERNET hSession, LPCWSTR pwszServerName, + INTERNET_PORT nServerPort, DWORD dwReserved) +{ + FIXME("(%s, %d, 0x%x): stub\n", debugstr_w(pwszServerName), nServerPort, dwReserved); + + SetLastError(ERROR_NOT_SUPPORTED); + return NULL; +} diff --git a/dlls/winhttp/winhttp.spec b/dlls/winhttp/winhttp.spec index 912ff6a5de5..42a3f9add38 100644 --- a/dlls/winhttp/winhttp.spec +++ b/dlls/winhttp/winhttp.spec @@ -5,7 +5,7 @@ @ stub WinHttpAddRequestHeaders @ stdcall WinHttpCheckPlatform() @ stub WinHttpCloseHandle -@ stub WinHttpConnect +@ stdcall WinHttpConnect(ptr wstr long long) @ stub WinHttpCrackUrl @ stub WinHttpCreateUrl @ stdcall WinHttpDetectAutoProxyConfigUrl(long ptr)