d3d10core: Add a d3d10core dll.

Henri Verbeet hverbeet at codeweavers.com
Wed Nov 12 05:04:24 CST 2008


---
 dlls/d3d10core/Makefile.in         |   16 ++++++++++++++
 dlls/d3d10core/d3d10core.spec      |    1 +
 dlls/d3d10core/d3d10core_main.c    |   39 ++++++++++++++++++++++++++++++++++++
 dlls/d3d10core/d3d10core_private.h |   26 ++++++++++++++++++++++++
 dlls/d3d10core/version.rc          |   26 ++++++++++++++++++++++++
 5 files changed, 108 insertions(+), 0 deletions(-)
 create mode 100644 dlls/d3d10core/Makefile.in
 create mode 100644 dlls/d3d10core/d3d10core.spec
 create mode 100644 dlls/d3d10core/d3d10core_main.c
 create mode 100644 dlls/d3d10core/d3d10core_private.h
 create mode 100644 dlls/d3d10core/version.rc

diff --git a/dlls/d3d10core/Makefile.in b/dlls/d3d10core/Makefile.in
new file mode 100644
index 0000000..0b01317
--- /dev/null
+++ b/dlls/d3d10core/Makefile.in
@@ -0,0 +1,16 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = d3d10core.dll
+IMPORTLIB = d3d10core
+IMPORTS   = kernel32
+
+C_SRCS = \
+	d3d10core_main.c
+
+RC_SRCS = version.rc
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/dlls/d3d10core/d3d10core.spec b/dlls/d3d10core/d3d10core.spec
new file mode 100644
index 0000000..1143f78
--- /dev/null
+++ b/dlls/d3d10core/d3d10core.spec
@@ -0,0 +1 @@
+@ stub D3D10CoreRegisterLayers
diff --git a/dlls/d3d10core/d3d10core_main.c b/dlls/d3d10core/d3d10core_main.c
new file mode 100644
index 0000000..14dd099
--- /dev/null
+++ b/dlls/d3d10core/d3d10core_main.c
@@ -0,0 +1,39 @@
+/*
+ * Copyright 2008 Henri Verbeet 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 "d3d10core_private.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(d3d10core);
+
+BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
+{
+    TRACE("fdwReason %u\n", fdwReason);
+
+    switch(fdwReason)
+    {
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls(hInstDLL);
+            break;
+    }
+
+    return TRUE;
+}
diff --git a/dlls/d3d10core/d3d10core_private.h b/dlls/d3d10core/d3d10core_private.h
new file mode 100644
index 0000000..46d9eb7
--- /dev/null
+++ b/dlls/d3d10core/d3d10core_private.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2008 Henri Verbeet 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
+ */
+
+#ifndef __WINE_D3D10CORE_PRIVATE_H
+#define __WINE_D3D10CORE_PRIVATE_H
+
+#include "wine/debug.h"
+
+#include "winbase.h"
+
+#endif /* __WINE_D3D10CORE_PRIVATE_H */
diff --git a/dlls/d3d10core/version.rc b/dlls/d3d10core/version.rc
new file mode 100644
index 0000000..d02e871
--- /dev/null
+++ b/dlls/d3d10core/version.rc
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2008 Henri Verbeet 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 D3D10 Core"
+#define WINE_FILENAME_STR "d3d10core.dll"
+#define WINE_FILEVERSION 6,0,6000,16386
+#define WINE_FILEVERSION_STR "6.0.6000.16386"
+#define WINE_PRODUCTVERSION 6,0,6000,16386
+#define WINE_PRODUCTVERSION_STR "6.0.6000.16386"
+
+#include "wine/wine_common_ver.rc"
-- 
1.5.6.4



--------------030307040509060907090908--



More information about the wine-patches mailing list