d3d8thk: 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-24 03:38:32 -05:00 committed by Alexandre Julliard
parent 6cf3cbe454
commit f242f0ef1d
6 changed files with 135 additions and 0 deletions

2
configure vendored
View File

@ -1189,6 +1189,7 @@ enable_d3d10core
enable_d3d11
enable_d3d12
enable_d3d8
enable_d3d8thk
enable_d3d9
enable_d3dcompiler_33
enable_d3dcompiler_34
@ -20392,6 +20393,7 @@ wine_fn_config_makefile dlls/d3d12 enable_d3d12
wine_fn_config_makefile dlls/d3d12/tests enable_tests
wine_fn_config_makefile dlls/d3d8 enable_d3d8
wine_fn_config_makefile dlls/d3d8/tests enable_tests
wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
wine_fn_config_makefile dlls/d3d9 enable_d3d9
wine_fn_config_makefile dlls/d3d9/tests enable_tests
wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33

View File

@ -3137,6 +3137,7 @@ WINE_CONFIG_MAKEFILE(dlls/d3d12)
WINE_CONFIG_MAKEFILE(dlls/d3d12/tests)
WINE_CONFIG_MAKEFILE(dlls/d3d8)
WINE_CONFIG_MAKEFILE(dlls/d3d8/tests)
WINE_CONFIG_MAKEFILE(dlls/d3d8thk)
WINE_CONFIG_MAKEFILE(dlls/d3d9)
WINE_CONFIG_MAKEFILE(dlls/d3d9/tests)
WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_33)

8
dlls/d3d8thk/Makefile.in Normal file
View File

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

56
dlls/d3d8thk/d3d8thk.spec Normal file
View File

@ -0,0 +1,56 @@
@ stub OsThunkD3dContextCreate
@ stub OsThunkD3dContextDestroy
@ stub OsThunkD3dContextDestroyAll
@ stub OsThunkD3dDrawPrimitives2
@ stub OsThunkD3dValidateTextureStageState
@ stub OsThunkDdAddAttachedSurface
@ stub OsThunkDdAlphaBlt
@ stub OsThunkDdAttachSurface
@ stub OsThunkDdBeginMoCompFrame
@ stub OsThunkDdBlt
@ stub OsThunkDdCanCreateD3DBuffer
@ stub OsThunkDdCanCreateSurface
@ stub OsThunkDdColorControl
@ stub OsThunkDdCreateD3DBuffer
@ stub OsThunkDdCreateDirectDrawObject
@ stub OsThunkDdCreateMoComp
@ stub OsThunkDdCreateSurface
@ stub OsThunkDdCreateSurfaceEx
@ stub OsThunkDdCreateSurfaceObject
@ stub OsThunkDdDeleteDirectDrawObject
@ stub OsThunkDdDeleteSurfaceObject
@ stub OsThunkDdDestroyD3DBuffer
@ stub OsThunkDdDestroyMoComp
@ stub OsThunkDdDestroySurface
@ stub OsThunkDdEndMoCompFrame
@ stub OsThunkDdFlip
@ stub OsThunkDdFlipToGDISurface
@ stub OsThunkDdGetAvailDriverMemory
@ stub OsThunkDdGetBltStatus
@ stub OsThunkDdGetDC
@ stub OsThunkDdGetDriverInfo
@ stub OsThunkDdGetDriverState
@ stub OsThunkDdGetDxHandle
@ stub OsThunkDdGetFlipStatus
@ stub OsThunkDdGetInternalMoCompInfo
@ stub OsThunkDdGetMoCompBuffInfo
@ stub OsThunkDdGetMoCompFormats
@ stub OsThunkDdGetMoCompGuids
@ stub OsThunkDdGetScanLine
@ stub OsThunkDdLock
@ stub OsThunkDdLockD3D
@ stub OsThunkDdQueryDirectDrawObject
@ stub OsThunkDdQueryMoCompStatus
@ stub OsThunkDdReenableDirectDrawObject
@ stub OsThunkDdReleaseDC
@ stub OsThunkDdRenderMoComp
@ stub OsThunkDdResetVisrgn
@ stub OsThunkDdSetColorKey
@ stub OsThunkDdSetExclusiveMode
@ stub OsThunkDdSetGammaRamp
@ stub OsThunkDdSetOverlayPosition
@ stub OsThunkDdUnattachSurface
@ stub OsThunkDdUnlock
@ stub OsThunkDdUnlockD3D
@ stub OsThunkDdUpdateOverlay
@ stub OsThunkDdWaitForVerticalBlank

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(d3d8thk);
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/d3d8thk/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 d3d8thk"
#define WINE_FILENAME_STR "d3d8thk.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"