From 6cd50aa6f730b9621b8c2dd62e7736af71da5fc1 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sun, 19 Jan 2014 10:46:55 +0000 Subject: [PATCH] [D3D9] * Improve the GUIDs situation. CORE-7716 svn path=/trunk/; revision=61704 --- reactos/dll/directx/wine/d3d9/CMakeLists.txt | 1 + reactos/dll/directx/wine/d3d9/d3d9_private.h | 8 ++++---- reactos/dll/directx/wine/d3d9/guid.c | 15 +++++++++++++++ 3 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 reactos/dll/directx/wine/d3d9/guid.c diff --git a/reactos/dll/directx/wine/d3d9/CMakeLists.txt b/reactos/dll/directx/wine/d3d9/CMakeLists.txt index bdf9d7ae373..0465e1bb711 100644 --- a/reactos/dll/directx/wine/d3d9/CMakeLists.txt +++ b/reactos/dll/directx/wine/d3d9/CMakeLists.txt @@ -20,6 +20,7 @@ list(APPEND SOURCE texture.c vertexdeclaration.c volume.c + guid.c version.rc ${CMAKE_CURRENT_BINARY_DIR}/d3d9_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/d3d9.def) diff --git a/reactos/dll/directx/wine/d3d9/d3d9_private.h b/reactos/dll/directx/wine/d3d9/d3d9_private.h index f32ae4fd0ff..6ae0c4d56ae 100644 --- a/reactos/dll/directx/wine/d3d9/d3d9_private.h +++ b/reactos/dll/directx/wine/d3d9/d3d9_private.h @@ -25,16 +25,17 @@ #include +#include +#include + #define WIN32_NO_STATUS #define _INC_WINDOWS #define COM_NO_WINDOWS_H -#include -#include - #define NONAMELESSUNION #define NONAMELESSSTRUCT #define COBJMACROS + #include #include #include @@ -42,7 +43,6 @@ #include WINE_DEFAULT_DEBUG_CHANNEL(d3d9); -#include #include #include diff --git a/reactos/dll/directx/wine/d3d9/guid.c b/reactos/dll/directx/wine/d3d9/guid.c new file mode 100644 index 00000000000..5ccadd3a28b --- /dev/null +++ b/reactos/dll/directx/wine/d3d9/guid.c @@ -0,0 +1,15 @@ +/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */ + +#include + +#define WIN32_NO_STATUS +#define _INC_WINDOWS +#define COM_NO_WINDOWS_H + +#include +#include +#include +#include +#include + +/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */ -- 2.17.1