-
+#ifndef __DD_INCLUDED__
#define VIDMEM_ISLINEAR 0x00000001
#define VIDMEM_ISRECTANGULAR 0x00000002
#define VIDMEM_ISHEAP 0x00000004
#define VIDMEM_ISNONLOCAL 0x00000008
#define VIDMEM_ISWC 0x00000010
#define VIDMEM_ISDISABLED 0x00000020
-
+#endif
typedef struct _VIDMEMINFO {
FLATPTR fpPrimary;
/*****************************************************************************
* ddraw->driver callbacks
*/
+#ifndef __DD_INCLUDED__
#define DDHAL_DRIVER_NOTHANDLED 0
#define DDHAL_DRIVER_HANDLED 1
#define DDHAL_DRIVER_NOCKEYHW 2
+#endif
typedef struct _DDHAL_DESTROYDRIVERDATA *LPDDHAL_DESTROYDRIVERDATA;
typedef struct _DDHAL_CREATESURFACEDATA *LPDDHAL_CREATESURFACEDATA;
#define DDHAL_CB32_FLIPTOGDISURFACE 0x00000200l
#define DDHAL_PALCB32_DESTROYPALETTE 0x00000001l
#define DDHAL_PALCB32_SETENTRIES 0x00000002l
+#ifndef __DD_INCLUDED__
#define DDHALINFO_ISPRIMARYDISPLAY 0x00000001
#define DDHALINFO_MODEXILLEGAL 0x00000002
#define DDHALINFO_GETDRIVERINFOSET 0x00000004
#define DDHALINFO_GETDRIVERINFO2 0x00000008
+#endif
#define DDRAWI_VPORTSTART 0x0001
#define DDRAWI_VPORTSTOP 0x0002
#define DDRAWI_VPORTUPDATE 0x0003
#define DDHAL_MISC2CB32_CREATESURFACEEX 0x00000002
#define DDHAL_MISC2CB32_GETDRIVERSTATE 0x00000004
#define DDHAL_MISC2CB32_DESTROYDDLOCAL 0x00000008
+#ifndef __DD_INCLUDED__
#define DDHAL_EXEBUFCB32_CANCREATEEXEBUF 0x00000001
#define DDHAL_EXEBUFCB32_CREATEEXEBUF 0x00000002
#define DDHAL_EXEBUFCB32_DESTROYEXEBUF 0x00000004
#define DDHAL_EXEBUFCB32_LOCKEXEBUF 0x00000008
#define DDHAL_EXEBUFCB32_UNLOCKEXEBUF 0x00000010
+#endif
#define DDHAL_VPORT32_CANCREATEVIDEOPORT 0x00000001
#define DDHAL_VPORT32_CREATEVIDEOPORT 0x00000002
#define DDHAL_VPORT32_FLIP 0x00000004
#define DDHAL_VPORT32_GETSIGNALSTATUS 0x00004000
#define DDHAL_VPORT32_COLORCONTROL 0x00008000
#define DDHAL_COLOR_COLORCONTROL 0x00000001
+#ifndef __DD_INCLUDED__
#define DDHAL_KERNEL_SYNCSURFACEDATA 0x00000001
#define DDHAL_KERNEL_SYNCVIDEOPORTDATA 0x00000002
+#endif
#define DDHAL_MOCOMP32_GETGUIDS 0x00000001
#define DDHAL_MOCOMP32_GETFORMATS 0x00000002
#define DDHAL_MOCOMP32_CREATE 0x00000004
#define DDRAWICLIP_INMASTERSPRITELIST 0x00000004
#define PFINDEX_UNINITIALIZED (0UL)
#define PFINDEX_UNSUPPORTED (~0UL)
+#ifndef __DD_INCLUDED__
#define ROP_HAS_SOURCE 0x00000001
#define ROP_HAS_PATTERN 0x00000002
#define ROP_HAS_SOURCEPATTERN ROP_HAS_PATTERN | ROP_HAS_SOURCE
+#endif
#define DDRAWIVPORT_ON 0x00000001
#define DDRAWIVPORT_SOFTWARE_AUTOFLIP 0x00000002
#define DDRAWIVPORT_COLORKEYANDINTERP 0x00000004