[2/6] jsproxy: New dll.

Hans Leidekker hans at codeweavers.com
Thu May 15 07:05:07 CDT 2014


---
 configure.ac              |  1 +
 dlls/jsproxy/Makefile.in  |  4 ++++
 dlls/jsproxy/jsproxy.spec |  5 +++++
 dlls/jsproxy/main.c       | 48 +++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 58 insertions(+)
 create mode 100644 dlls/jsproxy/Makefile.in
 create mode 100644 dlls/jsproxy/jsproxy.spec
 create mode 100644 dlls/jsproxy/main.c

diff --git a/configure.ac b/configure.ac
index 673323a..539d61a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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)
 WINE_CONFIG_DLL(kernel32,,[clean,implib,mc])
 WINE_CONFIG_TEST(dlls/kernel32/tests)
 WINE_CONFIG_DLL(keyboard.drv16,enable_win16)
diff --git a/dlls/jsproxy/Makefile.in b/dlls/jsproxy/Makefile.in
new file mode 100644
index 0000000..558dc9b
--- /dev/null
+++ b/dlls/jsproxy/Makefile.in
@@ -0,0 +1,4 @@
+MODULE    = jsproxy.dll
+
+C_SRCS = \
+	main.c
diff --git a/dlls/jsproxy/jsproxy.spec b/dlls/jsproxy/jsproxy.spec
new file mode 100644
index 0000000..21943df
--- /dev/null
+++ b/dlls/jsproxy/jsproxy.spec
@@ -0,0 +1,5 @@
+@ stub InternetInitializeAutoProxyDll
+@ stub InternetInitializeExAutoProxyDll
+@ stub InternetDeInitializeAutoProxyDll
+@ stub InternetDeInitializeExAutoProxyDll
+@ stub InternetGetProxyInfo
diff --git a/dlls/jsproxy/main.c b/dlls/jsproxy/main.c
new file mode 100644
index 0000000..fa9703d
--- /dev/null
+++ b/dlls/jsproxy/main.c
@@ -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;
+}
-- 
1.8.5.2 (Apple Git-48)





More information about the wine-patches mailing list