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