ReactOS 0.4.16-dev-197-g92996da
main.h
Go to the documentation of this file.
1#include <windows.h>
2#include <ddrawi.h>
3#include <d3dhal.h>
4
5
7extern HDC hdc;
10 extern DDHALINFO mHALInfo;
11
16
17 extern UINT mcModeInfos;
19
20 extern UINT mcvmList;
21 extern VIDMEM *mpvmList;
22
23 extern UINT mcFourCC;
24 extern DWORD *mpFourCC;
25
26 extern UINT mcTextures;
28
29
30
32 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,
34);
35
37 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,
48);
49
50BOOL
53 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
54);
55
56BOOL
59 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
60 BOOL bPrimarySurface
61);
62
63BOOL
66 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
67);
68
69//BOOL
70//APIENTRY
71//DdResetVisrgn(
72// LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
73// HWND hWnd
74//);
76 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
78);
79
80HDC
83 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
84 LPPALETTEENTRY pColorTable
85);
86
87BOOL
90 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
91);
92
96 HDC hdc,
99 VOID **ppvBits,
100 HANDLE hSectionApp,
102);
103
104BOOL
107 LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,
108 BOOL *pbNewMode
109);
110
111//BOOL
112//APIENTRY
113//DdAttachSurface(
114// LPDDRAWI_DDRAWSURFACE_LCL pSurfaceFrom,
115// LPDDRAWI_DDRAWSURFACE_LCL pSurfaceTo
116//);
117
119 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceFrom,
121);
122
123VOID
127 LPDDRAWI_DDRAWSURFACE_LCL pSurfaceAttached
128);
129
130ULONG
133
134HANDLE
139 BOOL bRelease
140);
141
142BOOL
146 HDC hdc,
147 LPVOID lpGammaRamp
148);
149
150DWORD
156);
157
159{
160 switch (hr)
161 {
162 case DD_OK: return "DD_OK";
163 case DDERR_ALREADYINITIALIZED: return "DDERR_ALREADYINITIALIZED";
164 case DDERR_CANNOTATTACHSURFACE: return "DDERR_CANNOTATTACHSURFACE";
165 case DDERR_CANNOTDETACHSURFACE: return "DDERR_CANNOTDETACHSURFACE";
166 case DDERR_CURRENTLYNOTAVAIL: return "DDERR_CURRENTLYNOTAVAIL";
167 case DDERR_EXCEPTION: return "DDERR_EXCEPTION";
168 case DDERR_GENERIC: return "DDERR_GENERIC";
169 case DDERR_HEIGHTALIGN: return "DDERR_HEIGHTALIGN";
170 case DDERR_INCOMPATIBLEPRIMARY: return "DDERR_INCOMPATIBLEPRIMARY";
171 case DDERR_INVALIDCAPS: return "DDERR_INVALIDCAPS";
172 case DDERR_INVALIDCLIPLIST: return "DDERR_INVALIDCLIPLIST";
173 case DDERR_INVALIDMODE: return "DDERR_INVALIDMODE";
174 case DDERR_INVALIDOBJECT: return "DDERR_INVALIDOBJECT";
175 case DDERR_INVALIDPARAMS: return "DDERR_INVALIDPARAMS";
176 case DDERR_INVALIDPIXELFORMAT: return "DDERR_INVALIDPIXELFORMAT";
177 case DDERR_INVALIDRECT: return "DDERR_INVALIDRECT";
178 case DDERR_LOCKEDSURFACES: return "DDERR_LOCKEDSURFACES";
179 case DDERR_NO3D: return "DDERR_NO3D";
180 case DDERR_NOALPHAHW: return "DDERR_NOALPHAHW";
181 case DDERR_NOCLIPLIST: return "DDERR_NOCLIPLIST";
182 case DDERR_NOCOLORCONVHW: return "DDERR_NOCOLORCONVHW";
183 case DDERR_NOCOOPERATIVELEVELSET: return "DDERR_NOCOOPERATIVELEVELSET";
184 case DDERR_NOCOLORKEY: return "DDERR_NOCOLORKEY";
185 case DDERR_NOCOLORKEYHW: return "DDERR_NOCOLORKEYHW";
186 case DDERR_NODIRECTDRAWSUPPORT: return "DDERR_NODIRECTDRAWSUPPORT";
187 case DDERR_NOEXCLUSIVEMODE: return "DDERR_NOEXCLUSIVEMODE";
188 case DDERR_NOFLIPHW: return "DDERR_NOFLIPHW";
189 case DDERR_NOGDI: return "DDERR_NOGDI";
190 case DDERR_NOMIRRORHW: return "DDERR_NOMIRRORHW";
191 case DDERR_NOTFOUND: return "DDERR_NOTFOUND";
192 case DDERR_NOOVERLAYHW: return "DDERR_NOOVERLAYHW";
193 case DDERR_NORASTEROPHW: return "DDERR_NORASTEROPHW";
194 case DDERR_NOROTATIONHW: return "DDERR_NOROTATIONHW";
195 case DDERR_NOSTRETCHHW: return "DDERR_NOSTRETCHHW";
196 case DDERR_NOT4BITCOLOR: return "DDERR_NOT4BITCOLOR";
197 case DDERR_NOT4BITCOLORINDEX: return "DDERR_NOT4BITCOLORINDEX";
198 case DDERR_NOT8BITCOLOR: return "DDERR_NOT8BITCOLOR";
199 case DDERR_NOTEXTUREHW: return "DDERR_NOTEXTUREHW";
200 case DDERR_NOVSYNCHW: return "DDERR_NOVSYNCHW";
201 case DDERR_NOZBUFFERHW: return "DDERR_NOZBUFFERHW";
202 case DDERR_NOZOVERLAYHW: return "DDERR_NOZOVERLAYHW";
203 case DDERR_OUTOFCAPS: return "DDERR_OUTOFCAPS";
204 case DDERR_OUTOFMEMORY: return "DDERR_OUTOFMEMORY";
205 case DDERR_OUTOFVIDEOMEMORY: return "DDERR_OUTOFVIDEOMEMORY";
206 case DDERR_OVERLAYCANTCLIP: return "DDERR_OVERLAYCANTCLIP";
207 case DDERR_OVERLAYCOLORKEYONLYONEACTIVE: return "DDERR_OVERLAYCOLORKEYONLYONEACTIVE";
208 case DDERR_PALETTEBUSY: return "DDERR_PALETTEBUSY";
209 case DDERR_COLORKEYNOTSET: return "DDERR_COLORKEYNOTSET";
210 case DDERR_SURFACEALREADYATTACHED: return "DDERR_SURFACEALREADYATTACHED";
211 case DDERR_SURFACEALREADYDEPENDENT: return "DDERR_SURFACEALREADYDEPENDENT";
212 case DDERR_SURFACEBUSY: return "DDERR_SURFACEBUSY";
213 case DDERR_CANTLOCKSURFACE: return "DDERR_CANTLOCKSURFACE";
214 case DDERR_SURFACEISOBSCURED: return "DDERR_SURFACEISOBSCURED";
215 case DDERR_SURFACELOST: return "DDERR_SURFACELOST";
216 case DDERR_SURFACENOTATTACHED: return "DDERR_SURFACENOTATTACHED";
217 case DDERR_TOOBIGHEIGHT: return "DDERR_TOOBIGHEIGHT";
218 case DDERR_TOOBIGSIZE: return "DDERR_TOOBIGSIZE";
219 case DDERR_TOOBIGWIDTH: return "DDERR_TOOBIGWIDTH";
220 case DDERR_UNSUPPORTED: return "DDERR_UNSUPPORTED";
221 case DDERR_UNSUPPORTEDFORMAT: return "DDERR_UNSUPPORTEDFORMAT";
222 case DDERR_UNSUPPORTEDMASK: return "DDERR_UNSUPPORTEDMASK";
223 case DDERR_VERTICALBLANKINPROGRESS: return "DDERR_VERTICALBLANKINPROGRESS";
224 case DDERR_WASSTILLDRAWING: return "DDERR_WASSTILLDRAWING";
225 case DDERR_XALIGN: return "DDERR_XALIGN";
226 case DDERR_INVALIDDIRECTDRAWGUID: return "DDERR_INVALIDDIRECTDRAWGUID";
227 case DDERR_DIRECTDRAWALREADYCREATED: return "DDERR_DIRECTDRAWALREADYCREATED";
228 case DDERR_NODIRECTDRAWHW: return "DDERR_NODIRECTDRAWHW";
229 case DDERR_PRIMARYSURFACEALREADYEXISTS: return "DDERR_PRIMARYSURFACEALREADYEXISTS";
230 case DDERR_NOEMULATION: return "DDERR_NOEMULATION";
231 case DDERR_REGIONTOOSMALL: return "DDERR_REGIONTOOSMALL";
232 case DDERR_CLIPPERISUSINGHWND: return "DDERR_CLIPPERISUSINGHWND";
233 case DDERR_NOCLIPPERATTACHED: return "DDERR_NOCLIPPERATTACHED";
234 case DDERR_NOHWND: return "DDERR_NOHWND";
235 case DDERR_HWNDSUBCLASSED: return "DDERR_HWNDSUBCLASSED";
236 case DDERR_HWNDALREADYSET: return "DDERR_HWNDALREADYSET";
237 case DDERR_NOPALETTEATTACHED: return "DDERR_NOPALETTEATTACHED";
238 case DDERR_NOPALETTEHW: return "DDERR_NOPALETTEHW";
239 case DDERR_BLTFASTCANTCLIP: return "DDERR_BLTFASTCANTCLIP";
240 case DDERR_NOBLTHW: return "DDERR_NOBLTHW";
241 case DDERR_NODDROPSHW: return "DDERR_NODDROPSHW";
242 case DDERR_OVERLAYNOTVISIBLE: return "DDERR_OVERLAYNOTVISIBLE";
243 case DDERR_NOOVERLAYDEST: return "DDERR_NOOVERLAYDEST";
244 case DDERR_INVALIDPOSITION: return "DDERR_INVALIDPOSITION";
245 case DDERR_NOTAOVERLAYSURFACE: return "DDERR_NOTAOVERLAYSURFACE";
246 case DDERR_EXCLUSIVEMODEALREADYSET: return "DDERR_EXCLUSIVEMODEALREADYSET";
247 case DDERR_NOTFLIPPABLE: return "DDERR_NOTFLIPPABLE";
248 case DDERR_CANTDUPLICATE: return "DDERR_CANTDUPLICATE";
249 case DDERR_NOTLOCKED: return "DDERR_NOTLOCKED";
250 case DDERR_CANTCREATEDC: return "DDERR_CANTCREATEDC";
251 case DDERR_NODC: return "DDERR_NODC";
252 case DDERR_WRONGMODE: return "DDERR_WRONGMODE";
253 case DDERR_IMPLICITLYCREATED: return "DDERR_IMPLICITLYCREATED";
254 case DDERR_NOTPALETTIZED: return "DDERR_NOTPALETTIZED";
255 case DDERR_UNSUPPORTEDMODE: return "DDERR_UNSUPPORTEDMODE";
256 case DDERR_NOMIPMAPHW: return "DDERR_NOMIPMAPHW";
257 case DDERR_INVALIDSURFACETYPE: return "DDERR_INVALIDSURFACETYPE";
258 case DDERR_DCALREADYCREATED: return "DDERR_DCALREADYCREATED";
259 case DDERR_CANTPAGELOCK: return "DDERR_CANTPAGELOCK";
260 case DDERR_CANTPAGEUNLOCK: return "DDERR_CANTPAGEUNLOCK";
261 case DDERR_NOTPAGELOCKED: return "DDERR_NOTPAGELOCKED";
262 case DDERR_NOTINITIALIZED: return "DDERR_NOTINITIALIZED";
263 }
264
265 return "Unknown Error ";
266}
267
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
#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 APIENTRY
Definition: api.h:79
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD * mpFourCC
Definition: main.c:26
DDRAWI_DIRECTDRAW_GBL mDDrawGlobal
Definition: main.c:10
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
DDHAL_CALLBACKS mCallbacks
Definition: main.c:14
DDSURFACEDESC * mpTextures
Definition: main.c:29
UINT mcvmList
Definition: main.c:22
UINT mcTextures
Definition: main.c:28
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS pDDPaletteCallbacks
Definition: main.h:41
UINT mcFourCC
Definition: main.c:25
char * DDErrorString(HRESULT hr)
Definition: main.h:158
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS LPD3DHAL_CALLBACKS LPD3DHAL_GLOBALDRIVERDATA LPDDHAL_DDEXEBUFCALLBACKS LPDDSURFACEDESC LPDWORD LPVIDMEM pvmList
Definition: main.h:48
DDHALMODEINFO * mpModeInfos
Definition: main.c:20
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS pDDSurfaceCallbacks
Definition: main.h:40
DDHALINFO mHALInfo
Definition: main.c:12
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS LPD3DHAL_CALLBACKS LPD3DHAL_GLOBALDRIVERDATA LPDDHAL_DDEXEBUFCALLBACKS LPDDSURFACEDESC LPDWORD pdwFourCC
Definition: main.h:46
VIDMEM * mpvmList
Definition: main.c:23
int StartupHAL(VOID)
HDC hdc
Definition: main.h:34
UINT mcModeInfos
Definition: main.c:19
DDHAL_DDEXEBUFCALLBACKS mD3dBufferCallbacks
Definition: main.c:15
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS LPD3DHAL_CALLBACKS pD3dCallbacks
Definition: main.h:42
DDRAWI_DIRECTDRAW_LCL mDDrawLocal
Definition: main.c:11
LPDDHALINFO pHalInfo
Definition: main.h:38
D3DHAL_CALLBACKS mD3dCallbacks
Definition: main.c:16
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS LPD3DHAL_CALLBACKS LPD3DHAL_GLOBALDRIVERDATA LPDDHAL_DDEXEBUFCALLBACKS LPDDSURFACEDESC pD3dTextureFormats
Definition: main.h:45
D3DHAL_GLOBALDRIVERDATA mD3dDriverData
Definition: main.c:17
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:88
unsigned int UINT
Definition: ndis.h:50
#define BOOL
Definition: nt_native.h:43
_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
#define DDERR_OVERLAYCOLORKEYONLYONEACTIVE
Definition: ddraw.h:114
#define DDERR_NOT8BITCOLOR
Definition: ddraw.h:105
#define DDERR_NOSTRETCHHW
Definition: ddraw.h:102
#define DDERR_NOTAOVERLAYSURFACE
Definition: ddraw.h:154
#define DDERR_CANTPAGEUNLOCK
Definition: ddraw.h:174
#define DDERR_INVALIDRECT
Definition: ddraw.h:81
#define DDERR_NOT4BITCOLORINDEX
Definition: ddraw.h:104
#define DDERR_HEIGHTALIGN
Definition: ddraw.h:73
#define DDERR_UNSUPPORTEDMODE
Definition: ddraw.h:164
#define DDERR_NOOVERLAYDEST
Definition: ddraw.h:152
#define DDERR_INVALIDPIXELFORMAT
Definition: ddraw.h:80
#define DDERR_VERTICALBLANKINPROGRESS
Definition: ddraw.h:131
#define DDERR_NOTFLIPPABLE
Definition: ddraw.h:156
#define DDERR_NOVSYNCHW
Definition: ddraw.h:107
#define DDERR_NODC
Definition: ddraw.h:160
#define DDERR_OVERLAYCANTCLIP
Definition: ddraw.h:113
#define DDERR_WRONGMODE
Definition: ddraw.h:161
#define DDERR_OUTOFCAPS
Definition: ddraw.h:110
#define DDERR_NOFLIPHW
Definition: ddraw.h:94
#define DDERR_UNSUPPORTEDMASK
Definition: ddraw.h:129
#define DDERR_INVALIDCAPS
Definition: ddraw.h:75
#define DDERR_INVALIDOBJECT
Definition: ddraw.h:78
#define DDERR_INVALIDMODE
Definition: ddraw.h:77
#define DDERR_CANNOTATTACHSURFACE
Definition: ddraw.h:68
#define DDERR_UNSUPPORTEDFORMAT
Definition: ddraw.h:128
#define DDERR_NOZOVERLAYHW
Definition: ddraw.h:109
#define DDERR_NOTFOUND
Definition: ddraw.h:97
#define DDERR_NOTPAGELOCKED
Definition: ddraw.h:175
#define DDERR_SURFACELOST
Definition: ddraw.h:122
#define DDERR_NOOVERLAYHW
Definition: ddraw.h:98
#define DDERR_NOT4BITCOLOR
Definition: ddraw.h:103
#define DDERR_SURFACEALREADYDEPENDENT
Definition: ddraw.h:118
#define DDERR_SURFACEISOBSCURED
Definition: ddraw.h:121
#define DDERR_NOHWND
Definition: ddraw.h:143
#define DDERR_NODIRECTDRAWSUPPORT
Definition: ddraw.h:92
#define DDERR_INCOMPATIBLEPRIMARY
Definition: ddraw.h:74
#define DDERR_EXCEPTION
Definition: ddraw.h:71
#define DDERR_EXCLUSIVEMODEALREADYSET
Definition: ddraw.h:155
#define DDERR_NOCLIPLIST
Definition: ddraw.h:87
#define DDERR_PALETTEBUSY
Definition: ddraw.h:115
#define DDERR_NOCOLORCONVHW
Definition: ddraw.h:88
#define DDERR_WASSTILLDRAWING
Definition: ddraw.h:132
#define DDERR_HWNDSUBCLASSED
Definition: ddraw.h:144
#define DDERR_NOEXCLUSIVEMODE
Definition: ddraw.h:93
#define DDERR_OVERLAYNOTVISIBLE
Definition: ddraw.h:151
#define DDERR_NODDROPSHW
Definition: ddraw.h:150
#define DDERR_OUTOFMEMORY
Definition: ddraw.h:111
#define DDERR_TOOBIGSIZE
Definition: ddraw.h:125
#define DDERR_NOZBUFFERHW
Definition: ddraw.h:108
#define DDERR_CANTCREATEDC
Definition: ddraw.h:159
#define DDERR_HWNDALREADYSET
Definition: ddraw.h:145
#define DDERR_NOPALETTEATTACHED
Definition: ddraw.h:146
#define DDERR_NO3D
Definition: ddraw.h:83
#define DDERR_NOTINITIALIZED
Definition: ddraw.h:185
#define DDERR_XALIGN
Definition: ddraw.h:134
#define DDERR_NOCOLORKEY
Definition: ddraw.h:90
#define DDERR_CURRENTLYNOTAVAIL
Definition: ddraw.h:70
#define DDERR_OUTOFVIDEOMEMORY
Definition: ddraw.h:112
#define DDERR_NOCOOPERATIVELEVELSET
Definition: ddraw.h:89
#define DD_OK
Definition: ddraw.h:186
#define DDERR_SURFACENOTATTACHED
Definition: ddraw.h:123
#define DDERR_DIRECTDRAWALREADYCREATED
Definition: ddraw.h:136
#define DDERR_NOCOLORKEYHW
Definition: ddraw.h:91
#define DDERR_COLORKEYNOTSET
Definition: ddraw.h:116
#define DDERR_UNSUPPORTED
Definition: ddraw.h:127
#define DDERR_REGIONTOOSMALL
Definition: ddraw.h:140
#define DDERR_NOMIPMAPHW
Definition: ddraw.h:165
#define DDERR_TOOBIGWIDTH
Definition: ddraw.h:126
#define DDERR_NOGDI
Definition: ddraw.h:95
#define DDERR_NOPALETTEHW
Definition: ddraw.h:147
#define DDERR_INVALIDDIRECTDRAWGUID
Definition: ddraw.h:135
#define DDERR_CANTDUPLICATE
Definition: ddraw.h:157
#define DDERR_GENERIC
Definition: ddraw.h:72
#define DDERR_INVALIDCLIPLIST
Definition: ddraw.h:76
#define DDERR_NOCLIPPERATTACHED
Definition: ddraw.h:142
#define DDERR_IMPLICITLYCREATED
Definition: ddraw.h:162
#define DDERR_NOTPALETTIZED
Definition: ddraw.h:163
#define DDERR_INVALIDPARAMS
Definition: ddraw.h:79
#define DDERR_CANTLOCKSURFACE
Definition: ddraw.h:120
#define DDERR_DCALREADYCREATED
Definition: ddraw.h:171
#define DDERR_NOALPHAHW
Definition: ddraw.h:84
#define DDERR_CANTPAGELOCK
Definition: ddraw.h:173
#define DDERR_CLIPPERISUSINGHWND
Definition: ddraw.h:141
#define DDERR_NOROTATIONHW
Definition: ddraw.h:101
#define DDERR_NORASTEROPHW
Definition: ddraw.h:100
#define DDERR_LOCKEDSURFACES
Definition: ddraw.h:82
#define DDERR_SURFACEALREADYATTACHED
Definition: ddraw.h:117
#define DDERR_NOEMULATION
Definition: ddraw.h:139
#define DDERR_ALREADYINITIALIZED
Definition: ddraw.h:67
#define DDERR_NOTLOCKED
Definition: ddraw.h:158
#define DDERR_NOTEXTUREHW
Definition: ddraw.h:106
#define DDERR_CANNOTDETACHSURFACE
Definition: ddraw.h:69
#define DDERR_SURFACEBUSY
Definition: ddraw.h:119
#define DDERR_NOBLTHW
Definition: ddraw.h:149
#define DDERR_NODIRECTDRAWHW
Definition: ddraw.h:137
#define DDERR_INVALIDPOSITION
Definition: ddraw.h:153
#define DDERR_TOOBIGHEIGHT
Definition: ddraw.h:124
#define DDERR_PRIMARYSURFACEALREADYEXISTS
Definition: ddraw.h:138
#define DDERR_INVALIDSURFACETYPE
Definition: ddraw.h:166
#define DDERR_BLTFASTCANTCLIP
Definition: ddraw.h:148
#define DDERR_NOMIRRORHW
Definition: ddraw.h:96
HRESULT hr
Definition: shlfolder.c:183
uint32_t * LPDWORD
Definition: typedefs.h:59
uint32_t ULONG
Definition: typedefs.h:59
_In_ DD_SURFACE_LOCAL * pSurface
Definition: winddi.h:3481