From 1cfee7da6ee2ed8e854d030e51b99112420bf789 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 24 Jul 2014 12:20:00 +0200 Subject: [PATCH] wininet: Moved DllInstall to internet.c. --- dlls/wininet/Makefile.in | 3 +-- dlls/wininet/internet.c | 9 ++++++++ dlls/wininet/wininet_main.c | 42 ------------------------------------- 3 files changed, 10 insertions(+), 44 deletions(-) delete mode 100644 dlls/wininet/wininet_main.c diff --git a/dlls/wininet/Makefile.in b/dlls/wininet/Makefile.in index 357b9247c1f..5379e036e01 100644 --- a/dlls/wininet/Makefile.in +++ b/dlls/wininet/Makefile.in @@ -14,7 +14,6 @@ C_SRCS = \ internet.c \ netconnection.c \ urlcache.c \ - utility.c \ - wininet_main.c + utility.c RC_SRCS = wininet.rc diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c index 3ed9bb1e773..2a2876c0909 100644 --- a/dlls/wininet/internet.c +++ b/dlls/wininet/internet.c @@ -340,6 +340,15 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) return TRUE; } +/*********************************************************************** + * DllInstall (WININET.@) + */ +HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline) +{ + FIXME("(%x %s): stub\n", bInstall, debugstr_w(cmdline)); + return S_OK; +} + /*********************************************************************** * INTERNET_SaveProxySettings * diff --git a/dlls/wininet/wininet_main.c b/dlls/wininet/wininet_main.c deleted file mode 100644 index cf4a6f2d9a0..00000000000 --- a/dlls/wininet/wininet_main.c +++ /dev/null @@ -1,42 +0,0 @@ -/* - * WinInet - * - * Copyright (c) 2000 Patrik Stridvall - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA - */ - -#include - -#include "windef.h" -#include "winbase.h" -#include "winerror.h" -#include "winreg.h" -#include "shlwapi.h" - -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(wininet); - -/*********************************************************************** - * DllInstall (WININET.@) - */ -HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline) -{ - FIXME("(%s, %s): stub\n", bInstall?"TRUE":"FALSE", - debugstr_w(cmdline)); - - return S_OK; -}