Jacek Caban : ieframe: Added new DLL.
Alexandre Julliard
julliard at winehq.org
Mon Jul 25 11:43:10 CDT 2011
Module: wine
Branch: master
Commit: c33c583093f914a90d82599b6a55e463b9b7ae7d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c33c583093f914a90d82599b6a55e463b9b7ae7d
Author: Jacek Caban <jacek at codeweavers.com>
Date: Sat Jul 23 18:36:37 2011 +0200
ieframe: Added new DLL.
---
configure | 1 +
configure.ac | 1 +
dlls/ieframe/Makefile.in | 6 +++
dlls/ieframe/ieframe.spec | 4 ++
dlls/ieframe/ieframe_main.c | 85 +++++++++++++++++++++++++++++++++++++++++++
5 files changed, 97 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index a309da5..702388f 100755
--- a/configure
+++ b/configure
@@ -14854,6 +14854,7 @@ wine_fn_config_dll hnetcfg enable_hnetcfg
wine_fn_config_dll httpapi enable_httpapi
wine_fn_config_dll iccvid enable_iccvid po
wine_fn_config_dll icmp enable_icmp
+wine_fn_config_dll ieframe enable_ieframe
wine_fn_config_dll ifsmgr.vxd enable_win16
wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
wine_fn_config_dll imagehlp enable_imagehlp implib
diff --git a/configure.ac b/configure.ac
index 306a673..0eb3ac8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2527,6 +2527,7 @@ WINE_CONFIG_DLL(hnetcfg)
WINE_CONFIG_DLL(httpapi)
WINE_CONFIG_DLL(iccvid,,[po])
WINE_CONFIG_DLL(icmp)
+WINE_CONFIG_DLL(ieframe)
WINE_CONFIG_DLL(ifsmgr.vxd,enable_win16)
WINE_CONFIG_DLL(imaadp32.acm)
WINE_CONFIG_DLL(imagehlp,,[implib])
diff --git a/dlls/ieframe/Makefile.in b/dlls/ieframe/Makefile.in
new file mode 100644
index 0000000..77b5e29
--- /dev/null
+++ b/dlls/ieframe/Makefile.in
@@ -0,0 +1,6 @@
+MODULE = ieframe.dll
+
+C_SRCS = \
+ ieframe_main.c
+
+ at MAKE_DLL_RULES@
diff --git a/dlls/ieframe/ieframe.spec b/dlls/ieframe/ieframe.spec
new file mode 100644
index 0000000..b16365d
--- /dev/null
+++ b/dlls/ieframe/ieframe.spec
@@ -0,0 +1,4 @@
+@ stdcall -private DllCanUnloadNow()
+@ stdcall -private DllGetClassObject(ptr ptr ptr)
+@ stdcall -private DllRegisterServer()
+@ stdcall -private DllUnregisterServer()
diff --git a/dlls/ieframe/ieframe_main.c b/dlls/ieframe/ieframe_main.c
new file mode 100644
index 0000000..53c40cf
--- /dev/null
+++ b/dlls/ieframe/ieframe_main.c
@@ -0,0 +1,85 @@
+/*
+ * Copyright 2011 Jacek Caban 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 <stdarg.h>
+
+#define COBJMACROS
+
+#include "windef.h"
+#include "winbase.h"
+
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(ieframe);
+
+/******************************************************************
+ * DllMain (ieframe.@)
+ */
+BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
+{
+ TRACE("(%p %d %p)\n", hInstDLL, fdwReason, lpv);
+
+ switch(fdwReason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls(hInstDLL);
+ break;
+ }
+
+ return TRUE;
+}
+
+/***********************************************************************
+ * DllGetClassObject (ieframe.@)
+ */
+HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
+{
+ FIXME("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
+ return CLASS_E_CLASSNOTAVAILABLE;
+}
+
+/***********************************************************************
+ * DllCanUnloadNow (ieframe.@)
+ */
+HRESULT WINAPI DllCanUnloadNow(void)
+{
+ FIXME("()\n");
+ return S_FALSE;
+}
+
+/***********************************************************************
+ * DllRegisterServer (ieframe.@)
+ */
+HRESULT WINAPI DllRegisterServer(void)
+{
+ FIXME("()\n");
+ return S_OK;
+}
+
+/***********************************************************************
+ * DllUnregisterServer (ieframe.@)
+ */
+HRESULT WINAPI DllUnregisterServer(void)
+{
+ FIXME("()\n");
+ return S_OK;
+}
More information about the wine-cvs
mailing list