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:
Austin English 2020-10-25 01:22:14 -05:00 committed by Alexandre Julliard
parent f242f0ef1d
commit edd00eb538
6 changed files with 97 additions and 0 deletions

2
configure vendored
View File

@ -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

View File

@ -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)

View File

@ -0,0 +1,8 @@
MODULE = d3dim700.dll
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
d3dim700_main.c
RC_SRCS = version.rc

View 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

View 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
View 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"