jsproxy: New dll.

This commit is contained in:
Hans Leidekker 2014-05-15 14:05:07 +02:00 committed by Alexandre Julliard
parent a8ec0edfa8
commit ae542221a0
5 changed files with 61 additions and 0 deletions

2
configure vendored
View File

@ -1063,6 +1063,7 @@ enable_itircl
enable_itss
enable_joy_cpl
enable_jscript
enable_jsproxy
enable_kernel32
enable_ktmw32
enable_loadperf
@ -16937,6 +16938,7 @@ wine_fn_config_test dlls/itss/tests itss_test
wine_fn_config_dll joy.cpl enable_joy_cpl po
wine_fn_config_dll jscript enable_jscript clean,po
wine_fn_config_test dlls/jscript/tests jscript_test
wine_fn_config_dll jsproxy enable_jsproxy implib
wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
wine_fn_config_test dlls/kernel32/tests kernel32_test
wine_fn_config_dll keyboard.drv16 enable_win16

View File

@ -2914,6 +2914,7 @@ WINE_CONFIG_TEST(dlls/itss/tests)
WINE_CONFIG_DLL(joy.cpl,,[po])
WINE_CONFIG_DLL(jscript,,[clean,po])
WINE_CONFIG_TEST(dlls/jscript/tests)
WINE_CONFIG_DLL(jsproxy,,[implib])
WINE_CONFIG_DLL(kernel32,,[clean,implib,mc])
WINE_CONFIG_TEST(dlls/kernel32/tests)
WINE_CONFIG_DLL(keyboard.drv16,enable_win16)

5
dlls/jsproxy/Makefile.in Normal file
View File

@ -0,0 +1,5 @@
MODULE = jsproxy.dll
IMPORTLIB = jsproxy
C_SRCS = \
main.c

View File

@ -0,0 +1,5 @@
@ stub InternetInitializeAutoProxyDll
@ stub InternetInitializeExAutoProxyDll
@ stub InternetDeInitializeAutoProxyDll
@ stub InternetDeInitializeExAutoProxyDll
@ stub InternetGetProxyInfo

48
dlls/jsproxy/main.c Normal file
View File

@ -0,0 +1,48 @@
/*
* Copyright 2014 Hans Leidekker for CodeWeavers
*
* 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 "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
static HINSTANCE instance;
WINE_DEFAULT_DEBUG_CHANNEL(jsproxy);
/******************************************************************
* DllMain (jsproxy.@)
*/
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
{
switch (reason)
{
case DLL_PROCESS_ATTACH:
instance = hinst;
DisableThreadLibraryCalls( hinst );
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}