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.
22 /* Define the real export names */
23 #define DdCreateDirectDrawObject GdiEntry1
24 #define DdQueryDirectDrawObject GdiEntry2
25 #define DdDeleteDirectDrawObject GdiEntry3
26 #define DdCreateSurfaceObject GdiEntry4
27 #define DdDeleteSurfaceObject GdiEntry5
28 #define DdResetVisrgn GdiEntry6
29 #define DdGetDC GdiEntry7
30 #define DdReleaseDC GdiEntry8
31 #define DdCreateDIBSection GdiEntry9
32 #define DdReenableDirectDrawObject GdiEntry10
33 #define DdAttachSurface GdiEntry11
34 #define DdUnattachSurface GdiEntry12
35 #define DdQueryDisplaySettingsUniqueness GdiEntry13
36 #define DdGetDxHandle GdiEntry14
37 #define DdSetGammaRamp GdiEntry15
38 #define DdSwapTextureHandles GdiEntry16
43 DdCreateDirectDrawObject(
44 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
,
50 DdQueryDirectDrawObject(
51 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
,
53 LPDDHAL_DDCALLBACKS pDDCallbacks
,
54 LPDDHAL_DDSURFACECALLBACKS pDDSurfaceCallbacks
,
55 LPDDHAL_DDPALETTECALLBACKS pDDPaletteCallbacks
,
56 LPD3DHAL_CALLBACKS pD3dCallbacks
,
57 LPD3DHAL_GLOBALDRIVERDATA pD3dDriverData
,
58 LPDDHAL_DDEXEBUFCALLBACKS pD3dBufferCallbacks
,
59 LPDDSURFACEDESC pD3dTextureFormats
,
66 DdDeleteDirectDrawObject(
67 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
72 DdCreateSurfaceObject(
73 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
,
79 DdDeleteSurfaceObject(
80 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
86 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
,
93 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
,
94 LPPALETTEENTRY pColorTable
100 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
107 CONST BITMAPINFO
*pbmi
,
116 DdReenableDirectDrawObject(
117 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
,
124 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceFrom
,
125 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceTo
131 LPDDRAWI_DDRAWSURFACE_LCL pSurface
,
132 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceAttached
137 DdQueryDisplaySettingsUniqueness(VOID
);
142 LPDDRAWI_DIRECTDRAW_LCL pDDraw
,
143 LPDDRAWI_DDRAWSURFACE_LCL pSurface
,
150 LPDDRAWI_DIRECTDRAW_LCL pDDraw
,
157 DdSwapTextureHandles(
158 LPDDRAWI_DIRECTDRAW_LCL pDDraw
,
159 LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl1
,
160 LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl2