ReactOS  0.4.14-dev-614-gbfd8a84
main.h
Go to the documentation of this file.
1 #include <windows.h>
2 #include <ddrawi.h>
3 #include <d3dhal.h>
4 
5 
6 int StartupHAL (VOID);
7 extern HDC hdc;
10  extern DDHALINFO mHALInfo;
11 
16 
17  extern UINT mcModeInfos;
18  extern DDHALMODEINFO *mpModeInfos;
19 
20  extern UINT mcvmList;
21  extern VIDMEM *mpvmList;
22 
23  extern UINT mcFourCC;
24  extern DWORD *mpFourCC;
25 
26  extern UINT mcTextures;
27  extern DDSURFACEDESC *mpTextures;
28 
29 
30 
32  LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,
33  HDC hdc
34 );
35 
37  LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal,
48 );
49 
50 BOOL
53  LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
54 );
55 
56 BOOL
59  LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
60  BOOL bPrimarySurface
61 );
62 
63 BOOL
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,
77  HWND hWnd
78 );
79 
80 HDC
82 DdGetDC(
83  LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal,
84  LPPALETTEENTRY pColorTable
85 );
86 
87 BOOL
90  LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal
91 );
92 
93 HBITMAP
96  HDC hdc,
98  UINT iUsage,
99  VOID **ppvBits,
100  HANDLE hSectionApp,
102 );
103 
104 BOOL
105 APIENTRY
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 
123 VOID
124 APIENTRY
127  LPDDRAWI_DDRAWSURFACE_LCL pSurfaceAttached
128 );
129 
130 ULONG
131 APIENTRY
133 
134 HANDLE
135 APIENTRY
139  BOOL bRelease
140 );
141 
142 BOOL
143 APIENTRY
146  HDC hdc,
147  LPVOID lpGammaRamp
148 );
149 
150 DWORD
151 APIENTRY
154  LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl1,
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 
#define DDERR_NOZBUFFERHW
Definition: ddraw.h:108
#define DDERR_TOOBIGWIDTH
Definition: ddraw.h:126
#define DDERR_NODIRECTDRAWHW
Definition: ddraw.h:137
DWORD * mpFourCC
Definition: main.c:26
#define DDERR_SURFACELOST
Definition: ddraw.h:122
#define DDERR_VERTICALBLANKINPROGRESS
Definition: ddraw.h:131
#define DDERR_SURFACEISOBSCURED
Definition: ddraw.h:121
HRESULT hr
Definition: shlfolder.c:183
#define DDERR_DIRECTDRAWALREADYCREATED
Definition: ddraw.h:136
#define DDERR_UNSUPPORTED
Definition: ddraw.h:127
ULONG APIENTRY DdQueryDisplaySettingsUniqueness(VOID)
Definition: gdientry.c:2031
#define DDERR_NOT4BITCOLOR
Definition: ddraw.h:103
BOOL APIENTRY DdReleaseDC(LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal)
Definition: gdientry.c:1937
LPDDHALINFO LPDDHAL_DDCALLBACKS pDDCallbacks
Definition: main.h:38
_In_ HBITMAP _In_ UINT _In_ UINT _Inout_ LPBITMAPINFO pbmi
Definition: ntgdi.h:2780
#define DDERR_WRONGMODE
Definition: ddraw.h:161
#define DDERR_PALETTEBUSY
Definition: ddraw.h:115
#define DdResetVisrgn
Definition: ddrawgdi.h:29
DDHAL_DDEXEBUFCALLBACKS mD3dBufferCallbacks
Definition: main.c:15
#define DDERR_SURFACEALREADYATTACHED
Definition: ddraw.h:117
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS LPD3DHAL_CALLBACKS LPD3DHAL_GLOBALDRIVERDATA pD3dDriverData
Definition: main.h:38
#define DDERR_HWNDALREADYSET
Definition: ddraw.h:145
static HDC
Definition: imagelist.c:92
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS LPD3DHAL_CALLBACKS LPD3DHAL_GLOBALDRIVERDATA LPDDHAL_DDEXEBUFCALLBACKS LPDDSURFACEDESC LPDWORD LPVIDMEM pvmList
Definition: main.h:38
#define DDERR_OUTOFVIDEOMEMORY
Definition: ddraw.h:112
#define DDERR_NOTINITIALIZED
Definition: ddraw.h:185
#define DDERR_NOCLIPPERATTACHED
Definition: ddraw.h:142
DDRAWI_DIRECTDRAW_LCL mDDrawLocal
Definition: main.c:11
#define DDERR_INCOMPATIBLEPRIMARY
Definition: ddraw.h:74
#define DDERR_COLORKEYNOTSET
Definition: ddraw.h:116
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS LPD3DHAL_CALLBACKS LPD3DHAL_GLOBALDRIVERDATA LPDDHAL_DDEXEBUFCALLBACKS LPDDSURFACEDESC LPDWORD pdwFourCC
Definition: main.h:38
HDC APIENTRY DdGetDC(LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal, LPPALETTEENTRY pColorTable)
Definition: gdientry.c:1923
#define DDERR_OUTOFMEMORY
Definition: ddraw.h:111
#define DDERR_NOALPHAHW
Definition: ddraw.h:84
#define DDERR_XALIGN
Definition: ddraw.h:134
UINT mcvmList
Definition: main.c:22
#define DDERR_NOT8BITCOLOR
Definition: ddraw.h:105
#define DDERR_INVALIDPIXELFORMAT
Definition: ddraw.h:80
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS pDDPaletteCallbacks
Definition: main.h:38
#define DDERR_NOTPAGELOCKED
Definition: ddraw.h:175
#define DDERR_NOTPALETTIZED
Definition: ddraw.h:163
#define DDERR_NOCOOPERATIVELEVELSET
Definition: ddraw.h:89
#define DDERR_NO3D
Definition: ddraw.h:83
#define DDERR_PRIMARYSURFACEALREADYEXISTS
Definition: ddraw.h:138
#define DDERR_NOHWND
Definition: ddraw.h:143
DWORD APIENTRY DdSwapTextureHandles(LPDDRAWI_DIRECTDRAW_LCL pDDraw, LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl1, LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl2)
Definition: historic.c:222
_In_ DWORD _In_ DWORD dwOffset
Definition: ntgdi.h:2032
BOOL APIENTRY DdSetGammaRamp(LPDDRAWI_DIRECTDRAW_LCL pDDraw, HDC hdc, LPVOID lpGammaRamp)
Definition: gdientry.c:2072
#define DDERR_NOMIPMAPHW
Definition: ddraw.h:165
D3DHAL_GLOBALDRIVERDATA mD3dDriverData
Definition: main.c:17
#define DDERR_DCALREADYCREATED
Definition: ddraw.h:171
#define DDERR_CANNOTATTACHSURFACE
Definition: ddraw.h:68
#define DDERR_NOBLTHW
Definition: ddraw.h:149
#define DD_OK
Definition: ddraw.h:186
char * DDErrorString(HRESULT hr)
Definition: main.h:158
#define DDERR_NOVSYNCHW
Definition: ddraw.h:107
UINT mcFourCC
Definition: main.c:25
#define DDERR_INVALIDOBJECT
Definition: ddraw.h:78
unsigned int BOOL
Definition: ntddk_ex.h:94
#define DDERR_NODC
Definition: ddraw.h:160
#define DDERR_HWNDSUBCLASSED
Definition: ddraw.h:144
#define DDERR_NODIRECTDRAWSUPPORT
Definition: ddraw.h:92
int StartupHAL(VOID)
#define DDERR_NOCOLORKEY
Definition: ddraw.h:90
#define DDERR_NOGDI
Definition: ddraw.h:95
#define DDERR_NOSTRETCHHW
Definition: ddraw.h:102
#define DDERR_INVALIDCLIPLIST
Definition: ddraw.h:76
VIDMEM * mpvmList
Definition: main.c:23
#define DDERR_NODDROPSHW
Definition: ddraw.h:150
#define DDERR_CANTPAGELOCK
Definition: ddraw.h:173
#define DDERR_OUTOFCAPS
Definition: ddraw.h:110
BOOL(APIENTRY *DdCreateDirectDrawObject)(LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal
D3DHAL_CALLBACKS mD3dCallbacks
Definition: main.c:16
#define DDERR_OVERLAYCANTCLIP
Definition: ddraw.h:113
#define DDERR_ALREADYINITIALIZED
Definition: ddraw.h:67
#define DDERR_GENERIC
Definition: ddraw.h:72
#define DDERR_CANTLOCKSURFACE
Definition: ddraw.h:120
#define DDERR_SURFACEALREADYDEPENDENT
Definition: ddraw.h:118
#define DDERR_UNSUPPORTEDFORMAT
Definition: ddraw.h:128
#define DDERR_NOTLOCKED
Definition: ddraw.h:158
struct _DDRAWI_DDRAWSURFACE_LCL FAR * LPDDRAWI_DDRAWSURFACE_LCL
Definition: d3dhal.h:45
BOOL APIENTRY DdDeleteDirectDrawObject(LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal)
Definition: gdientry.c:1831
HANDLE APIENTRY DdGetDxHandle(LPDDRAWI_DIRECTDRAW_LCL pDDraw, LPDDRAWI_DDRAWSURFACE_LCL pSurface, BOOL bRelease)
Definition: gdientry.c:2043
#define DDERR_NOTFOUND
Definition: ddraw.h:97
#define DDERR_NOPALETTEHW
Definition: ddraw.h:147
_In_ DD_SURFACE_LOCAL * pSurface
Definition: winddi.h:3481
#define DdQueryDirectDrawObject
Definition: ddrawgdi.h:25
#define DDERR_NOMIRRORHW
Definition: ddraw.h:96
BOOL APIENTRY DdDeleteSurfaceObject(LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal)
Definition: gdientry.c:1887
#define DDERR_CANNOTDETACHSURFACE
Definition: ddraw.h:69
HWND hWnd
Definition: main.h:78
LONG HRESULT
Definition: typedefs.h:77
UINT mcTextures
Definition: main.c:28
#define DDERR_INVALIDSURFACETYPE
Definition: ddraw.h:166
#define DDERR_TOOBIGSIZE
Definition: ddraw.h:125
unsigned long DWORD
Definition: ntddk_ex.h:95
#define DDERR_NOEMULATION
Definition: ddraw.h:139
#define DDERR_OVERLAYNOTVISIBLE
Definition: ddraw.h:151
#define DDERR_UNSUPPORTEDMODE
Definition: ddraw.h:164
struct _DDRAWI_DIRECTDRAW_LCL FAR * LPDDRAWI_DIRECTDRAW_LCL
Definition: d3dhal.h:40
#define DDERR_CURRENTLYNOTAVAIL
Definition: ddraw.h:70
#define DDERR_NOFLIPHW
Definition: ddraw.h:94
#define DDERR_NOTEXTUREHW
Definition: ddraw.h:106
BOOL APIENTRY DdCreateSurfaceObject(LPDDRAWI_DDRAWSURFACE_LCL pSurfaceLocal, BOOL bPrimarySurface)
Definition: gdientry.c:1873
LPDDHALINFO pHalInfo
Definition: main.h:38
#define DDERR_SURFACEBUSY
Definition: ddraw.h:119
#define DDERR_REGIONTOOSMALL
Definition: ddraw.h:140
DDHALMODEINFO * mpModeInfos
Definition: main.c:20
#define DDERR_IMPLICITLYCREATED
Definition: ddraw.h:162
#define DDERR_NORASTEROPHW
Definition: ddraw.h:100
#define DDERR_NOEXCLUSIVEMODE
Definition: ddraw.h:93
#define DDERR_NOCOLORKEYHW
Definition: ddraw.h:91
#define DDERR_NOZOVERLAYHW
Definition: ddraw.h:109
#define DDERR_EXCEPTION
Definition: ddraw.h:71
DDRAWI_DIRECTDRAW_GBL mDDrawGlobal
Definition: main.c:10
HBITMAP APIENTRY DdCreateDIBSection(HDC hdc, CONST BITMAPINFO *pbmi, UINT iUsage, VOID **ppvBits, HANDLE hSectionApp, DWORD dwOffset)
Definition: gdientry.c:1949
#define DDERR_INVALIDRECT
Definition: ddraw.h:81
#define DDERR_NOOVERLAYDEST
Definition: ddraw.h:152
#define DDERR_NOPALETTEATTACHED
Definition: ddraw.h:146
#define DdAttachSurface
Definition: ddrawgdi.h:34
#define DdCreateDirectDrawObject
Definition: ddrawgdi.h:24
#define DDERR_WASSTILLDRAWING
Definition: ddraw.h:132
#define DDERR_NOT4BITCOLORINDEX
Definition: ddraw.h:104
#define DDERR_HEIGHTALIGN
Definition: ddraw.h:73
#define DDERR_BLTFASTCANTCLIP
Definition: ddraw.h:148
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS LPD3DHAL_CALLBACKS LPD3DHAL_GLOBALDRIVERDATA LPDDHAL_DDEXEBUFCALLBACKS LPDDSURFACEDESC pD3dTextureFormats
Definition: main.h:38
struct _DDRAWI_DIRECTDRAW_GBL FAR * LPDDRAWI_DIRECTDRAW_GBL
Definition: d3dhal.h:39
#define DDERR_CLIPPERISUSINGHWND
Definition: ddraw.h:141
#define DDERR_SURFACENOTATTACHED
Definition: ddraw.h:123
#define DDERR_INVALIDPOSITION
Definition: ddraw.h:153
#define DDERR_UNSUPPORTEDMASK
Definition: ddraw.h:129
#define DDERR_INVALIDMODE
Definition: ddraw.h:77
#define DDERR_INVALIDDIRECTDRAWGUID
Definition: ddraw.h:135
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
#define DDERR_CANTDUPLICATE
Definition: ddraw.h:157
#define DDERR_NOCLIPLIST
Definition: ddraw.h:87
#define DDERR_OVERLAYCOLORKEYONLYONEACTIVE
Definition: ddraw.h:114
#define DDERR_CANTCREATEDC
Definition: ddraw.h:159
DDSURFACEDESC * mpTextures
Definition: main.c:29
VOID APIENTRY DdUnattachSurface(LPDDRAWI_DDRAWSURFACE_LCL pSurface, LPDDRAWI_DDRAWSURFACE_LCL pSurfaceAttached)
Definition: gdientry.c:2016
#define DDERR_CANTPAGEUNLOCK
Definition: ddraw.h:174
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS LPD3DHAL_CALLBACKS LPD3DHAL_GLOBALDRIVERDATA LPDDHAL_DDEXEBUFCALLBACKS pD3dBufferCallbacks
Definition: main.h:38
BOOL APIENTRY DdReenableDirectDrawObject(LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal, BOOL *pbNewMode)
Definition: gdientry.c:1967
UINT mcModeInfos
Definition: main.c:19
uint32_t * LPDWORD
Definition: typedefs.h:57
#define DDERR_NOTAOVERLAYSURFACE
Definition: ddraw.h:154
HDC hdc
Definition: main.h:34
unsigned int ULONG
Definition: retypes.h:1
#define DDERR_INVALIDCAPS
Definition: ddraw.h:75
DDHALINFO mHALInfo
Definition: main.c:12
#define DDERR_NOTFLIPPABLE
Definition: ddraw.h:156
static HBITMAP
Definition: button.c:44
#define DDERR_NOCOLORCONVHW
Definition: ddraw.h:88
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS LPDDHAL_DDPALETTECALLBACKS LPD3DHAL_CALLBACKS pD3dCallbacks
Definition: main.h:38
#define DDERR_NOROTATIONHW
Definition: ddraw.h:101
#define DDERR_LOCKEDSURFACES
Definition: ddraw.h:82
LPDDHALINFO LPDDHAL_DDCALLBACKS LPDDHAL_DDSURFACECALLBACKS pDDSurfaceCallbacks
Definition: main.h:38
#define DDERR_EXCLUSIVEMODEALREADYSET
Definition: ddraw.h:155
#define CONST
Definition: pedump.c:81
#define DDERR_INVALIDPARAMS
Definition: ddraw.h:79
#define DDERR_NOOVERLAYHW
Definition: ddraw.h:98
#define APIENTRY
Definition: api.h:79
#define DDERR_TOOBIGHEIGHT
Definition: ddraw.h:124
DDHAL_CALLBACKS mCallbacks
Definition: main.c:14