ReactOS  0.4.14-dev-1338-g0d187f7
surface_thunk.c File Reference
#include "../rosdraw.h"
Include dependency graph for surface_thunk.c:

Go to the source code of this file.

Functions

HRESULT WINAPI Thunk_DDrawSurface3_QueryInterface (LPDIRECTDRAWSURFACE3 iface, REFIID iid, LPVOID *ppObj)
 
ULONG WINAPI Thunk_DDrawSurface3_AddRef (LPDIRECTDRAWSURFACE3 iface)
 
ULONG WINAPI Thunk_DDrawSurface3_Release (LPDIRECTDRAWSURFACE3 iface)
 
HRESULT WINAPI Thunk_DDrawSurface3_AddAttachedSurface (LPDIRECTDRAWSURFACE3 iface, LPDIRECTDRAWSURFACE3 pAttach)
 
HRESULT WINAPI Thunk_DDrawSurface3_AddOverlayDirtyRect (LPDIRECTDRAWSURFACE3 iface, LPRECT pRect)
 
HRESULT WINAPI Thunk_DDrawSurface3_Blt (LPDIRECTDRAWSURFACE3 iface, LPRECT rdst, LPDIRECTDRAWSURFACE3 src, LPRECT rsrc, DWORD dwFlags, LPDDBLTFX pFX)
 
HRESULT WINAPI Thunk_DDrawSurface3_BltBatch (LPDIRECTDRAWSURFACE3 iface, LPDDBLTBATCH pBatch, DWORD dwCount, DWORD dwFlags)
 
HRESULT WINAPI Thunk_DDrawSurface3_BltFast (LPDIRECTDRAWSURFACE3 iface, DWORD dstx, DWORD dsty, LPDIRECTDRAWSURFACE3 src, LPRECT rsrc, DWORD dwTrans)
 
HRESULT WINAPI Thunk_DDrawSurface3_DeleteAttachedSurface (LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags, LPDIRECTDRAWSURFACE3 pAttached)
 
HRESULT WINAPI Thunk_DDrawSurface3_EnumAttachedSurfaces (LPDIRECTDRAWSURFACE3 iface, LPVOID context, LPDDENUMSURFACESCALLBACK cb)
 
HRESULT WINAPI Thunk_DDrawSurface3_EnumOverlayZOrders (LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags, LPVOID context, LPDDENUMSURFACESCALLBACK cb)
 
HRESULT WINAPI Thunk_DDrawSurface3_Flip (LPDIRECTDRAWSURFACE3 iface, LPDIRECTDRAWSURFACE3 lpDDSurfaceTargetOverride, DWORD dwFlags)
 
HRESULT WINAPI Thunk_DDrawSurface3_GetAttachedSurface (LPDIRECTDRAWSURFACE3 iface, LPDDSCAPS pCaps, LPDIRECTDRAWSURFACE3 *ppAttached)
 
HRESULT WINAPI Thunk_DDrawSurface3_GetBltStatus (LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags)
 
HRESULT WINAPI Thunk_DDrawSurface3_GetCaps (LPDIRECTDRAWSURFACE3 iface, LPDDSCAPS pCaps)
 
HRESULT WINAPI Thunk_DDrawSurface3_GetClipper (LPDIRECTDRAWSURFACE3 iface, LPDIRECTDRAWCLIPPER *ppClipper)
 
HRESULT WINAPI Thunk_DDrawSurface3_GetColorKey (LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags, LPDDCOLORKEY pCKey)
 
HRESULT WINAPI Thunk_DDrawSurface3_GetDC (LPDIRECTDRAWSURFACE3 iface, HDC *phDC)
 
HRESULT WINAPI Thunk_DDrawSurface3_GetFlipStatus (LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags)
 
HRESULT WINAPI Thunk_DDrawSurface3_GetOverlayPosition (LPDIRECTDRAWSURFACE3 iface, LPLONG pX, LPLONG pY)
 
