ReactOS 0.4.15-dev-7958-gcd0bb1a
ddrawgdi.h
Go to the documentation of this file.
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
20#ifndef _DDRAWGDI_
21#define _DDRAWGDI_
22
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
40
41#ifndef D3DHAL_CALLBACKS_DEFINED
43#define D3DHAL_CALLBACKS_DEFINED
44#endif
45
46#ifndef D3DHAL_GLOBALDRIVERDATA_DEFINED
48#define D3DHAL_GLOBALDRIVERDATA_DEFINED
49#endif
50
51BOOL
54 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,
55 HDC hdc
56);
57
58BOOL
61 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,
72);
73
74BOOL
77 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
78);
79
80BOOL
83 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
84 BOOL bPrimarySurface
85);
86
87BOOL
90 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
91);
92
93BOOL
96 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
98);
99
100HDC
101WINAPI
102DdGetDC(
103 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
104 LPPALETTEENTRY pColorTable
105);
106
107BOOL
108WINAPI
110 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
111);
112
114WINAPI
116 HDC hdc,
118 UINT iUsage,
119 VOID **ppvBits,
120 HANDLE hSectionApp,
122);
123
124BOOL
125WINAPI
127 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,
128 BOOL *pbNewMode
129);
130
131BOOL
132WINAPI
134 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceFrom,
136);
137
138VOID
139WINAPI
142 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceAttached
143);
144
145ULONG
146WINAPI
148
149HANDLE
150WINAPI
154 BOOL bRelease
155);
156
157BOOL
158WINAPI
161 HDC hdc,
162 LPVOID lpGammaRamp
163);
164
165DWORD
166WINAPI
171);
172#endif
HWND hWnd
Definition: settings.c:17
struct _DDRAWI_DIRECTDRAW_GBL FAR * LPDDRAWI_DIRECTDRAW_GBL
Definition: d3dhal.h:39
struct _DDRAWI_DIRECTDRAW_LCL FAR * LPDDRAWI_DIRECTDRAW_LCL
Definition: d3dhal.h:40
struct _DDRAWI_DDRAWSURFACE_LCL FAR * LPDDRAWI_DDRAWSURFACE_LCL
Definition: d3dhal.h:45
#define DdCreateDirectDrawObject
Definition: ddrawgdi.h:24
#define DdQueryDirectDrawObject
Definition: ddrawgdi.h:25
#define DdCreateDIBSection
Definition: ddrawgdi.h:32
#define DdUnattachSurface
Definition: ddrawgdi.h:35
#define DdCreateSurfaceObject
Definition: ddrawgdi.h:27
struct _D3DHAL_CALLBACKS FAR * LPD3DHAL_CALLBACKS
Definition: ddrawgdi.h:42
struct _D3DHAL_GLOBALDRIVERDATA FAR * LPD3DHAL_GLOBALDRIVERDATA
Definition: ddrawgdi.h:47
#define DdSwapTextureHandles
Definition: ddrawgdi.h:39
#define DdDeleteDirectDrawObject
Definition: ddrawgdi.h:26
#define DdReleaseDC
Definition: ddrawgdi.h:31
#define DdResetVisrgn
Definition: ddrawgdi.h:29
#define DdSetGammaRamp
Definition: ddrawgdi.h:38
#define DdReenableDirectDrawObject
Definition: ddrawgdi.h:33
#define DdDeleteSurfaceObject
Definition: ddrawgdi.h:28
#define DdAttachSurface
Definition: ddrawgdi.h:34
#define DdQueryDisplaySettingsUniqueness
Definition: ddrawgdi.h:36
#define DdGetDC
Definition: ddrawgdi.h:30
#define DdGetDxHandle
Definition: ddrawgdi.h:37
#define FAR
Definition: zlib.h:34
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
HDC hdc
Definition: main.c:9
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS LPD3DHAL_CALLBACKS LPD3DHAL_GLOBALDRIVERDATA LPDDHAL_DDEXEBUFCALLBACKS pD3dBufferCallbacks
Definition: main.h:44
LPDDRAWI_DDRAWSURFACE_LCL pSurfaceTo
Definition: main.h:121
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS pDDPaletteCallbacks
Definition: main.h:41
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS pDDSurfaceCallbacks
Definition: main.h:40
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS LPD3DHAL_CALLBACKS pD3dCallbacks
Definition: main.h:42
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS LPD3DHAL_CALLBACKS LPD3DHAL_GLOBALDRIVERDATA LPDDHAL_DDEXEBUFCALLBACKS LPDDSURFACEDESC pD3dTextureFormats
Definition: main.h:45
LPDDHALINFO LPDDHAL_DDCALLBACKS pDDCallbacks
Definition: main.h:39
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS LPD3DHAL_CALLBACKS LPD3DHAL_GLOBALDRIVERDATA pD3dDriverData
Definition: main.h:43
static HBITMAP
Definition: button.c:44
static HDC
Definition: imagelist.c:92
unsigned int UINT
Definition: ndis.h:50
_In_ DWORD _In_ DWORD dwOffset
Definition: ntgdi.h:2033
_In_ HBITMAP _In_ UINT _In_ UINT _Inout_ LPBITMAPINFO pbmi
Definition: ntgdi.h:2780
_In_ HBITMAP _In_ UINT _In_ UINT _Inout_ LPBITMAPINFO _In_ UINT iUsage
Definition: ntgdi.h:2781
#define CONST
Definition: pedump.c:81
uint32_t * LPDWORD
Definition: typedefs.h:59
uint32_t ULONG
Definition: typedefs.h:59
_In_ DD_SURFACE_LOCAL * pSurface
Definition: winddi.h:3481
_Out_ DD_HALINFO _Out_ DWORD _Out_ VIDEOMEMORY _Out_ DWORD _Out_ DWORD * pdwFourCC
Definition: winddi.h:4230
_Out_ DD_HALINFO * pHalInfo
Definition: winddi.h:4226
_Out_ DD_HALINFO _Out_ DWORD _Out_ VIDEOMEMORY * pvmList
Definition: winddi.h:4228
#define WINAPI
Definition: msvc.h:6