d3d10: Add stub for d3d10.dll.

This commit is contained in:
Kovács András 2007-07-09 14:06:40 +02:00 committed by Alexandre Julliard
parent ef59d47d93
commit 0db109ffad
9 changed files with 124 additions and 0 deletions

1
.gitignore vendored
View File

@ -162,6 +162,7 @@ dlls/cryptdll/libcryptdll.def
dlls/ctl3d.dll16 dlls/ctl3d.dll16
dlls/ctl3d32/libctl3d32.def dlls/ctl3d32/libctl3d32.def
dlls/ctl3dv2.dll16 dlls/ctl3dv2.dll16
dlls/d3d10/version.res
dlls/d3d8/libd3d8.def dlls/d3d8/libd3d8.def
dlls/d3d8/tests/*.ok dlls/d3d8/tests/*.ok
dlls/d3d8/tests/d3d8_crosstest.exe dlls/d3d8/tests/d3d8_crosstest.exe

View File

@ -189,6 +189,7 @@ ALL_MAKEFILES = \
dlls/cryptdll/Makefile \ dlls/cryptdll/Makefile \
dlls/cryptnet/Makefile \ dlls/cryptnet/Makefile \
dlls/ctl3d32/Makefile \ dlls/ctl3d32/Makefile \
dlls/d3d10/Makefile \
dlls/d3d8/Makefile \ dlls/d3d8/Makefile \
dlls/d3d8/tests/Makefile \ dlls/d3d8/tests/Makefile \
dlls/d3d9/Makefile \ dlls/d3d9/Makefile \
@ -548,6 +549,7 @@ dlls/crypt32/tests/Makefile: dlls/crypt32/tests/Makefile.in dlls/Maketest.rules
dlls/cryptdll/Makefile: dlls/cryptdll/Makefile.in dlls/Makedll.rules dlls/cryptdll/Makefile: dlls/cryptdll/Makefile.in dlls/Makedll.rules
dlls/cryptnet/Makefile: dlls/cryptnet/Makefile.in dlls/Makedll.rules dlls/cryptnet/Makefile: dlls/cryptnet/Makefile.in dlls/Makedll.rules
dlls/ctl3d32/Makefile: dlls/ctl3d32/Makefile.in dlls/Makedll.rules dlls/ctl3d32/Makefile: dlls/ctl3d32/Makefile.in dlls/Makedll.rules
dlls/d3d10/Makefile: dlls/d3d10/Makefile.in dlls/Makedll.rules
dlls/d3d8/Makefile: dlls/d3d8/Makefile.in dlls/Makedll.rules dlls/d3d8/Makefile: dlls/d3d8/Makefile.in dlls/Makedll.rules
dlls/d3d8/tests/Makefile: dlls/d3d8/tests/Makefile.in dlls/Maketest.rules dlls/d3d8/tests/Makefile: dlls/d3d8/tests/Makefile.in dlls/Maketest.rules
dlls/d3d9/Makefile: dlls/d3d9/Makefile.in dlls/Makedll.rules dlls/d3d9/Makefile: dlls/d3d9/Makefile.in dlls/Makedll.rules

3
configure vendored
View File

@ -20190,6 +20190,8 @@ ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
ac_config_files="$ac_config_files dlls/ctl3d32/Makefile" ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
ac_config_files="$ac_config_files dlls/d3d10/Makefile"
ac_config_files="$ac_config_files dlls/d3d8/Makefile" ac_config_files="$ac_config_files dlls/d3d8/Makefile"
ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile" ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
@ -21413,6 +21415,7 @@ do
"dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;; "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
"dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;; "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
"dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;; "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
"dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
"dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;; "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
"dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;; "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
"dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;; "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;

View File

@ -1567,6 +1567,7 @@ AC_CONFIG_FILES([dlls/crypt32/tests/Makefile])
AC_CONFIG_FILES([dlls/cryptdll/Makefile]) AC_CONFIG_FILES([dlls/cryptdll/Makefile])
AC_CONFIG_FILES([dlls/cryptnet/Makefile]) AC_CONFIG_FILES([dlls/cryptnet/Makefile])
AC_CONFIG_FILES([dlls/ctl3d32/Makefile]) AC_CONFIG_FILES([dlls/ctl3d32/Makefile])
AC_CONFIG_FILES([dlls/d3d10/Makefile])
AC_CONFIG_FILES([dlls/d3d8/Makefile]) AC_CONFIG_FILES([dlls/d3d8/Makefile])
AC_CONFIG_FILES([dlls/d3d8/tests/Makefile]) AC_CONFIG_FILES([dlls/d3d8/tests/Makefile])
AC_CONFIG_FILES([dlls/d3d9/Makefile]) AC_CONFIG_FILES([dlls/d3d9/Makefile])

View File

@ -40,6 +40,7 @@ BASEDIRS = \
cryptdll \ cryptdll \
cryptnet \ cryptnet \
ctl3d32 \ ctl3d32 \
d3d10 \
d3d8 \ d3d8 \
d3d9 \ d3d9 \
d3dim \ d3dim \

16
dlls/d3d10/Makefile.in Normal file
View File

@ -0,0 +1,16 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = d3d10.dll
IMPORTS = wined3d kernel32
EXTRALIBS = -ldxguid -luuid
C_SRCS = \
d3d10_main.c
RC_SRCS = version.rc
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend

29
dlls/d3d10/d3d10.spec Normal file
View File

@ -0,0 +1,29 @@
@ stub D3D10CompileEffectFromMemory
@ stub D3D10CompileShader
@ stub D3D10CreateBlob
@ stub D3D10CreateDevice
@ stub D3D10CreateDeviceAndSwapChain
@ stub D3D10CreateEffectFromMemory
@ stub D3D10CreateEffectPoolFromMemory
@ stub D3D10CreateStateBlock
@ stub D3D10DisassembleEffect
@ stub D3D10DisassembleShader
@ stub D3D10GetGeometryShaderProfile
@ stub D3D10GetInputAndOutputSignatureBlob
@ stub D3D10GetInputSignatureBlob
@ stub D3D10GetOutputSignatureBlob
@ stub D3D10GetPixelShaderProfile
@ stub D3D10GetShaderDebugInfo
@ stub D3D10GetVersion
@ stub D3D10GetVertexShaderProfile
@ stub D3D10PreprocessShader
@ stub D3D10ReflectShader
@ stub D3D10RegisterLayers
@ stub D3D10StateBlockMaskDifference
@ stub D3D10StateBlockMaskDisableAll
@ stub D3D10StateBlockMaskDisableCapture
@ stub D3D10StateBlockMaskEnableAll
@ stub D3D10StateBlockMaskEnableCapture
@ stub D3D10StateBlockMaskGetSetting
@ stub D3D10StateBlockMaskIntersect
@ stub D3D10StateBlockMaskUnion

45
dlls/d3d10/d3d10_main.c Normal file
View File

@ -0,0 +1,45 @@
/*
* Direct3D 10
*
* Copyright 2007 Andras Kovacs
*
* 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 "winuser.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d10);
/* At process attach */
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
{
TRACE("fdwReason=%d\n", fdwReason);
switch(fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hInstDLL );
break;
}
return TRUE;
}

26
dlls/d3d10/version.rc Normal file
View File

@ -0,0 +1,26 @@
/*
* Copyright 2007 Andras Kovacs
*
* 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 Direct3D"
#define WINE_FILENAME_STR "d3d10.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"