HRESULT WINAPI Thunk_DDrawSurface3_GetPalette (LPDIRECTDRAWSURFACE3 iface, LPDIRECTDRAWPALETTE *ppPalette)
 
HRESULT WINAPI Thunk_DDrawSurface3_GetPixelFormat (LPDIRECTDRAWSURFACE3 iface, LPDDPIXELFORMAT pDDPixelFormat)
 
HRESULT WINAPI Thunk_DDrawSurface3_GetSurfaceDesc (LPDIRECTDRAWSURFACE3 iface, LPDDSURFACEDESC pDDSD)
 
HRESULT WINAPI Thunk_DDrawSurface3_Initialize (LPDIRECTDRAWSURFACE3 iface, LPDIRECTDRAW pDD, LPDDSURFACEDESC pDDSD)
 
HRESULT WINAPI Thunk_DDrawSurface3_IsLost (LPDIRECTDRAWSURFACE3 iface)
 
HRESULT WINAPI Thunk_DDrawSurface3_Lock (LPDIRECTDRAWSURFACE3 iface, LPRECT pRect, LPDDSURFACEDESC pDDSD, DWORD dwFlags, HANDLE events)
 
HRESULT WINAPI Thunk_DDrawSurface3_ReleaseDC (LPDIRECTDRAWSURFACE3 iface, HDC hDC)
 
HRESULT WINAPI Thunk_DDrawSurface3_Restore (LPDIRECTDRAWSURFACE3 iface)
 
HRESULT WINAPI Thunk_DDrawSurface3_SetClipper (LPDIRECTDRAWSURFACE3 iface, LPDIRECTDRAWCLIPPER pDDClipper)
 
HRESULT WINAPI Thunk_DDrawSurface3_SetColorKey (LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags, LPDDCOLORKEY pCKey)
 
HRESULT WINAPI Thunk_DDrawSurface3_SetOverlayPosition (LPDIRECTDRAWSURFACE3 iface, LONG X, LONG Y)
 
HRESULT WINAPI Thunk_DDrawSurface3_SetPalette (LPDIRECTDRAWSURFACE3 iface, LPDIRECTDRAWPALETTE pPalette)
 
HRESULT WINAPI Thunk_DDrawSurface3_Unlock (LPVOID iface, LPVOID pRect)
 
HRESULT WINAPI Thunk_DDrawSurface3_UpdateOverlay (LPDIRECTDRAWSURFACE3 iface, LPRECT pSrcRect, LPDIRECTDRAWSURFACE3 pDstSurface, LPRECT pDstRect, DWORD dwFlags, LPDDOVERLAYFX pFX)
 
HRESULT WINAPI Thunk_DDrawSurface3_UpdateOverlayDisplay (LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags)
 
HRESULT WINAPI Thunk_DDrawSurface3_UpdateOverlayZOrder (LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags, LPDIRECTDRAWSURFACE3 pSurfReference)
 
HRESULT WINAPI Thunk_DDrawSurface3_GetDDInterface (LPDIRECTDRAWSURFACE3 iface, LPVOID *ppDD)
 
HRESULT WINAPI Thunk_DDrawSurface3_PageLock (LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags)
 
HRESULT WINAPI Thunk_DDrawSurface3_PageUnlock (LPDIRECTDRAWSURFACE3 iface, DWORD dwFlags)
 
HRESULT WINAPI Thunk_DDrawSurface3_SetSurfaceDesc (LPDIRECTDRAWSURFACE3 iface, LPDDSURFACEDESC pDDSD, DWORD dwFlags)
 

Variables

IDirectDrawSurface3Vtbl DirectDrawSurface3_VTable
 

Function Documentation

◆ Thunk_DDrawSurface3_AddAttachedSurface()

HRESULT WINAPI Thunk_DDrawSurface3_AddAttachedSurface ( LPDIRECTDRAWSURFACE3  iface,
LPDIRECTDRAWSURFACE3  pAttach 
)

Definition at line 33 of file surface_thunk.c.

