Module: wine Branch: master Commit: ca627f5b7df7cf69ed9f3623146e22c638c65eeb URL: http://source.winehq.org/git/wine.git/?a=commit;h=ca627f5b7df7cf69ed9f362314...
Author: Zac Brown zac@zacbrown.org Date: Wed Jul 2 14:37:28 2008 -0700
winhttp: Add stub implementation for WinHttpConnect.
---
dlls/winhttp/main.c | 13 +++++++++++++ dlls/winhttp/winhttp.spec | 2 +- 2 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/dlls/winhttp/main.c b/dlls/winhttp/main.c index e90d6b4..c9f78cd 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 912ff6a..42a3f9a 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)