mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 04:08:31 +00:00
d3dim700: Add stub dll.
Signed-off-by: Austin English <austinenglish@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f242f0ef1d
commit
edd00eb538
2
configure
vendored
2
configure
vendored
|
@ -1205,6 +1205,7 @@ enable_d3dcompiler_43
|
|||
enable_d3dcompiler_46
|
||||
enable_d3dcompiler_47
|
||||
enable_d3dim
|
||||
enable_d3dim700
|
||||
enable_d3drm
|
||||
enable_d3dx10_33
|
||||
enable_d3dx10_34
|
||||
|
@ -20412,6 +20413,7 @@ wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
|
|||
wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
|
||||
wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
|
||||
wine_fn_config_makefile dlls/d3dim enable_d3dim
|
||||
wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
|
||||
wine_fn_config_makefile dlls/d3drm enable_d3drm
|
||||
wine_fn_config_makefile dlls/d3drm/tests enable_tests
|
||||
wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
|
||||
|
|
|
@ -3156,6 +3156,7 @@ WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_46)
|
|||
WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_47)
|
||||
WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_47/tests)
|
||||
WINE_CONFIG_MAKEFILE(dlls/d3dim)
|
||||
WINE_CONFIG_MAKEFILE(dlls/d3dim700)
|
||||
WINE_CONFIG_MAKEFILE(dlls/d3drm)
|
||||
WINE_CONFIG_MAKEFILE(dlls/d3drm/tests)
|
||||
WINE_CONFIG_MAKEFILE(dlls/d3dx10_33)
|
||||
|
|
8
dlls/d3dim700/Makefile.in
Normal file
8
dlls/d3dim700/Makefile.in
Normal file
|
@ -0,0 +1,8 @@
|
|||
MODULE = d3dim700.dll
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
|
||||
C_SRCS = \
|
||||
d3dim700_main.c
|
||||
|
||||
RC_SRCS = version.rc
|
18
dlls/d3dim700/d3dim700.spec
Normal file
18
dlls/d3dim700/d3dim700.spec
Normal file
|
@ -0,0 +1,18 @@
|
|||
@ stub D3DFree
|
||||
@ stub D3DMalloc
|
||||
@ stub D3DRealloc
|
||||
@ stub Direct3DCreateDevice
|
||||
@ stub CreateTexture
|
||||
@ stub D3DBreakVBLock
|
||||
@ stub D3DTextureUpdate
|
||||
@ stub DestroyTexture
|
||||
@ stub Direct3DCreate
|
||||
@ stub Direct3D_HALCleanUp
|
||||
@ stub FlushD3DDevices
|
||||
@ stub GetLOD
|
||||
@ stub GetPriority
|
||||
@ stub PaletteAssociateNotify
|
||||
@ stub PaletteUpdateNotify
|
||||
@ stub SetLOD
|
||||
@ stub SetPriority
|
||||
@ stub SurfaceFlipNotify
|
42
dlls/d3dim700/d3dim700_main.c
Normal file
42
dlls/d3dim700/d3dim700_main.c
Normal file
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
*
|
||||
* Copyright 2020 Austin English
|
||||
*
|
||||
* 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>
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(d3dim700);
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
|
||||
{
|
||||
TRACE("(%p, %u, %p)\n", instance, reason, reserved);
|
||||
|
||||
switch (reason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls(instance);
|
||||
break;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
26
dlls/d3dim700/version.rc
Normal file
26
dlls/d3dim700/version.rc
Normal file
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* Copyright 2020 Austin English
|
||||
*
|
||||
* 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 d3dim700"
|
||||
#define WINE_FILENAME_STR "d3dim700.dll"
|
||||
#define WINE_FILEVERSION 5,3,2600,5512
|
||||
#define WINE_FILEVERSION_STR "5.3.2600.5512"
|
||||
#define WINE_PRODUCTVERSION 5,3,2600,5512
|
||||
#define WINE_PRODUCTVERSION_STR "5.3.2600.5512"
|
||||
|
||||
#include "wine/wine_common_ver.rc"
|
Loading…
Reference in a new issue