34 {
36 
38 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7
HRESULT WINAPI Main_DDrawSurface_AddAttachedSurface(LPDDRAWI_DDRAWSURFACE_INT iface, LPDDRAWI_DDRAWSURFACE_INT pAttach)
Definition: surface_main.c:571

◆ Thunk_DDrawSurface3_AddOverlayDirtyRect()

HRESULT WINAPI Thunk_DDrawSurface3_AddOverlayDirtyRect ( LPDIRECTDRAWSURFACE3  iface,
LPRECT  pRect 
)

Definition at line 41 of file surface_thunk.c.

42 {
44 
46 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_AddOverlayDirtyRect(LPDDRAWI_DDRAWSURFACE_INT iface, LPRECT pRect)
Definition: surface_stubs.c:17
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_AddRef()

ULONG WINAPI Thunk_DDrawSurface3_AddRef ( LPDIRECTDRAWSURFACE3  iface)

Definition at line 17 of file surface_thunk.c.

18 {
20 
22 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
ULONG WINAPI Main_DDrawSurface_AddRef(LPDDRAWI_DDRAWSURFACE_INT)
Definition: surface_main.c:40
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_Blt()

HRESULT WINAPI Thunk_DDrawSurface3_Blt ( LPDIRECTDRAWSURFACE3  iface,
LPRECT  rdst,
LPDIRECTDRAWSURFACE3  src,
LPRECT  rsrc,
DWORD  dwFlags,
LPDDBLTFX  pFX 
)

Definition at line 49 of file surface_thunk.c.

52 {
54 
56 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
GLenum src
Definition: glext.h:6340
HRESULT WINAPI Main_DDrawSurface_Blt(LPDDRAWI_DDRAWSURFACE_INT, LPRECT, LPDDRAWI_DDRAWSURFACE_INT, LPRECT, DWORD, LPDDBLTFX)
Definition: surface_main.c:289
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_BltBatch()

HRESULT WINAPI Thunk_DDrawSurface3_BltBatch ( LPDIRECTDRAWSURFACE3  iface,
LPDDBLTBATCH  pBatch,
DWORD  dwCount,
DWORD  dwFlags 
)

Definition at line 59 of file surface_thunk.c.

60 {
62 
63  return Main_DDrawSurface_BltBatch((LPDIRECTDRAWSURFACE7) iface, pBatch, dwCount, dwFlags);
64 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
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
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_BltFast()

HRESULT WINAPI Thunk_DDrawSurface3_BltFast ( LPDIRECTDRAWSURFACE3  iface,
DWORD  dstx,
DWORD  dsty,
LPDIRECTDRAWSURFACE3  src,
LPRECT  rsrc,
DWORD  dwTrans 
)

Definition at line 67 of file surface_thunk.c.

69 {
71 
72  return Main_DDrawSurface_BltFast((LPDIRECTDRAWSURFACE7) iface, dstx, dsty,
73  (LPDIRECTDRAWSURFACE7)src, rsrc, dwTrans);
74 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_BltFast(LPDDRAWI_DDRAWSURFACE_INT, DWORD, DWORD, LPDDRAWI_DDRAWSURFACE_INT, LPRECT, DWORD)
Definition: surface_stubs.c:26
GLenum src
Definition: glext.h:6340
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_DeleteAttachedSurface()

HRESULT WINAPI Thunk_DDrawSurface3_DeleteAttachedSurface ( LPDIRECTDRAWSURFACE3  iface,
DWORD  dwFlags,
LPDIRECTDRAWSURFACE3  pAttached 
)

Definition at line 77 of file surface_thunk.c.

78 {
80 
82  (LPDIRECTDRAWSURFACE7) pAttached);
83 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HRESULT WINAPI Main_DDrawSurface_DeleteAttachedSurface(LPDDRAWI_DDRAWSURFACE_INT, DWORD, LPDDRAWI_DDRAWSURFACE_INT)
Definition: surface_stubs.c:63
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_EnumAttachedSurfaces()

HRESULT WINAPI Thunk_DDrawSurface3_EnumAttachedSurfaces ( LPDIRECTDRAWSURFACE3  iface,
LPVOID  context,
LPDDENUMSURFACESCALLBACK  cb 
)

Definition at line 88 of file surface_thunk.c.

91 {
93 
96 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK7)(LPDIRECTDRAWSURFACE7, LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1262
Definition: http.c:7094
HRESULT WINAPI Main_DDrawSurface_EnumAttachedSurfaces(LPDDRAWI_DDRAWSURFACE_INT, LPVOID, LPDDENUMSURFACESCALLBACK7)
Definition: surface_stubs.c:73
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_EnumOverlayZOrders()

HRESULT WINAPI Thunk_DDrawSurface3_EnumOverlayZOrders ( LPDIRECTDRAWSURFACE3  iface,
DWORD  dwFlags,
LPVOID  context,
LPDDENUMSURFACESCALLBACK  cb 
)

Definition at line 99 of file surface_thunk.c.

102 {
103  DX_WINDBG_trace();
104 
107 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK7)(LPDIRECTDRAWSURFACE7, LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1262
Definition: http.c:7094
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HRESULT WINAPI Main_DDrawSurface_EnumOverlayZOrders(LPDDRAWI_DDRAWSURFACE_INT, DWORD, LPVOID, LPDDENUMSURFACESCALLBACK7)
Definition: surface_stubs.c:83
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_Flip()

HRESULT WINAPI Thunk_DDrawSurface3_Flip ( LPDIRECTDRAWSURFACE3  iface,
LPDIRECTDRAWSURFACE3  lpDDSurfaceTargetOverride,
DWORD  dwFlags 
)

Definition at line 110 of file surface_thunk.c.

112 {
113  DX_WINDBG_trace();
114 
115  return Main_DDrawSurface_Flip( (LPDIRECTDRAWSURFACE7)iface, (LPDIRECTDRAWSURFACE7) lpDDSurfaceTargetOverride,
116  dwFlags);
117 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_Flip(LPDDRAWI_DDRAWSURFACE_INT, LPDDRAWI_DDRAWSURFACE_INT, DWORD)
Definition: surface_stubs.c:93
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_GetAttachedSurface()

HRESULT WINAPI Thunk_DDrawSurface3_GetAttachedSurface ( LPDIRECTDRAWSURFACE3  iface,
LPDDSCAPS  pCaps,
LPDIRECTDRAWSURFACE3 ppAttached 
)

Definition at line 120 of file surface_thunk.c.

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 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT hr
Definition: shlfolder.c:183
DWORD dwCaps
Definition: ddraw.h:727
#define ZeroMemory
Definition: winbase.h:1648
DWORD dwCaps
Definition: ddraw.h:732
smooth NULL
Definition: ftsmooth.c:416
#define DDERR_GENERIC
Definition: ddraw.h:72
LONG HRESULT
Definition: typedefs.h:78
HRESULT WINAPI Main_DDrawSurface_GetAttachedSurface(LPDDRAWI_DDRAWSURFACE_INT, LPDDSCAPS2, LPDDRAWI_DDRAWSURFACE_INT *)
Definition: surface_main.c:584
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_GetBltStatus()

HRESULT WINAPI Thunk_DDrawSurface3_GetBltStatus ( LPDIRECTDRAWSURFACE3  iface,
DWORD  dwFlags 
)

Definition at line 149 of file surface_thunk.c.

150 {
151  DX_WINDBG_trace();
152 
154 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HRESULT WINAPI Main_DDrawSurface_GetBltStatus(LPDDRAWI_DDRAWSURFACE_INT, DWORD dwFlags)
Definition: surface_main.c:600
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_GetCaps()

HRESULT WINAPI Thunk_DDrawSurface3_GetCaps ( LPDIRECTDRAWSURFACE3  iface,
LPDDSCAPS  pCaps 
)

Definition at line 157 of file surface_thunk.c.

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 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT hr
Definition: shlfolder.c:183
DWORD dwCaps
Definition: ddraw.h:727
#define ZeroMemory
Definition: winbase.h:1648
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
#define DDERR_GENERIC
Definition: ddraw.h:72
LONG HRESULT
Definition: typedefs.h:78
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_GetClipper()

HRESULT WINAPI Thunk_DDrawSurface3_GetClipper ( LPDIRECTDRAWSURFACE3  iface,
LPDIRECTDRAWCLIPPER ppClipper 
)

Definition at line 180 of file surface_thunk.c.

182 {
183  DX_WINDBG_trace();
184 
185  return Main_DDrawSurface_GetClipper((LPDIRECTDRAWSURFACE7) iface, ppClipper);
186 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_GetClipper(LPDDRAWI_DDRAWSURFACE_INT, LPDIRECTDRAWCLIPPER *)
Definition: surface_main.c:637
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_GetColorKey()

HRESULT WINAPI Thunk_DDrawSurface3_GetColorKey ( LPDIRECTDRAWSURFACE3  iface,
DWORD  dwFlags,
LPDDCOLORKEY  pCKey 
)

Definition at line 189 of file surface_thunk.c.

191 {
192  DX_WINDBG_trace();
193 
195 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_GetColorKey(LPDDRAWI_DDRAWSURFACE_INT, DWORD, LPDDCOLORKEY)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_GetDC()

HRESULT WINAPI Thunk_DDrawSurface3_GetDC ( LPDIRECTDRAWSURFACE3  iface,
HDC phDC 
)

Definition at line 198 of file surface_thunk.c.

199 {
200  DX_WINDBG_trace();
201 
202  return Main_DDrawSurface_GetDC((LPDIRECTDRAWSURFACE7) iface, phDC);
203 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_GetDC(LPDDRAWI_DDRAWSURFACE_INT, HDC *)
Definition: surface_main.c:694
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_GetDDInterface()

HRESULT WINAPI Thunk_DDrawSurface3_GetDDInterface ( LPDIRECTDRAWSURFACE3  iface,
LPVOID ppDD 
)

Definition at line 430 of file surface_thunk.c.

431 {
432  DX_WINDBG_trace();
433 
435 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_GetDDInterface(LPDDRAWI_DDRAWSURFACE_INT, LPVOID *)
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_GetFlipStatus()

HRESULT WINAPI Thunk_DDrawSurface3_GetFlipStatus ( LPDIRECTDRAWSURFACE3  iface,
DWORD  dwFlags 
)

Definition at line 206 of file surface_thunk.c.

207 {
208  DX_WINDBG_trace();
209 
211 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_GetFlipStatus(LPDDRAWI_DDRAWSURFACE_INT, DWORD)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_GetOverlayPosition()

HRESULT WINAPI Thunk_DDrawSurface3_GetOverlayPosition ( LPDIRECTDRAWSURFACE3  iface,
LPLONG  pX,
LPLONG  pY 
)

Definition at line 214 of file surface_thunk.c.

215 {
216  DX_WINDBG_trace();
217 
219 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_GetOverlayPosition(LPDDRAWI_DDRAWSURFACE_INT, LPLONG, LPLONG)
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_GetPalette()

HRESULT WINAPI Thunk_DDrawSurface3_GetPalette ( LPDIRECTDRAWSURFACE3  iface,
LPDIRECTDRAWPALETTE ppPalette 
)

Definition at line 222 of file surface_thunk.c.

224 {
225  DX_WINDBG_trace();
226 
227  return Main_DDrawSurface_GetPalette((LPDIRECTDRAWSURFACE7) iface, ppPalette);
228 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_GetPalette(LPDDRAWI_DDRAWSURFACE_INT, LPDIRECTDRAWPALETTE *)
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_GetPixelFormat()

HRESULT WINAPI Thunk_DDrawSurface3_GetPixelFormat ( LPDIRECTDRAWSURFACE3  iface,
LPDDPIXELFORMAT  pDDPixelFormat 
)

Definition at line 231 of file surface_thunk.c.

233 {
234  DX_WINDBG_trace();
235 
236  return Main_DDrawSurface_GetPixelFormat((LPDIRECTDRAWSURFACE7) iface, pDDPixelFormat);
237 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_GetPixelFormat(LPDDRAWI_DDRAWSURFACE_INT, LPDDPIXELFORMAT)
Definition: surface_main.c:716
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_GetSurfaceDesc()

HRESULT WINAPI Thunk_DDrawSurface3_GetSurfaceDesc ( LPDIRECTDRAWSURFACE3  iface,
LPDDSURFACEDESC  pDDSD 
)

Definition at line 240 of file surface_thunk.c.

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 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define ZeroMemory
Definition: winbase.h:1648
void DDSURFACEDESC
Definition: amvideo.idl:24
HRESULT WINAPI Main_DDrawSurface_GetSurfaceDesc(LPDDRAWI_DDRAWSURFACE_INT, LPDDSURFACEDESC2)
Definition: surface_main.c:741
smooth NULL
Definition: ftsmooth.c:416
#define DDERR_GENERIC
Definition: ddraw.h:72
LONG HRESULT
Definition: typedefs.h:78
DWORD dwSize
Definition: ddraw.h:1152
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
struct _DDSURFACEDESC2 DDSURFACEDESC2
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_Initialize()

HRESULT WINAPI Thunk_DDrawSurface3_Initialize ( LPDIRECTDRAWSURFACE3  iface,
LPDIRECTDRAW  pDD,
LPDDSURFACEDESC  pDDSD 
)

Definition at line 266 of file surface_thunk.c.

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 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define ZeroMemory
Definition: winbase.h:1648
HRESULT WINAPI Main_DDrawSurface_Initialize(LPDDRAWI_DDRAWSURFACE_INT, LPDIRECTDRAW, LPDDSURFACEDESC2)
Definition: surface_main.c:35
void DDSURFACEDESC
Definition: amvideo.idl:24
smooth NULL
Definition: ftsmooth.c:416
#define DDERR_GENERIC
Definition: ddraw.h:72
LONG HRESULT
Definition: typedefs.h:78
DWORD dwSize
Definition: ddraw.h:1152
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
struct _DDSURFACEDESC2 DDSURFACEDESC2
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_IsLost()

HRESULT WINAPI Thunk_DDrawSurface3_IsLost ( LPDIRECTDRAWSURFACE3  iface)

Definition at line 296 of file surface_thunk.c.

297 {
298  DX_WINDBG_trace();
299 
301 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_IsLost(LPDDRAWI_DDRAWSURFACE_INT)
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_Lock()

HRESULT WINAPI Thunk_DDrawSurface3_Lock ( LPDIRECTDRAWSURFACE3  iface,
LPRECT  pRect,
LPDDSURFACEDESC  pDDSD,
DWORD  dwFlags,
HANDLE  events 
)

Definition at line 304 of file surface_thunk.c.

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 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_Lock(LPDDRAWI_DDRAWSURFACE_INT, LPRECT, LPDDSURFACEDESC2, DWORD, HANDLE)
Definition: surface_main.c:418
#define ZeroMemory
Definition: winbase.h:1648
void DDSURFACEDESC
Definition: amvideo.idl:24
smooth NULL
Definition: ftsmooth.c:416
#define DDERR_GENERIC
Definition: ddraw.h:72
LONG HRESULT
Definition: typedefs.h:78
DWORD dwSize
Definition: ddraw.h:1152
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
HANDLE events[2]
Definition: event.c:4
struct _DDSURFACEDESC2 DDSURFACEDESC2
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_PageLock()

HRESULT WINAPI Thunk_DDrawSurface3_PageLock ( LPDIRECTDRAWSURFACE3  iface,
DWORD  dwFlags 
)

Definition at line 438 of file surface_thunk.c.

439 {
440  DX_WINDBG_trace();
441 
443 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HRESULT WINAPI Main_DDrawSurface_PageLock(LPDDRAWI_DDRAWSURFACE_INT, DWORD)
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_PageUnlock()

HRESULT WINAPI Thunk_DDrawSurface3_PageUnlock ( LPDIRECTDRAWSURFACE3  iface,
DWORD  dwFlags 
)

Definition at line 446 of file surface_thunk.c.

447 {
448  DX_WINDBG_trace();
449 
451 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_PageUnlock(LPDDRAWI_DDRAWSURFACE_INT, DWORD)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_QueryInterface()

HRESULT WINAPI Thunk_DDrawSurface3_QueryInterface ( LPDIRECTDRAWSURFACE3  iface,
REFIID  iid,
LPVOID ppObj 
)

Definition at line 8 of file surface_thunk.c.

10 {
12 
13  return Main_DDrawSurface_QueryInterface((LPDIRECTDRAWSURFACE7) iface, iid, ppObj);
14 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7
HRESULT WINAPI Main_DDrawSurface_QueryInterface(LPDDRAWI_DDRAWSURFACE_INT, REFIID, LPVOID *)
Definition: surface_main.c:60

◆ Thunk_DDrawSurface3_Release()

ULONG WINAPI Thunk_DDrawSurface3_Release ( LPDIRECTDRAWSURFACE3  iface)

Definition at line 25 of file surface_thunk.c.

26 {
28 
30 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
ULONG WINAPI Main_DDrawSurface_Release(LPDDRAWI_DDRAWSURFACE_INT)
Definition: surface_main.c:264
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_ReleaseDC()

HRESULT WINAPI Thunk_DDrawSurface3_ReleaseDC ( LPDIRECTDRAWSURFACE3  iface,
HDC  hDC 
)

Definition at line 335 of file surface_thunk.c.

336 {
337  DX_WINDBG_trace();
338 
340 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
static HDC hDC
Definition: 3dtext.c:33
HRESULT WINAPI Main_DDrawSurface_ReleaseDC(LPDDRAWI_DDRAWSURFACE_INT, HDC)
Definition: surface_main.c:841
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_Restore()

HRESULT WINAPI Thunk_DDrawSurface3_Restore ( LPDIRECTDRAWSURFACE3  iface)

Definition at line 343 of file surface_thunk.c.

344 {
345  DX_WINDBG_trace();
346 
348 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_Restore(LPDDRAWI_DDRAWSURFACE_INT)
Definition: surface_stubs.c:36
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_SetClipper()

HRESULT WINAPI Thunk_DDrawSurface3_SetClipper ( LPDIRECTDRAWSURFACE3  iface,
LPDIRECTDRAWCLIPPER  pDDClipper 
)

Definition at line 351 of file surface_thunk.c.

352 {
353  DX_WINDBG_trace();
354 
355  return Main_DDrawSurface_SetClipper ((LPDIRECTDRAWSURFACE7) iface, pDDClipper);
356 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_SetClipper(LPDDRAWI_DDRAWSURFACE_INT, LPDIRECTDRAWCLIPPER)
Definition: surface_main.c:664
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_SetColorKey()

HRESULT WINAPI Thunk_DDrawSurface3_SetColorKey ( LPDIRECTDRAWSURFACE3  iface,
DWORD  dwFlags,
LPDDCOLORKEY  pCKey 
)

Definition at line 359 of file surface_thunk.c.

361 {
362  DX_WINDBG_trace();
363 
365 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_SetColorKey(LPDDRAWI_DDRAWSURFACE_INT, DWORD, LPDDCOLORKEY)
Definition: surface_main.c:867
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_SetOverlayPosition()

HRESULT WINAPI Thunk_DDrawSurface3_SetOverlayPosition ( LPDIRECTDRAWSURFACE3  iface,
LONG  X,
LONG  Y 
)

Definition at line 368 of file surface_thunk.c.

369 {
370  DX_WINDBG_trace();
371 
373 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define Y(I)
HRESULT WINAPI Main_DDrawSurface_SetOverlayPosition(LPDDRAWI_DDRAWSURFACE_INT, LONG, LONG)
Definition: surface_main.c:901
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_SetPalette()

HRESULT WINAPI Thunk_DDrawSurface3_SetPalette ( LPDIRECTDRAWSURFACE3  iface,
LPDIRECTDRAWPALETTE  pPalette 
)

Definition at line 376 of file surface_thunk.c.

378 {
379  DX_WINDBG_trace();
380 
381  return Main_DDrawSurface_SetPalette ((LPDIRECTDRAWSURFACE7) iface, pPalette);
382 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_SetPalette(LPDDRAWI_DDRAWSURFACE_INT, LPDIRECTDRAWPALETTE)
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_SetSurfaceDesc()

HRESULT WINAPI Thunk_DDrawSurface3_SetSurfaceDesc ( LPDIRECTDRAWSURFACE3  iface,
LPDDSURFACEDESC  pDDSD,
DWORD  dwFlags 
)

Definition at line 454 of file surface_thunk.c.

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 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define ZeroMemory
Definition: winbase.h:1648
HRESULT WINAPI Main_DDrawSurface_SetSurfaceDesc(LPDDRAWI_DDRAWSURFACE_INT, DDSURFACEDESC2 *, DWORD)
void DDSURFACEDESC
Definition: amvideo.idl:24
smooth NULL
Definition: ftsmooth.c:416
#define DDERR_GENERIC
Definition: ddraw.h:72
LONG HRESULT
Definition: typedefs.h:78
DWORD dwSize
Definition: ddraw.h:1152
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
struct _DDSURFACEDESC2 DDSURFACEDESC2
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_Unlock()

HRESULT WINAPI Thunk_DDrawSurface3_Unlock ( LPVOID  iface,
LPVOID  pRect 
)

Definition at line 394 of file surface_thunk.c.

395 {
396  DX_WINDBG_trace();
397  DX_STUB;
398 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Thunk_DDrawSurface3_UpdateOverlay()

HRESULT WINAPI Thunk_DDrawSurface3_UpdateOverlay ( LPDIRECTDRAWSURFACE3  iface,
LPRECT  pSrcRect,
LPDIRECTDRAWSURFACE3  pDstSurface,
LPRECT  pDstRect,
DWORD  dwFlags,
LPDDOVERLAYFX  pFX 
)

Definition at line 401 of file surface_thunk.c.

403 {
404 
405  DX_WINDBG_trace();
406 
407  return Main_DDrawSurface_UpdateOverlay ( (LPDIRECTDRAWSURFACE7) iface, pSrcRect,
408  (LPDIRECTDRAWSURFACE7) pDstSurface, pDstRect, dwFlags, pFX);
409 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_UpdateOverlay(LPDDRAWI_DDRAWSURFACE_INT, LPRECT, LPDDRAWI_DDRAWSURFACE_INT, LPRECT, DWORD, LPDDOVERLAYFX)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_UpdateOverlayDisplay()

HRESULT WINAPI Thunk_DDrawSurface3_UpdateOverlayDisplay ( LPDIRECTDRAWSURFACE3  iface,
DWORD  dwFlags 
)

Definition at line 412 of file surface_thunk.c.

413 {
414  DX_WINDBG_trace();
415 
417 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayDisplay(LPDDRAWI_DDRAWSURFACE_INT, DWORD)
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ Thunk_DDrawSurface3_UpdateOverlayZOrder()

HRESULT WINAPI Thunk_DDrawSurface3_UpdateOverlayZOrder ( LPDIRECTDRAWSURFACE3  iface,
DWORD  dwFlags,
LPDIRECTDRAWSURFACE3  pSurfReference 
)

Definition at line 420 of file surface_thunk.c.

423 {
424  DX_WINDBG_trace();
426  (LPDIRECTDRAWSURFACE7) pSurfReference);
427 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayZOrder(LPDDRAWI_DDRAWSURFACE_INT, DWORD, LPDDRAWI_DDRAWSURFACE_INT)
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

Variable Documentation

◆ DirectDrawSurface3_VTable

IDirectDrawSurface3Vtbl DirectDrawSurface3_VTable