ReactOS  0.4.14-dev-606-g14ebc0b
surface_thunk.c
Go to the documentation of this file.
1 
2 
3 #include "../rosdraw.h"
4 
5 
6 
9  LPVOID *ppObj)
10 {
12 
13  return Main_DDrawSurface_QueryInterface((LPDIRECTDRAWSURFACE7) iface, iid, ppObj);
14 }
15 
18 {
20 
22 }
23 
26 {
28 
30 }
31 
34 {
36 
38 }
39 
42 {
44 
46 }
47 
51  DWORD dwFlags, LPDDBLTFX pFX)
52 {
54 
56 }
57 
60 {
62 
63  return Main_DDrawSurface_BltBatch((LPDIRECTDRAWSURFACE7) iface, pBatch, dwCount, dwFlags);
64 }
65 
68  LPDIRECTDRAWSURFACE3 src, LPRECT rsrc, DWORD dwTrans)
69 {
71 
72  return Main_DDrawSurface_BltFast((LPDIRECTDRAWSURFACE7) iface, dstx, dsty,
73  (LPDIRECTDRAWSURFACE7)src, rsrc, dwTrans);
74 }
75 
78 {
80 
82  (LPDIRECTDRAWSURFACE7) pAttached);
83 }
84 
85 
86 
91 {
93 
96 }
97 
102 {
103  DX_WINDBG_trace();
104 
107 }
108 
111  LPDIRECTDRAWSURFACE3 lpDDSurfaceTargetOverride, DWORD dwFlags)
112 {
113  DX_WINDBG_trace();
114 
115  return Main_DDrawSurface_Flip( (LPDIRECTDRAWSURFACE7)iface, (LPDIRECTDRAWSURFACE7) lpDDSurfaceTargetOverride,
116  dwFlags);
117 }
118 
121  LPDDSCAPS pCaps,
122  LPDIRECTDRAWSURFACE3* ppAttached)
123 {
124  DDSCAPS2 caps;
126 
127  DX_WINDBG_trace();
128 
129  ZeroMemory(&caps,sizeof(DDSCAPS2));
130 
131  if (pCaps != NULL)
132  {
133  caps.dwCaps = pCaps->dwCaps;
134 
136  &caps, (LPDIRECTDRAWSURFACE7 *) ppAttached);
137  pCaps->dwCaps = caps.dwCaps;
138  }
139  else
140  {
142  NULL, (LPDIRECTDRAWSURFACE7 *) ppAttached);
143  }
144 
145  return hr;
146 }
147 
150 {
151  DX_WINDBG_trace();
152 
154 }
155 
158 {
159  DDSCAPS2 caps;
161 
162  DX_WINDBG_trace();
163 
164  ZeroMemory(&caps,sizeof(DDSCAPS2));
165 
166  if (pCaps != NULL)
167  {
169  pCaps->dwCaps = caps.dwCaps;
170  }
171  else
172  {
174  }
175 
176  return hr;
177 }
178 
181  LPDIRECTDRAWCLIPPER* ppClipper)
182 {
183  DX_WINDBG_trace();
184 
185  return Main_DDrawSurface_GetClipper((LPDIRECTDRAWSURFACE7) iface, ppClipper);
186 }
187 
190  LPDDCOLORKEY pCKey)
191 {
192  DX_WINDBG_trace();
193 
195 }
196 
199 {
200  DX_WINDBG_trace();
201 
202  return Main_DDrawSurface_GetDC((LPDIRECTDRAWSURFACE7) iface, phDC);
203 }
204 
207 {
208  DX_WINDBG_trace();
209 
211 }
212 
215 {
216  DX_WINDBG_trace();
217 
219 }
220 
223  LPDIRECTDRAWPALETTE* ppPalette)
224 {
225  DX_WINDBG_trace();
226 
227  return Main_DDrawSurface_GetPalette((LPDIRECTDRAWSURFACE7) iface, ppPalette);
228 }
229 
232  LPDDPIXELFORMAT pDDPixelFormat)
233 {
234  DX_WINDBG_trace();
235 
236  return Main_DDrawSurface_GetPixelFormat((LPDIRECTDRAWSURFACE7) iface, pDDPixelFormat);
237 }
238 
241  LPDDSURFACEDESC pDDSD)
242 {
243  HRESULT retValue = DDERR_GENERIC;
244 
245  DX_WINDBG_trace();
246 
247  if (pDDSD != NULL)
248  {
249  DDSURFACEDESC2 pDDSD2;
250  ZeroMemory(&pDDSD2,sizeof(DDSURFACEDESC2));
251  memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC));
252  pDDSD2.dwSize = sizeof(DDSURFACEDESC2);
253  retValue = Main_DDrawSurface_GetSurfaceDesc((LPDIRECTDRAWSURFACE7) iface, &pDDSD2);
254  memcpy(pDDSD, &pDDSD2, sizeof(DDSURFACEDESC));
255  pDDSD->dwSize = sizeof(DDSURFACEDESC);
256  }
257  else
258  {
260  }
261 
262  return retValue;
263 }
264 
267  LPDDSURFACEDESC pDDSD)
268 {
269  HRESULT retValue = DDERR_GENERIC;
270  DDSURFACEDESC2 pDDSD2;
271 
272  DX_WINDBG_trace();
273 
274  ZeroMemory(&pDDSD2,sizeof(DDSURFACEDESC2));
275 
276  if (pDDSD != NULL)
277  {
278  DDSURFACEDESC2 pDDSD2;
279  ZeroMemory(&pDDSD2,sizeof(DDSURFACEDESC2));
280  memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC));
281  pDDSD2.dwSize = sizeof(DDSURFACEDESC2);
282  retValue = Main_DDrawSurface_Initialize((LPDIRECTDRAWSURFACE7) iface, pDD, &pDDSD2);
283  memcpy(pDDSD, &pDDSD2, sizeof(DDSURFACEDESC));
284  pDDSD->dwSize = sizeof(DDSURFACEDESC);
285  }
286  else
287  {
288  retValue = Main_DDrawSurface_Initialize ((LPDIRECTDRAWSURFACE7) iface, pDD, NULL);
289 
290  }
291 
292  return retValue;
293 }
294 
297 {
298  DX_WINDBG_trace();
299 
301 }
302 
306 {
307 
308  HRESULT retValue = DDERR_GENERIC;
309  DDSURFACEDESC2 pDDSD2;
310 
311  DX_WINDBG_trace();
312 
313  ZeroMemory(&pDDSD2,sizeof(DDSURFACEDESC2));
314 
315  if (pDDSD != NULL)
316  {
317  DDSURFACEDESC2 pDDSD2;
318  ZeroMemory(&pDDSD2,sizeof(DDSURFACEDESC2));
319  memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC));
320  pDDSD2.dwSize = sizeof(DDSURFACEDESC2);
321  retValue = Main_DDrawSurface_Lock ( (LPDIRECTDRAWSURFACE7) iface, pRect, &pDDSD2, dwFlags, events);
322  memcpy(pDDSD, &pDDSD2, sizeof(DDSURFACEDESC));
323  pDDSD->dwSize = sizeof(DDSURFACEDESC);
324  }
325  else
326  {
327  retValue = Main_DDrawSurface_Lock ( (LPDIRECTDRAWSURFACE7) iface, pRect, NULL, dwFlags, events);
328  }
329 
330  return retValue;
331 
332 }
333 
336 {
337  DX_WINDBG_trace();
338 
340 }
341 
344 {
345  DX_WINDBG_trace();
346 
348 }
349 
352 {
353  DX_WINDBG_trace();
354 
355  return Main_DDrawSurface_SetClipper ((LPDIRECTDRAWSURFACE7) iface, pDDClipper);
356 }
357 
360  LPDDCOLORKEY pCKey)
361 {
362  DX_WINDBG_trace();
363 
365 }
366 
369 {
370  DX_WINDBG_trace();
371 
373 }
374 
377  LPDIRECTDRAWPALETTE pPalette)
378 {
379  DX_WINDBG_trace();
380 
381  return Main_DDrawSurface_SetPalette ((LPDIRECTDRAWSURFACE7) iface, pPalette);
382 }
383 
384 /*
385 HRESULT WINAPI
386 Thunk_DDrawSurface3_Unlock(LPDIRECTDRAWSURFACE3 iface, LPRECT pRect)
387 {
388  DX_WINDBG_trace();
389 
390  return Main_DDrawSurface_Unlock ((LPDIRECTDRAWSURFACE7) iface, pRect);
391 } */
392 
395 {
396  DX_WINDBG_trace();
397  DX_STUB;
398 }
399 
402  LPRECT pDstRect, DWORD dwFlags, LPDDOVERLAYFX pFX)
403 {
404 
405  DX_WINDBG_trace();
406 
407  return Main_DDrawSurface_UpdateOverlay ( (LPDIRECTDRAWSURFACE7) iface, pSrcRect,
408  (LPDIRECTDRAWSURFACE7) pDstSurface, pDstRect, dwFlags, pFX);
409 }
410 
413 {
414  DX_WINDBG_trace();
415 
417 }
418 
421  DWORD dwFlags,
422  LPDIRECTDRAWSURFACE3 pSurfReference)
423 {
424  DX_WINDBG_trace();
426  (LPDIRECTDRAWSURFACE7) pSurfReference);
427 }
428 
431 {
432  DX_WINDBG_trace();
433 
435 }
436 
439 {
440  DX_WINDBG_trace();
441 
443 }
444 
447 {
448  DX_WINDBG_trace();
449 
451 }
452 
456 {
457  HRESULT retValue = DDERR_GENERIC;
458 
459  DX_WINDBG_trace();
460 
461  if (pDDSD != NULL)
462  {
463  DDSURFACEDESC2 pDDSD2;
464  ZeroMemory(&pDDSD2,sizeof(DDSURFACEDESC2));
465  memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC));
466  pDDSD2.dwSize = sizeof(DDSURFACEDESC2);
467  retValue = Main_DDrawSurface_SetSurfaceDesc((LPDIRECTDRAWSURFACE7) iface, &pDDSD2, dwFlags);
468  memcpy(pDDSD, &pDDSD2, sizeof(DDSURFACEDESC));
469  pDDSD->dwSize = sizeof(DDSURFACEDESC);
470  }
471  else
472  {
474  }
475 
476 
477  return retValue;
478 }
479 
480 IDirectDrawSurface3Vtbl DirectDrawSurface3_VTable =
481 {
522 };
struct IDirectDrawSurface3 * LPDIRECTDRAWSURFACE3
Definition: ddrawex.h:25
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Thunk_DDrawSurface3_IsLost(LPDIRECTDRAWSURFACE3 iface)
HRESULT WINAPI Main_DDrawSurface_Lock(LPDDRAWI_DDRAWSURFACE_INT, LPRECT, LPDDSURFACEDESC2, DWORD, HANDLE)
Definition: surface_main.c:418
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK)(LPDIRECTDRAWSURFACE, LPDDSURFACEDESC, LPVOID)
Definition: ddraw.h:1260
#define REFIID
Definition: guiddef.h:118
HRESULT WINAPI Thunk_DDrawSurface3_UpdateOverlayDisplay(LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags)
HRESULT WINAPI Thunk_DDrawSurface3_PageLock(LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags)
ULONG WINAPI Thunk_DDrawSurface3_Release(LPDIRECTDRAWSURFACE3 iface)
Definition: surface_thunk.c:25
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK7)(LPDIRECTDRAWSURFACE7, LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1262
HRESULT WINAPI Thunk_DDrawSurface3_SetSurfaceDesc(LPDIRECTDRAWSURFACE3 iface, LPDDSURFACEDESC pDDSD, DWORD dwFlags)
HRESULT WINAPI Thunk_DDrawSurface3_GetDC(LPDIRECTDRAWSURFACE3 iface, HDC *phDC)
HRESULT WINAPI Thunk_DDrawSurface3_SetColorKey(LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags, LPDDCOLORKEY pCKey)
HRESULT hr
Definition: shlfolder.c:183
#define Y(I)
Definition: http.c:7098
HRESULT WINAPI Thunk_DDrawSurface3_DeleteAttachedSurface(LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags, LPDIRECTDRAWSURFACE3 pAttached)
Definition: surface_thunk.c:77
HRESULT WINAPI Thunk_DDrawSurface3_UpdateOverlay(LPDIRECTDRAWSURFACE3 iface, LPRECT pSrcRect, LPDIRECTDRAWSURFACE3 pDstSurface, LPRECT pDstRect, DWORD dwFlags, LPDDOVERLAYFX pFX)
HRESULT WINAPI Main_DDrawSurface_BltFast(LPDDRAWI_DDRAWSURFACE_INT, DWORD, DWORD, LPDDRAWI_DDRAWSURFACE_INT, LPRECT, DWORD)
Definition: surface_stubs.c:26
HRESULT WINAPI Main_DDrawSurface_PageUnlock(LPDDRAWI_DDRAWSURFACE_INT, DWORD)
HRESULT WINAPI Main_DDrawSurface_GetClipper(LPDDRAWI_DDRAWSURFACE_INT, LPDIRECTDRAWCLIPPER *)
Definition: surface_main.c:637
DWORD dwCaps
Definition: ddraw.h:727
HRESULT WINAPI Main_DDrawSurface_AddOverlayDirtyRect(LPDDRAWI_DDRAWSURFACE_INT iface, LPRECT pRect)
Definition: surface_stubs.c:17
HRESULT WINAPI Thunk_DDrawSurface3_SetOverlayPosition(LPDIRECTDRAWSURFACE3 iface, LONG X, LONG Y)
HRESULT WINAPI Main_DDrawSurface_SetClipper(LPDDRAWI_DDRAWSURFACE_INT, LPDIRECTDRAWCLIPPER)
Definition: surface_main.c:664
HRESULT WINAPI Thunk_DDrawSurface3_Lock(LPDIRECTDRAWSURFACE3 iface, LPRECT pRect, LPDDSURFACEDESC pDDSD, DWORD dwFlags, HANDLE events)
static HDC
Definition: imagelist.c:92
HRESULT WINAPI Main_DDrawSurface_GetOverlayPosition(LPDDRAWI_DDRAWSURFACE_INT, LPLONG, LPLONG)
HRESULT WINAPI Thunk_DDrawSurface3_EnumAttachedSurfaces(LPDIRECTDRAWSURFACE3 iface, LPVOID context, LPDDENUMSURFACESCALLBACK cb)
Definition: surface_thunk.c:88
HRESULT WINAPI Main_DDrawSurface_GetColorKey(LPDDRAWI_DDRAWSURFACE_INT, DWORD, LPDDCOLORKEY)
HRESULT WINAPI Thunk_DDrawSurface3_GetDDInterface(LPDIRECTDRAWSURFACE3 iface, LPVOID *ppDD)
#define ZeroMemory
Definition: winbase.h:1642
HRESULT WINAPI Thunk_DDrawSurface3_Flip(LPDIRECTDRAWSURFACE3 iface, LPDIRECTDRAWSURFACE3 lpDDSurfaceTargetOverride, DWORD dwFlags)
HRESULT WINAPI Thunk_DDrawSurface3_AddAttachedSurface(LPDIRECTDRAWSURFACE3 iface, LPDIRECTDRAWSURFACE3 pAttach)
Definition: surface_thunk.c:33
HRESULT WINAPI Main_DDrawSurface_SetOverlayPosition(LPDDRAWI_DDRAWSURFACE_INT, LONG, LONG)
Definition: surface_main.c:901
HRESULT WINAPI Thunk_DDrawSurface3_GetAttachedSurface(LPDIRECTDRAWSURFACE3 iface, LPDDSCAPS pCaps, LPDIRECTDRAWSURFACE3 *ppAttached)
HRESULT WINAPI Thunk_DDrawSurface3_EnumOverlayZOrders(LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags, LPVOID context, LPDDENUMSURFACESCALLBACK cb)
Definition: surface_thunk.c:99
HRESULT WINAPI Main_DDrawSurface_Restore(LPDDRAWI_DDRAWSURFACE_INT)
Definition: surface_stubs.c:36
HRESULT WINAPI Main_DDrawSurface_Flip(LPDDRAWI_DDRAWSURFACE_INT, LPDDRAWI_DDRAWSURFACE_INT, DWORD)
Definition: surface_stubs.c:93
HRESULT WINAPI Thunk_DDrawSurface3_SetClipper(LPDIRECTDRAWSURFACE3 iface, LPDIRECTDRAWCLIPPER pDDClipper)
HRESULT WINAPI Thunk_DDrawSurface3_GetOverlayPosition(LPDIRECTDRAWSURFACE3 iface, LPLONG pX, LPLONG pY)
HRESULT WINAPI Main_DDrawSurface_SetSurfaceDesc(LPDDRAWI_DDRAWSURFACE_INT, DDSURFACEDESC2 *, DWORD)
HRESULT WINAPI Main_DDrawSurface_Initialize(LPDDRAWI_DDRAWSURFACE_INT, LPDIRECTDRAW, LPDDSURFACEDESC2)
Definition: surface_main.c:35
void DDSURFACEDESC
Definition: amvideo.idl:24
HRESULT WINAPI Main_DDrawSurface_GetSurfaceDesc(LPDDRAWI_DDRAWSURFACE_INT, LPDDSURFACEDESC2)
Definition: surface_main.c:741
HRESULT WINAPI Thunk_DDrawSurface3_QueryInterface(LPDIRECTDRAWSURFACE3 iface, REFIID iid, LPVOID *ppObj)
Definition: surface_thunk.c:8
HRESULT WINAPI Thunk_DDrawSurface3_AddOverlayDirtyRect(LPDIRECTDRAWSURFACE3 iface, LPRECT pRect)
Definition: surface_thunk.c:41
long LONG
Definition: pedump.c:60
HRESULT WINAPI Thunk_DDrawSurface3_GetFlipStatus(LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags)
struct IDirectDraw * LPDIRECTDRAW
Definition: ddraw.h:710
ULONG WINAPI Main_DDrawSurface_Release(LPDDRAWI_DDRAWSURFACE_INT)
Definition: surface_main.c:264
DWORD dwCaps
Definition: ddraw.h:732
HRESULT WINAPI Main_DDrawSurface_GetCaps(LPDDRAWI_DDRAWSURFACE_INT, LPDDSCAPS2 pCaps)
Definition: surface_main.c:614
smooth NULL
Definition: ftsmooth.c:416
HRESULT WINAPI Thunk_DDrawSurface3_Initialize(LPDIRECTDRAWSURFACE3 iface, LPDIRECTDRAW pDD, LPDDSURFACEDESC pDDSD)
HRESULT WINAPI Main_DDrawSurface_UpdateOverlay(LPDDRAWI_DDRAWSURFACE_INT, LPRECT, LPDDRAWI_DDRAWSURFACE_INT, LPRECT, DWORD, LPDDOVERLAYFX)
HRESULT WINAPI Thunk_DDrawSurface3_ReleaseDC(LPDIRECTDRAWSURFACE3 iface, HDC hDC)
HRESULT WINAPI Thunk_DDrawSurface3_UpdateOverlayZOrder(LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags, LPDIRECTDRAWSURFACE3 pSurfReference)
HRESULT WINAPI Main_DDrawSurface_GetFlipStatus(LPDDRAWI_DDRAWSURFACE_INT, DWORD)
#define DDERR_GENERIC
Definition: ddraw.h:72
HRESULT WINAPI Main_DDrawSurface_IsLost(LPDDRAWI_DDRAWSURFACE_INT)
HRESULT WINAPI Thunk_DDrawSurface3_GetSurfaceDesc(LPDIRECTDRAWSURFACE3 iface, LPDDSURFACEDESC pDDSD)
HRESULT WINAPI Thunk_DDrawSurface3_Unlock(LPVOID iface, LPVOID pRect)
HRESULT WINAPI Thunk_DDrawSurface3_BltBatch(LPDIRECTDRAWSURFACE3 iface, LPDDBLTBATCH pBatch, DWORD dwCount, DWORD dwFlags)
Definition: surface_thunk.c:59
LONG HRESULT
Definition: typedefs.h:77
#define WINAPI
Definition: msvc.h:6
HRESULT WINAPI Main_DDrawSurface_GetAttachedSurface(LPDDRAWI_DDRAWSURFACE_INT, LPDDSCAPS2, LPDDRAWI_DDRAWSURFACE_INT *)
Definition: surface_main.c:584
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT WINAPI Main_DDrawSurface_EnumAttachedSurfaces(LPDDRAWI_DDRAWSURFACE_INT, LPVOID, LPDDENUMSURFACESCALLBACK7)
Definition: surface_stubs.c:73
HRESULT WINAPI Thunk_DDrawSurface3_GetPalette(LPDIRECTDRAWSURFACE3 iface, LPDIRECTDRAWPALETTE *ppPalette)
HRESULT WINAPI Thunk_DDrawSurface3_GetClipper(LPDIRECTDRAWSURFACE3 iface, LPDIRECTDRAWCLIPPER *ppClipper)
HRESULT WINAPI Main_DDrawSurface_SetColorKey(LPDDRAWI_DDRAWSURFACE_INT, DWORD, LPDDCOLORKEY)
Definition: surface_main.c:867
DWORD dwSize
Definition: ddraw.h:1152
HRESULT WINAPI Thunk_DDrawSurface3_GetCaps(LPDIRECTDRAWSURFACE3 iface, LPDDSCAPS pCaps)
HRESULT WINAPI Main_DDrawSurface_BltBatch(LPDDRAWI_DDRAWSURFACE_INT, LPDDBLTBATCH, DWORD, DWORD)
Definition: surface_stubs.c:45
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
IDirectDrawSurface3Vtbl DirectDrawSurface3_VTable
HRESULT WINAPI Thunk_DDrawSurface3_GetPixelFormat(LPDIRECTDRAWSURFACE3 iface, LPDDPIXELFORMAT pDDPixelFormat)
ULONG WINAPI Main_DDrawSurface_AddRef(LPDDRAWI_DDRAWSURFACE_INT)
Definition: surface_main.c:40
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
HRESULT WINAPI Main_DDrawSurface_GetBltStatus(LPDDRAWI_DDRAWSURFACE_INT, DWORD dwFlags)
Definition: surface_main.c:600
GLenum src
Definition: glext.h:6340
HRESULT WINAPI Thunk_DDrawSurface3_GetBltStatus(LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags)
HRESULT WINAPI Main_DDrawSurface_EnumOverlayZOrders(LPDDRAWI_DDRAWSURFACE_INT, DWORD, LPVOID, LPDDENUMSURFACESCALLBACK7)
Definition: surface_stubs.c:83
HRESULT WINAPI Thunk_DDrawSurface3_SetPalette(LPDIRECTDRAWSURFACE3 iface, LPDIRECTDRAWPALETTE pPalette)
#define DX_STUB
Definition: rosdraw.h:224
static HDC hDC
Definition: 3dtext.c:33
struct IDirectDrawClipper * LPDIRECTDRAWCLIPPER
Definition: ddraw.h:721
int32_t * LPLONG
Definition: typedefs.h:56
HRESULT WINAPI Main_DDrawSurface_ReleaseDC(LPDDRAWI_DDRAWSURFACE_INT, HDC)
Definition: surface_main.c:841
HRESULT WINAPI Main_DDrawSurface_Blt(LPDDRAWI_DDRAWSURFACE_INT, LPRECT, LPDDRAWI_DDRAWSURFACE_INT, LPRECT, DWORD, LPDDBLTFX)
Definition: surface_main.c:289
HRESULT WINAPI Main_DDrawSurface_GetDC(LPDDRAWI_DDRAWSURFACE_INT, HDC *)
Definition: surface_main.c:694
HRESULT WINAPI Thunk_DDrawSurface3_GetColorKey(LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags, LPDDCOLORKEY pCKey)
HRESULT WINAPI Main_DDrawSurface_GetPalette(LPDDRAWI_DDRAWSURFACE_INT, LPDIRECTDRAWPALETTE *)
HRESULT WINAPI Thunk_DDrawSurface3_PageUnlock(LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags)
HRESULT WINAPI Thunk_DDrawSurface3_Restore(LPDIRECTDRAWSURFACE3 iface)
HANDLE events[2]
Definition: event.c:4
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32
struct _DDSURFACEDESC2 DDSURFACEDESC2
HRESULT WINAPI Thunk_DDrawSurface3_BltFast(LPDIRECTDRAWSURFACE3 iface, DWORD dstx, DWORD dsty, LPDIRECTDRAWSURFACE3 src, LPRECT rsrc, DWORD dwTrans)
Definition: surface_thunk.c:67
HRESULT WINAPI Main_DDrawSurface_GetDDInterface(LPDDRAWI_DDRAWSURFACE_INT, LPVOID *)
HRESULT WINAPI Main_DDrawSurface_PageLock(LPDDRAWI_DDRAWSURFACE_INT, DWORD)
unsigned int ULONG
Definition: retypes.h:1
HRESULT WINAPI Main_DDrawSurface_GetPixelFormat(LPDDRAWI_DDRAWSURFACE_INT, LPDDPIXELFORMAT)
Definition: surface_main.c:716
HRESULT WINAPI Main_DDrawSurface_SetPalette(LPDDRAWI_DDRAWSURFACE_INT, LPDIRECTDRAWPALETTE)
HRESULT WINAPI Main_DDrawSurface_DeleteAttachedSurface(LPDDRAWI_DDRAWSURFACE_INT, DWORD, LPDDRAWI_DDRAWSURFACE_INT)
Definition: surface_stubs.c:63
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayZOrder(LPDDRAWI_DDRAWSURFACE_INT, DWORD, LPDDRAWI_DDRAWSURFACE_INT)
ULONG WINAPI Thunk_DDrawSurface3_AddRef(LPDIRECTDRAWSURFACE3 iface)
Definition: surface_thunk.c:17
HRESULT WINAPI Thunk_DDrawSurface3_Blt(LPDIRECTDRAWSURFACE3 iface, LPRECT rdst, LPDIRECTDRAWSURFACE3 src, LPRECT rsrc, DWORD dwFlags, LPDDBLTFX pFX)
Definition: surface_thunk.c:49
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayDisplay(LPDDRAWI_DDRAWSURFACE_INT, DWORD)
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7
HRESULT WINAPI Main_DDrawSurface_QueryInterface(LPDDRAWI_DDRAWSURFACE_INT, REFIID, LPVOID *)
Definition: surface_main.c:60
struct IDirectDrawPalette * LPDIRECTDRAWPALETTE
Definition: ddraw.h:720
HRESULT WINAPI Main_DDrawSurface_AddAttachedSurface(LPDDRAWI_DDRAWSURFACE_INT iface, LPDDRAWI_DDRAWSURFACE_INT pAttach)
Definition: surface_main.c:571