Removed ddk/ddrawi.h because we have it twice, also removed some defines from ddrawin...
[reactos.git] / reactos / include / ddentry.h
1 /*
2 * DirectDraw GDI32.dll interface definitions
3 * Copyright (C) 2003 ReactOS Team
4 *
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.
9 *
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.
14 *
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.
18 */
19 #include <ddrawi.h>
20 #include <ddk/d3dhal.h>
21 #include <ddk/winddi.h>
22 BOOL STDCALL DdCreateDirectDrawObject(
23 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,
24 HDC hdc
25 );
26 BOOL STDCALL DdQueryDirectDrawObject(
27 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,
28 LPDDHALINFO pHalInfo,
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,
36 LPDWORD pdwFourCC,
37 LPVIDMEM pvmList
38 );
39 BOOL STDCALL DdDeleteDirectDrawObject(
40 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
41 );
42 BOOL STDCALL DdCreateSurfaceObject(
43 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
44 BOOL bPrimarySurface
45 );
46 BOOL STDCALL DdDeleteSurfaceObject(
47 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
48 );
49 BOOL STDCALL DdResetVisrgn(
50 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
51 HWND hWnd
52 );
53 BOOL STDCALL DdGetDC(
54 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
55 LPPALETTEENTRY pColorTable
56 );
57 BOOL STDCALL DdReleaseDC(
58 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
59 );
60 HBITMAP STDCALL DdCreateDIBSection(
61 HDC hdc,
62 CONST BITMAPINFO *pbmi,
63 UINT iUsage,
64 VOID **ppvBits,
65 HANDLE hSectionApp,
66 DWORD dwOffset
67 );
68 BOOL STDCALL DdReenableDirectDrawObject(
69 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,
70 BOOL *pbNewMode
71 );
72 BOOL STDCALL DdAttachSurface(
73 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceFrom,
74 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceTo
75 );
76 VOID STDCALL DdUnattachSurface(
77 LPDDRAWI_DDRAWSURFACE_LCL pSurface,
78 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceAttached
79 );
80 ULONG STDCALL DdQueryDisplaySettingsUniqueness(VOID);
81 HANDLE STDCALL DdGetDxHandle(
82 LPDDRAWI_DIRECTDRAW_LCL pDDraw,
83 LPDDRAWI_DDRAWSURFACE_LCL pSurface,
84 BOOL bRelease
85 );
86 BOOL STDCALL DdSetGammaRamp(
87 LPDDRAWI_DIRECTDRAW_LCL pDDraw,
88 HDC hdc,
89 LPVOID lpGammaRamp
90 );
91 DWORD STDCALL DdSwapTextureHandles(
92 LPDDRAWI_DIRECTDRAW_LCL pDDraw,
93 LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl1,
94 LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl2
95 );