2 * DirectDraw GDI32.dll interface definitions
3 * Copyright (C) 2003 ReactOS Team
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 /* Define the real export names */
24 #define DdCreateDirectDrawObject GdiEntry1
25 #define DdQueryDirectDrawObject GdiEntry2
26 #define DdDeleteDirectDrawObject GdiEntry3
27 #define DdCreateSurfaceObject GdiEntry4
28 #define DdDeleteSurfaceObject GdiEntry5
29 #define DdResetVisrgn GdiEntry6
30 #define DdGetDC GdiEntry7
31 #define DdReleaseDC GdiEntry8
32 #define DdCreateDIBSection GdiEntry9
33 #define DdReenableDirectDrawObject GdiEntry10
34 #define DdAttachSurface GdiEntry11
35 #define DdUnattachSurface GdiEntry12
36 #define DdQueryDisplaySettingsUniqueness GdiEntry13
37 #define DdGetDxHandle GdiEntry14
38 #define DdSetGammaRamp GdiEntry15
39 #define DdSwapTextureHandles GdiEntry16
41 #ifndef D3DHAL_CALLBACKS_DEFINED
42 typedef struct _D3DHAL_CALLBACKS FAR
*LPD3DHAL_CALLBACKS
;
43 #define D3DHAL_CALLBACKS_DEFINED
46 #ifndef D3DHAL_GLOBALDRIVERDATA_DEFINED
47 typedef struct _D3DHAL_GLOBALDRIVERDATA FAR
*LPD3DHAL_GLOBALDRIVERDATA
;
48 #define D3DHAL_GLOBALDRIVERDATA_DEFINED
53 DdCreateDirectDrawObject(
54 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
,
60 DdQueryDirectDrawObject(
61 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
,
63 LPDDHAL_DDCALLBACKS pDDCallbacks
,
64 LPDDHAL_DDSURFACECALLBACKS pDDSurfaceCallbacks
,
65 LPDDHAL_DDPALETTECALLBACKS pDDPaletteCallbacks
,
66 LPD3DHAL_CALLBACKS pD3dCallbacks
,
67 LPD3DHAL_GLOBALDRIVERDATA pD3dDriverData
,
68 LPDDHAL_DDEXEBUFCALLBACKS pD3dBufferCallbacks
,
69 LPDDSURFACEDESC pD3dTextureFormats
,
76 DdDeleteDirectDrawObject(
77 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
82 DdCreateSurfaceObject(
83 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
,
89 DdDeleteSurfaceObject(
90 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
96 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
,
103 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
,
104 LPPALETTEENTRY pColorTable
110 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
117 CONST BITMAPINFO
*pbmi
,
126 DdReenableDirectDrawObject(
127 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
,
134 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceFrom
,
135 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceTo
141 LPDDRAWI_DDRAWSURFACE_LCL pSurface
,
142 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceAttached
147 DdQueryDisplaySettingsUniqueness(VOID
);
152 LPDDRAWI_DIRECTDRAW_LCL pDDraw
,
153 LPDDRAWI_DDRAWSURFACE_LCL pSurface
,
160 LPDDRAWI_DIRECTDRAW_LCL pDDraw
,
167 DdSwapTextureHandles(
168 LPDDRAWI_DIRECTDRAW_LCL pDDraw
,
169 LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl1
,
170 LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl2