Module: wine
Branch: master
Commit: e2cf9ad33e547c6b8c516cc68b18bc82e303de34
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e2cf9ad33e547c6b8c516cc68…
Author: David Hedberg <david.hedberg(a)gmail.com>
Date: Sat Jul 31 20:02:45 2010 +0200
explorerframe: Add dll stub.
---
configure | 1 +
configure.ac | 1 +
dlls/explorerframe/Makefile.in | 14 +++++++
dlls/explorerframe/explorerframe.spec | 7 +++
dlls/explorerframe/explorerframe_main.c | 66 +++++++++++++++++++++++++++++++
dlls/explorerframe/explorerframe_main.h | 30 ++++++++++++++
dlls/explorerframe/version.rc | 29 +++++++++++++
7 files changed, 148 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index a5b8dd0..6dd4a36 100755
--- a/configure
+++ b/configure
@@ -14503,6 +14503,7 @@ wine_fn_config_lib dxerr9
wine_fn_config_dll dxgi enable_dxgi dxgi
wine_fn_config_test dlls/dxgi/tests dxgi_test
wine_fn_config_lib dxguid
+wine_fn_config_dll explorerframe enable_explorerframe
wine_fn_config_dll faultrep enable_faultrep
wine_fn_config_dll fltlib enable_fltlib
wine_fn_config_dll fusion enable_fusion
diff --git a/configure.ac b/configure.ac
index bacba41..aac7a82 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2359,6 +2359,7 @@ WINE_CONFIG_LIB(dxerr9)
WINE_CONFIG_DLL(dxgi,,[dxgi])
WINE_CONFIG_TEST(dlls/dxgi/tests)
WINE_CONFIG_LIB(dxguid)
+WINE_CONFIG_DLL(explorerframe)
WINE_CONFIG_DLL(faultrep)
WINE_CONFIG_DLL(fltlib)
WINE_CONFIG_DLL(fusion)
diff --git a/dlls/explorerframe/Makefile.in b/dlls/explorerframe/Makefile.in
new file mode 100644
index 0000000..3ef7e5b
--- /dev/null
+++ b/dlls/explorerframe/Makefile.in
@@ -0,0 +1,14 @@
+EXTRADEFS = -DCOM_NO_WINDOWS_H
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR = @srcdir@
+VPATH = @srcdir@
+MODULE = explorerframe.dll
+
+C_SRCS = \
+ explorerframe_main.c
+
+RC_SRCS = \
+ version.rc
+
+@MAKE_DLL_RULES@
diff --git a/dlls/explorerframe/explorerframe.spec b/dlls/explorerframe/explorerframe.spec
new file mode 100644
index 0000000..dbd9c41
--- /dev/null
+++ b/dlls/explorerframe/explorerframe.spec
@@ -0,0 +1,7 @@
+# 110 stub EXPLORERFRAME_110
+# 111 stub EXPLORERFRAME_111
+# 134 stub EXPLORERFRAME_134
+
+@ stdcall -private DllCanUnloadNow()
+@ stub DllGetClassObject
+@ stub DllGetVersion
diff --git a/dlls/explorerframe/explorerframe_main.c b/dlls/explorerframe/explorerframe_main.c
new file mode 100644
index 0000000..4fa5cc6
--- /dev/null
+++ b/dlls/explorerframe/explorerframe_main.c
@@ -0,0 +1,66 @@
+/*
+ * ExplorerFrame main functions
+ *
+ * Copyright 2010 David Hedberg
+ *
+ * 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 <stdarg.h>
+
+#define COBJMACROS
+#define NONAMELESSUNION
+#define NONAMELESSSTRUCT
+
+#include "windef.h"
+#include "winbase.h"
+#include "winreg.h"
+#include "shlwapi.h"
+
+#include "wine/debug.h"
+
+#include "explorerframe_main.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(explorerframe);
+
+HINSTANCE explorerframe_hinstance;
+LONG EFRAME_refCount = 0;
+
+/*************************************************************************
+ * DllMain (ExplorerFrame.@)
+ */
+BOOL WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID fImpLoad)
+{
+ TRACE("%p, 0x%x, %p\n", hinst, fdwReason, fImpLoad);
+ switch (fdwReason)
+ {
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls(hinst);
+ explorerframe_hinstance = hinst;
+ break;
+ case DLL_PROCESS_DETACH:
+ break;
+ }
+ return TRUE;
+}
+
+/*************************************************************************
+ * DllCanUnloadNow (ExplorerFrame.@)
+ */
+HRESULT WINAPI DllCanUnloadNow(void)
+{
+ TRACE("refCount is %d\n", EFRAME_refCount);
+ return EFRAME_refCount ? S_FALSE : S_OK;
+}
diff --git a/dlls/explorerframe/explorerframe_main.h b/dlls/explorerframe/explorerframe_main.h
new file mode 100644
index 0000000..45be664
--- /dev/null
+++ b/dlls/explorerframe/explorerframe_main.h
@@ -0,0 +1,30 @@
+/*
+ * ExplorerFrame main include
+ *
+ * Copyright 2010 David Hedberg
+ *
+ * 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
+ */
+
+#ifndef __WINE_EXPLORERFRAME_H
+#define __WINE_EXPLORERFRAME_H
+
+extern HINSTANCE explorerframe_hinstance;
+
+extern LONG EFRAME_refCount;
+static inline void EFRAME_LockModule(void) { InterlockedIncrement( &EFRAME_refCount ); }
+static inline void EFRAME_UnlockModule(void) { InterlockedDecrement( &EFRAME_refCount ); }
+
+#endif /* __WINE_EXPLORERFRAME_H */
diff --git a/dlls/explorerframe/version.rc b/dlls/explorerframe/version.rc
new file mode 100644
index 0000000..257b1fc
--- /dev/null
+++ b/dlls/explorerframe/version.rc
@@ -0,0 +1,29 @@
+/*
+ * ExplorerFrame Version Resource
+ *
+ * Copyright 2010 David Hedberg
+ *
+ * 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
+ */
+
+#define WINE_OLESELFREGISTER
+#define WINE_FILEDESCRIPTION_STR "Wine ExplorerFrame"
+#define WINE_FILENAME_STR "explorerframe.dll"
+#define WINE_FILEVERSION 6,1,7600,16385
+#define WINE_FILEVERSION_STR "6.1.7600.16385"
+#define WINE_PRODUCTVERSION 6,1,7600,16385
+#define WINE_PRODUCTVERSION_STR "6.1.7600.16385"
+
+#include "wine/wine_common_ver.rc"
Module: wine
Branch: master
Commit: 70962ee4d8a15659ee44c49b8c6316874fb11957
URL: http://source.winehq.org/git/wine.git/?a=commit;h=70962ee4d8a15659ee44c49b8…
Author: Matteo Bruni <matteo.mystral(a)gmail.com>
Date: Fri Jul 30 16:21:43 2010 +0200
d3dcompiler_43: Add dll directory.
---
.gitignore | 1 +
configure | 1 +
configure.ac | 1 +
dlls/d3dcompiler_43/Makefile.in | 13 ++++++++
dlls/d3dcompiler_43/d3dcompiler_43.spec | 17 +++++++++++
dlls/d3dcompiler_43/d3dcompiler_43_main.c | 45 +++++++++++++++++++++++++++++
dlls/d3dcompiler_43/version.rc | 26 ++++++++++++++++
7 files changed, 104 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index 78a693f..4e0346f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -68,6 +68,7 @@ dlls/kernel32/nls/winerr_ptb.mc.rc
dlls/kernel32/nls/winerr_ptg.mc.rc
dlls/kernel32/nls/winerr_rus.mc.rc
dlls/kernel32/nls/winerr_ukr.mc.rc
+dlls/libd3dcompiler.def
dlls/libd3dx9.def
dlls/libkernel.def
dlls/libwinspool.def
diff --git a/configure b/configure
index 6232cba..a5b8dd0 100755
--- a/configure
+++ b/configure
@@ -14429,6 +14429,7 @@ wine_fn_config_dll d3d8 enable_d3d8 d3d8
wine_fn_config_test dlls/d3d8/tests d3d8_test
wine_fn_config_dll d3d9 enable_d3d9 d3d9
wine_fn_config_test dlls/d3d9/tests d3d9_test
+wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 d3dcompiler
wine_fn_config_dll d3dim enable_d3dim d3dim
wine_fn_config_dll d3drm enable_d3drm d3drm
wine_fn_config_test dlls/d3drm/tests d3drm_test
diff --git a/configure.ac b/configure.ac
index b7ceb8d..bacba41 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2285,6 +2285,7 @@ WINE_CONFIG_DLL(d3d8,,[d3d8])
WINE_CONFIG_TEST(dlls/d3d8/tests)
WINE_CONFIG_DLL(d3d9,,[d3d9])
WINE_CONFIG_TEST(dlls/d3d9/tests)
+WINE_CONFIG_DLL(d3dcompiler_43,,[d3dcompiler])
WINE_CONFIG_DLL(d3dim,,[d3dim])
WINE_CONFIG_DLL(d3drm,,[d3drm])
WINE_CONFIG_TEST(dlls/d3drm/tests)
diff --git a/dlls/d3dcompiler_43/Makefile.in b/dlls/d3dcompiler_43/Makefile.in
new file mode 100644
index 0000000..2510af4
--- /dev/null
+++ b/dlls/d3dcompiler_43/Makefile.in
@@ -0,0 +1,13 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR = @srcdir@
+VPATH = @srcdir@
+MODULE = d3dcompiler_43.dll
+IMPORTLIB = d3dcompiler
+
+C_SRCS = \
+ d3dcompiler_43_main.c
+
+RC_SRCS = version.rc
+
+@MAKE_DLL_RULES@
diff --git a/dlls/d3dcompiler_43/d3dcompiler_43.spec b/dlls/d3dcompiler_43/d3dcompiler_43.spec
new file mode 100644
index 0000000..ab6e1d7
--- /dev/null
+++ b/dlls/d3dcompiler_43/d3dcompiler_43.spec
@@ -0,0 +1,17 @@
+@ stub D3DAssemble
+@ stub DebugSetMute
+@ stub D3DCompile
+@ stub D3DCompressShaders
+@ stub D3DCreateBlob
+@ stub D3DDecompressShaders
+@ stub D3DDisassemble10Effect
+@ stub D3DDisassemble
+@ stub D3DGetBlobPart
+@ stub D3DGetDebugInfo
+@ stub D3DGetInputAndOutputSignatureBlob
+@ stub D3DGetInputSignatureBlob
+@ stub D3DGetOutputSignatureBlob
+@ stub D3DPreprocess
+@ stub D3DReflect
+@ stub D3DReturnFailure1
+@ stub D3DStripShader
diff --git a/dlls/d3dcompiler_43/d3dcompiler_43_main.c b/dlls/d3dcompiler_43/d3dcompiler_43_main.c
new file mode 100644
index 0000000..cdf69b7
--- /dev/null
+++ b/dlls/d3dcompiler_43/d3dcompiler_43_main.c
@@ -0,0 +1,45 @@
+/*
+ * Direct3D shader compiler main file
+ *
+ * Copyright 2010 Matteo Bruni 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>
+
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(d3dcompiler);
+
+BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
+{
+ switch (reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls(inst);
+ break;
+ case DLL_PROCESS_DETACH:
+ break;
+ }
+ return TRUE;
+}
diff --git a/dlls/d3dcompiler_43/version.rc b/dlls/d3dcompiler_43/version.rc
new file mode 100644
index 0000000..5603735
--- /dev/null
+++ b/dlls/d3dcompiler_43/version.rc
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2010 Matteo Bruni 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
+ */
+
+#define WINE_FILEDESCRIPTION_STR "Wine D3DCompiler"
+#define WINE_FILENAME_STR "d3dcompiler_43.dll"
+#define WINE_FILEVERSION 9,29,952,3111
+#define WINE_FILEVERSION_STR "9.29.952.3111"
+#define WINE_PRODUCTVERSION 9,29,952,3111
+#define WINE_PRODUCTVERSION_STR "9.29.952.3111"
+
+#include "wine/wine_common_ver.rc"