d3dx11_43: Add stub dll.

This commit is contained in:
Detlef Riekenberg 2013-09-04 09:51:36 +02:00 committed by Alexandre Julliard
parent a5abebf6ad
commit e10b687dbf
6 changed files with 134 additions and 0 deletions

1
configure vendored
View File

@ -15993,6 +15993,7 @@ wine_fn_config_dll d3dx10_40 enable_d3dx10_40
wine_fn_config_dll d3dx10_41 enable_d3dx10_41
wine_fn_config_dll d3dx10_42 enable_d3dx10_42
wine_fn_config_dll d3dx10_43 enable_d3dx10_43
wine_fn_config_dll d3dx11_43 enable_d3dx11_43
wine_fn_config_dll d3dx9_24 enable_d3dx9_24
wine_fn_config_dll d3dx9_25 enable_d3dx9_25
wine_fn_config_dll d3dx9_26 enable_d3dx9_26

View File

@ -2675,6 +2675,7 @@ WINE_CONFIG_DLL(d3dx10_40)
WINE_CONFIG_DLL(d3dx10_41)
WINE_CONFIG_DLL(d3dx10_42)
WINE_CONFIG_DLL(d3dx10_43)
WINE_CONFIG_DLL(d3dx11_43)
WINE_CONFIG_DLL(d3dx9_24)
WINE_CONFIG_DLL(d3dx9_25)
WINE_CONFIG_DLL(d3dx9_26)

View File

@ -0,0 +1,7 @@
MODULE = d3dx11_43.dll
C_SRCS = d3dx11_43.c
RC_SRCS = version.rc
@MAKE_DLL_RULES@

View File

@ -0,0 +1,55 @@
/*
* Copyright 2013 Detlef Riekenberg
*
* 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 <stdarg.h>
#define COBJMACROS
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "objbase.h"
#include "d3d11.h"
BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved)
{
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hdll);
}
return TRUE;
}
/***********************************************************************
* D3DX11CheckVersion
*
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL WINAPI D3DX11CheckVersion(UINT d3dsdkversion, UINT d3dxsdkversion)
{
if ((d3dsdkversion == D3D11_SDK_VERSION) && (d3dxsdkversion == 43))
return TRUE;
return FALSE;
}

View File

@ -0,0 +1,44 @@
@ stdcall D3DX11CheckVersion(long long)
@ stub D3DX11CompileFromFileA
@ stub D3DX11CompileFromFileW
@ stub D3DX11CompileFromMemory
@ stub D3DX11CompileFromResourceA
@ stub D3DX11CompileFromResourceW
@ stub D3DX11ComputeNormalMap
@ stub D3DX11CreateAsyncCompilerProcessor
@ stub D3DX11CreateAsyncFileLoaderA
@ stub D3DX11CreateAsyncFileLoaderW
@ stub D3DX11CreateAsyncMemoryLoader
@ stub D3DX11CreateAsyncResourceLoaderA
@ stub D3DX11CreateAsyncResourceLoaderW
@ stub D3DX11CreateAsyncShaderPreprocessProcessor
@ stub D3DX11CreateAsyncShaderResourceViewProcessor
@ stub D3DX11CreateAsyncTextureInfoProcessor
@ stub D3DX11CreateAsyncTextureProcessor
@ stub D3DX11CreateShaderResourceViewFromFileA
@ stub D3DX11CreateShaderResourceViewFromFileW
@ stub D3DX11CreateShaderResourceViewFromMemory
@ stub D3DX11CreateShaderResourceViewFromResourceA
@ stub D3DX11CreateShaderResourceViewFromResourceW
@ stub D3DX11CreateTextureFromFileA
@ stub D3DX11CreateTextureFromFileW
@ stub D3DX11CreateTextureFromMemory
@ stub D3DX11CreateTextureFromResourceA
@ stub D3DX11CreateTextureFromResourceW
@ stub D3DX11CreateThreadPump
@ stub D3DX11FilterTexture
@ stub D3DX11GetImageInfoFromFileA
@ stub D3DX11GetImageInfoFromFileW
@ stub D3DX11GetImageInfoFromMemory
@ stub D3DX11GetImageInfoFromResourceA
@ stub D3DX11GetImageInfoFromResourceW
@ stub D3DX11LoadTextureFromTexture
@ stub D3DX11PreprocessShaderFromFileA
@ stub D3DX11PreprocessShaderFromFileW
@ stub D3DX11PreprocessShaderFromMemory
@ stub D3DX11PreprocessShaderFromResourceA
@ stub D3DX11PreprocessShaderFromResourceW
@ stub D3DX11SHProjectCubeMap
@ stub D3DX11SaveTextureToFileA
@ stub D3DX11SaveTextureToFileW
@ stub D3DX11SaveTextureToMemory

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

@ -0,0 +1,26 @@
/*
* Copyright 2013 Detlef Riekenberg
*
* 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 D3DX11"
#define WINE_FILENAME_STR "d3dx11_43.dll"
#define WINE_FILEVERSION 9,29,952,3111
#define WINE_FILEVERSION_STR "9.29.952.3111"
#define WINE_PRODUCTVERSION 9,29,952,3111
#define WINE_PRODUCTVERSION_STR "9.29.952.3111"
#include "wine/wine_common_ver.rc"