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.
19 #include <ddk/winddi.h>
20 #include <ddk/ddrawi.h>
21 #include <ddk/d3dhal.h>
22 BOOL STDCALL
DdCreateDirectDrawObject(
23 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
,
26 BOOL STDCALL
DdQueryDirectDrawObject(
27 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
,
29 LPDDHAL_DDCALLBACKS pDDCallbacks
,
30 LPDDHAL_DDSURFACECALLBACKS pDDSurfaceCallbacks
,
31 LPDDHAL_DDPALETTECALLBACKS pDDPaletteCallbacks
,
32 LPD3DHAL_CALLBACKS pD3dCallbacks
,
33 LPD3DHAL_GLOBALDRIVERDATA pD3dDriverData
,
34 LPDDHAL_DDEXEBUFCALLBACKS pD3dBufferCallbacks
,
35 LPDDSURFACEDESC pD3dTextureFormats
,
39 BOOL STDCALL
DdDeleteDirectDrawObject(
40 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
42 BOOL STDCALL
DdCreateSurfaceObject(
43 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
,
46 BOOL STDCALL
DdDeleteSurfaceObject(
47 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
49 BOOL STDCALL
DdResetVisrgn(
50 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
,
54 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
,
55 LPPALETTEENTRY pColorTable
57 BOOL STDCALL
DdReleaseDC(
58 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
60 HBITMAP STDCALL
DdCreateDIBSection(
62 CONST BITMAPINFO
*pbmi
,
68 BOOL STDCALL
DdReenableDirectDrawObject(
69 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
,
72 BOOL STDCALL
DdAttachSurface(
73 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceFrom
,
74 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceTo
76 VOID STDCALL
DdUnattachSurface(
77 LPDDRAWI_DDRAWSURFACE_LCL pSurface
,
78 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceAttached
80 ULONG STDCALL
DdQueryDisplaySettingsUniqueness(VOID
);
81 HANDLE STDCALL
DdGetDxHandle(
82 LPDDRAWI_DIRECTDRAW_LCL pDDraw
,
83 LPDDRAWI_DDRAWSURFACE_LCL pSurface
,
86 BOOL STDCALL
DdSetGammaRamp(
87 LPDDRAWI_DIRECTDRAW_LCL pDDraw
,
91 DWORD STDCALL
DdSwapTextureHandles(
92 LPDDRAWI_DIRECTDRAW_LCL pDDraw
,
93 LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl1
,
94 LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl2