* Made it possible to include both d3d9types.h and ddrawgdi.h at the same time
[reactos.git] / reactos / include / psdk / ddrawgdi.h
index 10ecdec..79b1f0b 100644 (file)
@@ -19,7 +19,6 @@
 
 #ifndef _DDRAWGDI_
 #define _DDRAWGDI_
-#include <d3dhal.h>
 
 /* Define the real export names */
 #define DdCreateDirectDrawObject            GdiEntry1
 #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