Commit 4196ba2f authored by Owen Rudge's avatar Owen Rudge Committed by Alexandre Julliard

d3dx10: Add stub for d3dx10_37.

parent 199ff9b3
......@@ -14467,6 +14467,7 @@ wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 d3dcompiler
wine_fn_config_dll d3dim enable_d3dim d3dim
wine_fn_config_dll d3drm enable_d3drm d3drm
wine_fn_config_test dlls/d3drm/tests d3drm_test
wine_fn_config_dll d3dx10_37 enable_d3dx10_37
wine_fn_config_dll d3dx10_38 enable_d3dx10_38
wine_fn_config_dll d3dx10_39 enable_d3dx10_39
wine_fn_config_dll d3dx10_40 enable_d3dx10_40
......
......@@ -2306,6 +2306,7 @@ WINE_CONFIG_DLL(d3dcompiler_43,,[d3dcompiler])
WINE_CONFIG_DLL(d3dim,,[d3dim])
WINE_CONFIG_DLL(d3drm,,[d3drm])
WINE_CONFIG_TEST(dlls/d3drm/tests)
WINE_CONFIG_DLL(d3dx10_37)
WINE_CONFIG_DLL(d3dx10_38)
WINE_CONFIG_DLL(d3dx10_39)
WINE_CONFIG_DLL(d3dx10_40)
......
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = d3dx10_37.dll
C_SRCS = \
d3dx10_37_main.c
RC_SRCS = version.rc
@MAKE_DLL_RULES@
/*
* D3DX10 main file
*
* Copyright (c) 2010 Owen Rudge for CodeWeavers
*
* 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 "d3d10.h"
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
/***********************************************************************
* D3DX10CheckVersion
*
* Checks whether we are compiling against the correct d3d and d3dx library.
*/
BOOL WINAPI D3DX10CheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
{
if ((d3dsdkvers == D3D10_SDK_VERSION) && (d3dxsdkvers == 37))
return TRUE;
return FALSE;
}
/*
* Copyright 2010 Owen Rudge for CodeWeavers
*
* 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 D3DX10"
#define WINE_FILENAME_STR "d3dx10_37.dll"
#define WINE_FILEVERSION 9,19,949,2187
#define WINE_FILEVERSION_STR "9.19.949.2187"
#define WINE_PRODUCTVERSION 9,19,949,2187
#define WINE_PRODUCTVERSION_STR "9.19.949.2187"
#include "wine/wine_common_ver.rc"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment