* Made it possible to include both d3d9types.h and ddrawgdi.h at the same time

svn path=/trunk/; revision=32248
This commit is contained in:
Gregor Brunmar 2008-02-10 07:30:27 +00:00
parent 412242bf24
commit 7f15e53fd8
5 changed files with 23 additions and 4 deletions

View file

@ -9,7 +9,6 @@
*/
#include "rosdraw.h"
#include "ddrawgdi.h"
DDRAWI_DIRECTDRAW_GBL ddgbl;
DDRAWI_DDRAWSURFACE_GBL ddSurfGbl;

View file

@ -15,6 +15,7 @@
#include <ddrawint.h>
#include <ddrawgdi.h>
#include <ntgdi.h>
#include <d3dhal.h>
/* DATA **********************************************************************/

View file

@ -14,6 +14,7 @@
#include <ddrawint.h>
#include <ddrawgdi.h>
#include <ntgdi.h>
#include <d3dhal.h>
/*
* @implemented

View file

@ -59,7 +59,12 @@ typedef struct _D3DHAL_GLOBALDRIVERDATA {
DWORD dwNumClipVertices;
DWORD dwNumTextureFormats;
LPDDSURFACEDESC lpTextureFormats;
} D3DHAL_GLOBALDRIVERDATA,*LPD3DHAL_GLOBALDRIVERDATA;
} D3DHAL_GLOBALDRIVERDATA;
#ifndef D3DHAL_GLOBALDRIVERDATA_DEFINED
typedef D3DHAL_GLOBALDRIVERDATA *LPD3DHAL_GLOBALDRIVERDATA;
#define D3DHAL_GLOBALDRIVERDATA_DEFINED
#endif
typedef struct _D3DHAL_D3DEXTENDEDCAPS {
DWORD dwSize;
@ -159,7 +164,12 @@ typedef struct _D3DHAL_CALLBACKS {
DWORD dwReserved7;
DWORD dwReserved8;
DWORD dwReserved9;
} D3DHAL_CALLBACKS,*LPD3DHAL_CALLBACKS;
} D3DHAL_CALLBACKS;
#ifndef D3DHAL_CALLBACKS_DEFINED
typedef D3DHAL_CALLBACKS *LPD3DHAL_CALLBACKS;
#define D3DHAL_CALLBACKS_DEFINED
#endif
typedef struct _D3DHAL_SETRENDERTARGETDATA *LPD3DHAL_SETRENDERTARGETDATA;
typedef struct _D3DHAL_CLEARDATA *LPD3DHAL_CLEARDATA;

View file

@ -19,7 +19,6 @@
#ifndef _DDRAWGDI_
#define _DDRAWGDI_
#include <d3dhal.h>
/* Define the real export names */
#define DdCreateDirectDrawObject GdiEntry1
@ -39,6 +38,15 @@
#define DdSetGammaRamp GdiEntry15
#define DdSwapTextureHandles GdiEntry16
#ifndef D3DHAL_CALLBACKS_DEFINED
typedef struct _D3DHAL_CALLBACKS FAR *LPD3DHAL_CALLBACKS;
#define D3DHAL_CALLBACKS_DEFINED
#endif
#ifndef D3DHAL_GLOBALDRIVERDATA_DEFINED
typedef struct _D3DHAL_GLOBALDRIVERDATA FAR *LPD3DHAL_GLOBALDRIVERDATA;
#define D3DHAL_GLOBALDRIVERDATA_DEFINED
#endif
BOOL
STDCALL