Module: wine
Branch: master
Commit: e10b687dbfd26a8222a90c6f5d988900c3be790f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e10b687dbfd26a8222a90c6f5…
Author: Detlef Riekenberg <wine.dev(a)web.de>
Date: Wed Sep 4 09:51:36 2013 +0200
d3dx11_43: Add stub dll.
---
configure | 1 +
configure.ac | 1 +
dlls/d3dx11_43/Makefile.in | 7 +++++
dlls/d3dx11_43/d3dx11_43.c | 55 +++++++++++++++++++++++++++++++++++++++++
dlls/d3dx11_43/d3dx11_43.spec | 44 ++++++++++++++++++++++++++++++++
dlls/d3dx11_43/version.rc | 26 +++++++++++++++++++
6 files changed, 134 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 3143509..b041ce7 100755
--- a/configure
+++ b/configure
@@ -15993,6 +15993,7 @@ wine_fn_config_dll d3dx10_40 enable_d3dx10_40
wine_fn_config_dll d3dx10_41 enable_d3dx10_41
wine_fn_config_dll d3dx10_42 enable_d3dx10_42
wine_fn_config_dll d3dx10_43 enable_d3dx10_43
+wine_fn_config_dll d3dx11_43 enable_d3dx11_43
wine_fn_config_dll d3dx9_24 enable_d3dx9_24
wine_fn_config_dll d3dx9_25 enable_d3dx9_25
wine_fn_config_dll d3dx9_26 enable_d3dx9_26
diff --git a/configure.ac b/configure.ac
index 7b662b4..707e8bb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2675,6 +2675,7 @@ WINE_CONFIG_DLL(d3dx10_40)
WINE_CONFIG_DLL(d3dx10_41)
WINE_CONFIG_DLL(d3dx10_42)
WINE_CONFIG_DLL(d3dx10_43)
+WINE_CONFIG_DLL(d3dx11_43)
WINE_CONFIG_DLL(d3dx9_24)
WINE_CONFIG_DLL(d3dx9_25)
WINE_CONFIG_DLL(d3dx9_26)
diff --git a/dlls/d3dx11_43/Makefile.in b/dlls/d3dx11_43/Makefile.in
new file mode 100644
index 0000000..3f15f46
--- /dev/null
+++ b/dlls/d3dx11_43/Makefile.in
@@ -0,0 +1,7 @@
+MODULE = d3dx11_43.dll
+
+C_SRCS = d3dx11_43.c
+
+RC_SRCS = version.rc
+
+@MAKE_DLL_RULES@
diff --git a/dlls/d3dx11_43/d3dx11_43.c b/dlls/d3dx11_43/d3dx11_43.c
new file mode 100644
index 0000000..a609613
--- /dev/null
+++ b/dlls/d3dx11_43/d3dx11_43.c
@@ -0,0 +1,55 @@
+/*
+ * Copyright 2013 Detlef Riekenberg
+ *
+ * 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>
+
+#define COBJMACROS
+#include "windef.h"
+#include "winbase.h"
+#include "winuser.h"
+#include "objbase.h"
+#include "d3d11.h"
+
+BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved)
+{
+ switch (reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls(hdll);
+ }
+
+ return TRUE;
+}
+
+/***********************************************************************
+ * D3DX11CheckVersion
+ *
+ * Checks whether we are compiling against the correct d3d and d3dx library.
+ */
+BOOL WINAPI D3DX11CheckVersion(UINT d3dsdkversion, UINT d3dxsdkversion)
+{
+ if ((d3dsdkversion == D3D11_SDK_VERSION) && (d3dxsdkversion == 43))
+ return TRUE;
+
+ return FALSE;
+}
diff --git a/dlls/d3dx11_43/d3dx11_43.spec b/dlls/d3dx11_43/d3dx11_43.spec
new file mode 100644
index 0000000..3fd291c
--- /dev/null
+++ b/dlls/d3dx11_43/d3dx11_43.spec
@@ -0,0 +1,44 @@
+@ stdcall D3DX11CheckVersion(long long)
+@ stub D3DX11CompileFromFileA
+@ stub D3DX11CompileFromFileW
+@ stub D3DX11CompileFromMemory
+@ stub D3DX11CompileFromResourceA
+@ stub D3DX11CompileFromResourceW
+@ stub D3DX11ComputeNormalMap
+@ stub D3DX11CreateAsyncCompilerProcessor
+@ stub D3DX11CreateAsyncFileLoaderA
+@ stub D3DX11CreateAsyncFileLoaderW
+@ stub D3DX11CreateAsyncMemoryLoader
+@ stub D3DX11CreateAsyncResourceLoaderA
+@ stub D3DX11CreateAsyncResourceLoaderW
+@ stub D3DX11CreateAsyncShaderPreprocessProcessor
+@ stub D3DX11CreateAsyncShaderResourceViewProcessor
+@ stub D3DX11CreateAsyncTextureInfoProcessor
+@ stub D3DX11CreateAsyncTextureProcessor
+@ stub D3DX11CreateShaderResourceViewFromFileA
+@ stub D3DX11CreateShaderResourceViewFromFileW
+@ stub D3DX11CreateShaderResourceViewFromMemory
+@ stub D3DX11CreateShaderResourceViewFromResourceA
+@ stub D3DX11CreateShaderResourceViewFromResourceW
+@ stub D3DX11CreateTextureFromFileA
+@ stub D3DX11CreateTextureFromFileW
+@ stub D3DX11CreateTextureFromMemory
+@ stub D3DX11CreateTextureFromResourceA
+@ stub D3DX11CreateTextureFromResourceW
+@ stub D3DX11CreateThreadPump
+@ stub D3DX11FilterTexture
+@ stub D3DX11GetImageInfoFromFileA
+@ stub D3DX11GetImageInfoFromFileW
+@ stub D3DX11GetImageInfoFromMemory
+@ stub D3DX11GetImageInfoFromResourceA
+@ stub D3DX11GetImageInfoFromResourceW
+@ stub D3DX11LoadTextureFromTexture
+@ stub D3DX11PreprocessShaderFromFileA
+@ stub D3DX11PreprocessShaderFromFileW
+@ stub D3DX11PreprocessShaderFromMemory
+@ stub D3DX11PreprocessShaderFromResourceA
+@ stub D3DX11PreprocessShaderFromResourceW
+@ stub D3DX11SHProjectCubeMap
+@ stub D3DX11SaveTextureToFileA
+@ stub D3DX11SaveTextureToFileW
+@ stub D3DX11SaveTextureToMemory
diff --git a/dlls/d3dx11_43/version.rc b/dlls/d3dx11_43/version.rc
new file mode 100644
index 0000000..622875e
--- /dev/null
+++ b/dlls/d3dx11_43/version.rc
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2013 Detlef Riekenberg
+ *
+ * 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 D3DX11"
+#define WINE_FILENAME_STR "d3dx11_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"
Module: wine
Branch: master
Commit: a5abebf6add7fc635035907d57f0d02667a52bea
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a5abebf6add7fc635035907d5…
Author: André Hentschel <nerv(a)dawncrow.de>
Date: Thu Aug 22 19:03:27 2013 +0200
include: Add delayloadhandler.h.
---
include/Makefile.in | 1 +
include/delayloadhandler.h | 55 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+), 0 deletions(-)
diff --git a/include/Makefile.in b/include/Makefile.in
index d6e08e0..3da2977 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -247,6 +247,7 @@ SRCDIR_INCLUDES = \
ddraw.h \
ddrawgdi.h \
ddrawi.h \
+ delayloadhandler.h \
devenum.idl \
devguid.h \
devpkey.h \
diff --git a/include/delayloadhandler.h b/include/delayloadhandler.h
new file mode 100644
index 0000000..06b6589
--- /dev/null
+++ b/include/delayloadhandler.h
@@ -0,0 +1,55 @@
+/*
+ * Copyright 2013 André Hentschel
+ *
+ * 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_DELAYLOADHANDLER_H
+#define __WINE_DELAYLOADHANDLER_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define DELAYLOAD_GPA_FAILURE 4
+
+typedef struct _DELAYLOAD_PROC_DESCRIPTOR
+{
+ ULONG ImportDescribedByName;
+ union {
+ LPCSTR Name;
+ ULONG Ordinal;
+ } Description;
+} DELAYLOAD_PROC_DESCRIPTOR, *PDELAYLOAD_PROC_DESCRIPTOR;
+
+typedef struct _DELAYLOAD_INFO
+{
+ ULONG Size;
+ PCIMAGE_DELAYLOAD_DESCRIPTOR DelayloadDescriptor;
+ PIMAGE_THUNK_DATA ThunkAddress;
+ LPCSTR TargetDllName;
+ DELAYLOAD_PROC_DESCRIPTOR TargetApiDescriptor;
+ PVOID TargetModuleBase;
+ PVOID Unused;
+ ULONG LastError;
+} DELAYLOAD_INFO, *PDELAYLOAD_INFO;
+
+typedef PVOID (WINAPI *PDELAYLOAD_FAILURE_DLL_CALLBACK)(ULONG, PDELAYLOAD_INFO);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __WINE_DELAYLOADHANDLER_H */