ReactOS  0.4.14-dev-376-gaedba84
ddraw_thunk.c File Reference
#include "../rosdraw.h"
Include dependency graph for ddraw_thunk.c:

Go to the source code of this file.

Functions

HRESULT WINAPI ThunkDirectDraw_QueryInterface (LPDIRECTDRAW iface, REFIID iid, LPVOID *ppObj)
 
HRESULT WINAPI ThunkDirectDraw2_QueryInterface (LPDIRECTDRAW2 iface, REFIID iid, LPVOID *obj)
 
HRESULT WINAPI ThunkDirectDraw4_QueryInterface (LPDIRECTDRAW4 iface, REFIID iid, LPVOID *ppObj)
 
ULONG WINAPI ThunkDirectDraw_AddRef (LPDIRECTDRAW iface)
 
ULONG WINAPI ThunkDirectDraw2_AddRef (LPDIRECTDRAW2 iface)
 
ULONG WINAPI ThunkDirectDraw4_AddRef (LPDIRECTDRAW4 iface)
 
ULONG WINAPI ThunkDirectDraw_Release (LPDIRECTDRAW iface)
 
ULONG WINAPI ThunkDirectDraw2_Release (LPDIRECTDRAW2 iface)
 
ULONG WINAPI ThunkDirectDraw4_Release (LPDIRECTDRAW4 iface)
 
HRESULT WINAPI ThunkDirectDraw_Compact (LPDIRECTDRAW iface)
 
HRESULT WINAPI ThunkDirectDraw2_Compact (LPDIRECTDRAW2 iface)
 
HRESULT WINAPI ThunkDirectDraw4_Compact (LPDIRECTDRAW4 iface)
 
HRESULT WINAPI ThunkDirectDraw_CreateClipper (LPDIRECTDRAW iface, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
 
HRESULT WINAPI ThunkDirectDraw2_CreateClipper (LPDIRECTDRAW2 iface, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
 
HRESULT WINAPI ThunkDirectDraw4_CreateClipper (LPDIRECTDRAW4 iface, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
 
HRESULT WINAPI ThunkDirectDraw_CreatePalette (LPDIRECTDRAW iface, DWORD dwFlags, LPPALETTEENTRY pEntries, LPDIRECTDRAWPALETTE *ppPalette, IUnknown *pUnkOuter)
 
HRESULT WINAPI ThunkDirectDraw2_CreatePalette (LPDIRECTDRAW2 iface, DWORD dwFlags, LPPALETTEENTRY pEntries, LPDIRECTDRAWPALETTE *ppPalette, IUnknown *pUnkOuter)
 
HRESULT WINAPI ThunkDirectDraw4_CreatePalette (LPDIRECTDRAW4 iface, DWORD dwFlags, LPPALETTEENTRY pEntries, LPDIRECTDRAWPALETTE *ppPalette, IUnknown *pUnkOuter)
 
HRESULT WINAPI ThunkDirectDraw_CreateSurface (LPDIRECTDRAW iface, LPDDSURFACEDESC pDDSD, LPDIRECTDRAWSURFACE *ppSurf, IUnknown *pUnkOuter)
 
HRESULT WINAPI ThunkDirectDraw2_CreateSurface (LPDIRECTDRAW2 iface, LPDDSURFACEDESC pDDSD, LPDIRECTDRAWSURFACE *ppSurface, IUnknown *pUnkOuter)
 
HRESULT WINAPI ThunkDirectDraw4_CreateSurface (LPDIRECTDRAW4 iface, LPDDSURFACEDESC2 pDDSD2, LPDIRECTDRAWSURFACE4 *ppSurface, IUnknown *pUnkOuter)
 
HRESULT WINAPI ThunkDirectDraw_DuplicateSurface (LPDIRECTDRAW iface, LPDIRECTDRAWSURFACE src, LPDIRECTDRAWSURFACE *dst)
 
HRESULT WINAPI ThunkDirectDraw2_DuplicateSurface (LPDIRECTDRAW2 iface, LPDIRECTDRAWSURFACE src, LPDIRECTDRAWSURFACE *dst)
 
HRESULT WINAPI ThunkDirectDraw4_DuplicateSurface (LPDIRECTDRAW4 iface, LPDIRECTDRAWSURFACE4 src, LPDIRECTDRAWSURFACE4 *dst)
 
HRESULT WINAPI ThunkDirectDraw_EnumDisplayModes (LPDIRECTDRAW iface, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID context, LPDDENUMMODESCALLBACK cb)
 
HRESULT WINAPI ThunkDirectDraw2_EnumDisplayModes (LPDIRECTDRAW2 iface, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID context, LPDDENUMMODESCALLBACK cb)
 
HRESULT WINAPI ThunkDirectDraw4_EnumDisplayModes (LPDIRECTDRAW4 iface, DWORD dwFlags, LPDDSURFACEDESC2 pDDSD, LPVOID context, LPDDENUMMODESCALLBACK2 cb)
 
HRESULT WINAPI ThunkDirectDraw_EnumSurfaces (LPDIRECTDRAW iface, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID context, LPDDENUMSURFACESCALLBACK cb)
 
HRESULT WINAPI ThunkDirectDraw2_EnumSurfaces (LPDIRECTDRAW2 iface, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID context, LPDDENUMSURFACESCALLBACK cb)
 
HRESULT WINAPI ThunkDirectDraw4_EnumSurfaces (LPDIRECTDRAW4 iface, DWORD dwFlags, LPDDSURFACEDESC2 pDDSD, LPVOID context, LPDDENUMSURFACESCALLBACK2 cb)
 
HRESULT WINAPI ThunkDirectDraw_FlipToGDISurface (LPDIRECTDRAW iface)
 
HRESULT WINAPI ThunkDirectDraw2_FlipToGDISurface (LPDIRECTDRAW2 iface)
 
HRESULT WINAPI ThunkDirectDraw4_FlipToGDISurface (LPDIRECTDRAW4 iface)
 
HRESULT WINAPI ThunkDirectDraw_GetCaps (LPDIRECTDRAW iface, LPDDCAPS pDDC1, LPDDCAPS pDDC2)
 
HRESULT WINAPI ThunkDirectDraw2_GetCaps (LPDIRECTDRAW2 iface, LPDDCAPS pDDC1, LPDDCAPS pDDC2)
 
HRESULT WINAPI ThunkDirectDraw4_GetCaps (LPDIRECTDRAW4 iface, LPDDCAPS pDDC1, LPDDCAPS pDDC2)
 
HRESULT WINAPI ThunkDirectDraw_GetDisplayMode (LPDIRECTDRAW iface, LPDDSURFACEDESC pDDSD)
 
HRESULT WINAPI ThunkDirectDraw2_GetDisplayMode (LPDIRECTDRAW2 iface, LPDDSURFACEDESC pDDSD)
 
HRESULT WINAPI ThunkDirectDraw4_GetDisplayMode (LPDIRECTDRAW4 iface, LPDDSURFACEDESC2 pDDSD2)
 
HRESULT WINAPI ThunkDirectDraw_GetFourCCCodes (LPDIRECTDRAW iface, LPDWORD pNumCodes, LPDWORD pCodes)
 
HRESULT WINAPI ThunkDirectDraw2_GetFourCCCodes (LPDIRECTDRAW2 iface, LPDWORD pNumCodes, LPDWORD pCodes)
 
HRESULT WINAPI ThunkDirectDraw4_GetFourCCCodes (LPDIRECTDRAW4 iface, LPDWORD pNumCodes, LPDWORD pCodes)
 
HRESULT WINAPI ThunkDirectDraw_GetGDISurface (LPDIRECTDRAW iface, LPDIRECTDRAWSURFACE *lplpGDIDDSSurface)
 
HRESULT WINAPI ThunkDirectDraw2_GetGDISurface (LPDIRECTDRAW2 iface, LPDIRECTDRAWSURFACE *lplpGDIDDSSurface)
 
HRESULT WINAPI ThunkDirectDraw4_GetGDISurface (LPDIRECTDRAW4 iface, LPDIRECTDRAWSURFACE4 *lplpGDIDDSSurface)
 
HRESULT WINAPI ThunkDirectDraw_GetMonitorFrequency (LPDIRECTDRAW iface, LPDWORD pdwFreq)
 
HRESULT WINAPI ThunkDirectDraw2_GetMonitorFrequency (LPDIRECTDRAW2 iface, LPDWORD pdwFreq)
 
HRESULT WINAPI ThunkDirectDraw4_GetMonitorFrequency (LPDIRECTDRAW4 iface, LPDWORD pdwFreq)
 
HRESULT WINAPI ThunkDirectDraw_GetScanLine (LPDIRECTDRAW iface, LPDWORD lpdwScanLine)
 
HRESULT WINAPI ThunkDirectDraw2_GetScanLine (LPDIRECTDRAW2 iface, LPDWORD lpdwScanLine)
 
HRESULT WINAPI ThunkDirectDraw4_GetScanLine (LPDIRECTDRAW4 iface, LPDWORD lpdwScanLine)
 
HRESULT WINAPI ThunkDirectDraw_GetVerticalBlankStatus (LPDIRECTDRAW iface, LPBOOL lpbIsInVB)
 
HRESULT WINAPI ThunkDirectDraw2_GetVerticalBlankStatus (LPDIRECTDRAW2 iface, LPBOOL lpbIsInVB)
 
HRESULT WINAPI ThunkDirectDraw4_GetVerticalBlankStatus (LPDIRECTDRAW4 iface, LPBOOL lpbIsInVB)
 
HRESULT WINAPI ThunkDirectDraw_Initialize (LPDIRECTDRAW iface, LPGUID pGUID)
 
HRESULT WINAPI ThunkDirectDraw2_Initialize (LPDIRECTDRAW2 iface, LPGUID pGUID)
 
HRESULT WINAPI ThunkDirectDraw4_Initialize (LPDIRECTDRAW4 iface, LPGUID pGUID)
 
HRESULT WINAPI ThunkDirectDraw_RestoreDisplayMode (LPDIRECTDRAW iface)
 
HRESULT WINAPI ThunkDirectDraw2_RestoreDisplayMode (LPDIRECTDRAW2 iface)
 
HRESULT WINAPI ThunkDirectDraw4_RestoreDisplayMode (LPDIRECTDRAW4 iface)
 
HRESULT WINAPI ThunkDirectDraw_SetCooperativeLevel (LPDIRECTDRAW iface, HWND hwnd, DWORD dwFlags)
 
HRESULT WINAPI ThunkDirectDraw2_SetCooperativeLevel (LPDIRECTDRAW2 iface, HWND hwnd, DWORD dwFlags)
 
HRESULT WINAPI ThunkDirectDraw4_SetCooperativeLevel (LPDIRECTDRAW4 iface, HWND hwnd, DWORD dwFlags)
 
HRESULT WINAPI ThunkDirectDraw_SetDisplayMode (LPDIRECTDRAW iface, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP)
 
HRESULT WINAPI ThunkDirectDraw2_SetDisplayMode (LPDIRECTDRAW2 iface, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD d, DWORD e)
 
HRESULT WINAPI ThunkDirectDraw4_SetDisplayMode (LPDIRECTDRAW4 iface, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD d, DWORD e)
 
HRESULT WINAPI ThunkDirectDraw_WaitForVerticalBlank (LPDIRECTDRAW iface, DWORD dwFlags, HANDLE hEvent)
 
HRESULT WINAPI ThunkDirectDraw2_WaitForVerticalBlank (LPDIRECTDRAW2 iface, DWORD dwFlags, HANDLE hEvent)
 
HRESULT WINAPI ThunkDirectDraw4_WaitForVerticalBlank (LPDIRECTDRAW4 iface, DWORD dwFlags, HANDLE hEvent)
 
HRESULT WINAPI ThunkDirectDraw4_GetSurfaceFromDC (LPDIRECTDRAW4 iface, HDC hdc, LPDIRECTDRAWSURFACE4 *pSurf)
 
HRESULT WINAPI ThunkDirectDraw4_RestoreAllSurfaces (LPDIRECTDRAW4 iface)
 
HRESULT WINAPI ThunkDirectDraw4_TestCooperativeLevel (LPDIRECTDRAW4 iface)
 
HRESULT WINAPI ThunkDirectDraw4_GetDeviceIdentifier (LPDIRECTDRAW4 iface, LPDDDEVICEIDENTIFIER pDDDI, DWORD dwFlags)
 

Variables

IDirectDrawVtbl DirectDraw_Vtable
 
IDirectDraw2Vtbl DirectDraw2_Vtable
 
IDirectDraw4Vtbl DirectDraw4_Vtable
 

Function Documentation

◆ ThunkDirectDraw2_AddRef()

ULONG WINAPI ThunkDirectDraw2_AddRef ( LPDIRECTDRAW2  iface)

Definition at line 41 of file ddraw_thunk.c.

42 {
44 
45  return Main_DirectDraw_AddRef((LPDIRECTDRAW7) iface);
46 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
ULONG WINAPI Main_DirectDraw_AddRef(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_main.c:145
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw2_Compact()

HRESULT WINAPI ThunkDirectDraw2_Compact ( LPDIRECTDRAW2  iface)

Definition at line 89 of file ddraw_thunk.c.

90 {
92 
93  return Main_DirectDraw_Compact((LPDIRECTDRAW7) iface) ;
94 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_Compact(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_main.c:267
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw2_CreateClipper()

HRESULT WINAPI ThunkDirectDraw2_CreateClipper ( LPDIRECTDRAW2  iface,
DWORD  dwFlags,
LPDIRECTDRAWCLIPPER ppClipper,
IUnknown pUnkOuter 
)

Definition at line 113 of file ddraw_thunk.c.

114 {
115  DX_WINDBG_trace();
116 
117  return Main_DirectDraw_CreateClipper( (LPDIRECTDRAW7) iface, dwFlags, ppClipper, pUnkOuter);
118 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_CreateClipper(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
Definition: ddraw_stubs.c:17
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw2_CreatePalette()

HRESULT WINAPI ThunkDirectDraw2_CreatePalette ( LPDIRECTDRAW2  iface,
DWORD  dwFlags,
LPPALETTEENTRY  pEntries,
LPDIRECTDRAWPALETTE ppPalette,
IUnknown pUnkOuter 
)

Definition at line 140 of file ddraw_thunk.c.

144 {
145  DX_WINDBG_trace();
146 
147  return Main_DirectDraw_CreatePalette( (LPDIRECTDRAW7) iface, dwFlags, pEntries, ppPalette, pUnkOuter);
148 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_CreatePalette(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPPALETTEENTRY palent, LPDIRECTDRAWPALETTE *ppPalette, LPUNKNOWN pUnkOuter)
Definition: ddraw_main.c:545
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw2_CreateSurface()

HRESULT WINAPI ThunkDirectDraw2_CreateSurface ( LPDIRECTDRAW2  iface,
LPDDSURFACEDESC  pDDSD,
LPDIRECTDRAWSURFACE ppSurface,
IUnknown pUnkOuter 
)

Definition at line 193 of file ddraw_thunk.c.

195 {
196  HRESULT retValue = DDERR_GENERIC;
198 
199  DX_WINDBG_trace();
200 
201  if (pDDSD != NULL)
202  {
203  DDSURFACEDESC2 pDDSD2;
204  ZeroMemory(&pDDSD2,sizeof(DDSURFACEDESC2));
205  memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC));
206  pDDSD2.dwSize = sizeof(DDSURFACEDESC2);
207  retValue = Main_DirectDraw_CreateSurface ((LPDIRECTDRAW7) iface, &pDDSD2,
208  (LPDIRECTDRAWSURFACE7 *) ppSurface, pUnkOuter);
209  memcpy(pDDSD, &pDDSD2, sizeof(DDSURFACEDESC));
210  pDDSD->dwSize = sizeof(DDSURFACEDESC);
211  }
212  else
213  {
214  retValue = Main_DirectDraw_CreateSurface ((LPDIRECTDRAW7) iface, NULL,
215  (LPDIRECTDRAWSURFACE7 *) ppSurface, pUnkOuter);
216  }
217 
218  That = (LPDDRAWI_DDRAWSURFACE_INT) *ppSurface;
220 
221  return retValue;
222 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define ZeroMemory
Definition: winbase.h:1642
void DDSURFACEDESC
Definition: amvideo.idl:24
smooth NULL
Definition: ftsmooth.c:416
#define DDERR_GENERIC
Definition: ddraw.h:72
struct _DDRAWI_DDRAWSURFACE_INT * LPDDRAWI_DDRAWSURFACE_INT
Definition: ddrawi.h:132
LONG HRESULT
Definition: typedefs.h:77
DWORD dwSize
Definition: ddraw.h:1152
HRESULT WINAPI Main_DirectDraw_CreateSurface(LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC pDDSD, LPDDRAWI_DDRAWSURFACE_INT *ppSurf, IUnknown *pUnkOuter)
Definition: ddraw_main.c:478
IDirectDrawSurface3Vtbl DirectDrawSurface3_VTable
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
struct _DDSURFACEDESC2 DDSURFACEDESC2
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ ThunkDirectDraw2_DuplicateSurface()

HRESULT WINAPI ThunkDirectDraw2_DuplicateSurface ( LPDIRECTDRAW2  iface,
LPDIRECTDRAWSURFACE  src,
LPDIRECTDRAWSURFACE dst 
)

Definition at line 253 of file ddraw_thunk.c.

254 {
255  DX_WINDBG_trace();
256 
259 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
GLenum src
Definition: glext.h:6340
HRESULT WINAPI Main_DirectDraw_DuplicateSurface(LPDDRAWI_DIRECTDRAW_INT This, LPDIRECTDRAWSURFACE7 src, LPDIRECTDRAWSURFACE7 *dst)
Definition: ddraw_stubs.c:26
GLenum GLenum dst
Definition: glext.h:6340
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ ThunkDirectDraw2_EnumDisplayModes()

HRESULT WINAPI ThunkDirectDraw2_EnumDisplayModes ( LPDIRECTDRAW2  iface,
DWORD  dwFlags,
LPDDSURFACEDESC  pDDSD,
LPVOID  context,
LPDDENUMMODESCALLBACK  cb 
)

Definition at line 300 of file ddraw_thunk.c.

303 {
304  HRESULT retValue = DDERR_GENERIC;
305 
306  DX_WINDBG_trace();
307 
308  if (pDDSD != NULL)
309  {
310  DDSURFACEDESC2 pDDSD2;
311  ZeroMemory(&pDDSD2,sizeof(DDSURFACEDESC2));
312  memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC));
313  pDDSD2.dwSize = sizeof(DDSURFACEDESC2);
314  retValue = Main_DirectDraw_EnumDisplayModes((LPDIRECTDRAW7) iface, dwFlags, &pDDSD2,
316  memcpy(pDDSD, &pDDSD2, sizeof(DDSURFACEDESC));
317  pDDSD->dwSize = sizeof(DDSURFACEDESC);
318  }
319  else
320  {
323  }
324 
325  return retValue;
326 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT(WINAPI * LPDDENUMMODESCALLBACK2)(LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1259
Definition: http.c:6587
#define ZeroMemory
Definition: winbase.h:1642
void DDSURFACEDESC
Definition: amvideo.idl:24
smooth NULL
Definition: ftsmooth.c:416
#define DDERR_GENERIC
Definition: ddraw.h:72
LONG HRESULT
Definition: typedefs.h:77
DWORD dwSize
Definition: ddraw.h:1152
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HRESULT WINAPI Main_DirectDraw_EnumDisplayModes(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID pContext, LPDDENUMMODESCALLBACK pCallback)
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32
struct _DDSURFACEDESC2 DDSURFACEDESC2

◆ ThunkDirectDraw2_EnumSurfaces()

HRESULT WINAPI ThunkDirectDraw2_EnumSurfaces ( LPDIRECTDRAW2  iface,
DWORD  dwFlags,
LPDDSURFACEDESC  pDDSD,
LPVOID  context,
LPDDENUMSURFACESCALLBACK  cb 
)

Definition at line 372 of file ddraw_thunk.c.

375 {
376  HRESULT retValue = DDERR_GENERIC;
377 
378  DX_WINDBG_trace();
379 
380  if (pDDSD != NULL)
381  {
382  DDSURFACEDESC2 pDDSD2;
383  ZeroMemory(&pDDSD2,sizeof(DDSURFACEDESC2));
384  memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC));
385  pDDSD2.dwSize = sizeof(DDSURFACEDESC2);
386  retValue = Main_DirectDraw_EnumSurfaces((LPDIRECTDRAW7) iface, dwFlags, &pDDSD2,
388  memcpy(pDDSD, &pDDSD2, sizeof(DDSURFACEDESC));
389  pDDSD->dwSize = sizeof(DDSURFACEDESC);
390  }
391  else
392  {
395  }
396 
397  return retValue;
398 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK7)(LPDIRECTDRAWSURFACE7, LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1262
Definition: http.c:6587
#define ZeroMemory
Definition: winbase.h:1642
void DDSURFACEDESC
Definition: amvideo.idl:24
smooth NULL
Definition: ftsmooth.c:416
HRESULT WINAPI Main_DirectDraw_EnumSurfaces(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDDSURFACEDESC lpDDSD2, LPVOID context, LPDDENUMSURFACESCALLBACK callback)
Definition: ddraw_stubs.c:34
#define DDERR_GENERIC
Definition: ddraw.h:72
LONG HRESULT
Definition: typedefs.h:77
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
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32
struct _DDSURFACEDESC2 DDSURFACEDESC2

◆ ThunkDirectDraw2_FlipToGDISurface()

HRESULT WINAPI ThunkDirectDraw2_FlipToGDISurface ( LPDIRECTDRAW2  iface)

Definition at line 421 of file ddraw_thunk.c.

422 {
423  DX_WINDBG_trace();
424 
426 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_FlipToGDISurface(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_stubs.c:64
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw2_GetCaps()

HRESULT WINAPI ThunkDirectDraw2_GetCaps ( LPDIRECTDRAW2  iface,
LPDDCAPS  pDDC1,
LPDDCAPS  pDDC2 
)

Definition at line 445 of file ddraw_thunk.c.

446 {
447  DX_WINDBG_trace();
448 
449  return Main_DirectDraw_GetCaps((LPDIRECTDRAW7) iface, pDDC1, pDDC2);
450 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_GetCaps(LPDDRAWI_DIRECTDRAW_INT This, LPDDCAPS pDriverCaps, LPDDCAPS pHELCaps)
Definition: GetCaps.c:23
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw2_GetDisplayMode()

HRESULT WINAPI ThunkDirectDraw2_GetDisplayMode ( LPDIRECTDRAW2  iface,
LPDDSURFACEDESC  pDDSD 
)

Definition at line 487 of file ddraw_thunk.c.

488 {
489  HRESULT retValue = DDERR_GENERIC;
490 
491  DX_WINDBG_trace();
492 
493  if (pDDSD != NULL)
494  {
495  DDSURFACEDESC2 pDDSD2;
496  ZeroMemory(&pDDSD2,sizeof(DDSURFACEDESC2));
497  memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC));
498  pDDSD2.dwSize = sizeof(DDSURFACEDESC2);
499  retValue = Main_DirectDraw_GetDisplayMode((LPDIRECTDRAW7) iface, &pDDSD2);
500  memcpy(pDDSD, &pDDSD2, sizeof(DDSURFACEDESC));
501  pDDSD->dwSize = sizeof(DDSURFACEDESC);
502  }
503  else
504  {
506  }
507 
508  return retValue;
509 }
HRESULT WINAPI Main_DirectDraw_GetDisplayMode(LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC pDDSD)
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define ZeroMemory
Definition: winbase.h:1642
void DDSURFACEDESC
Definition: amvideo.idl:24
smooth NULL
Definition: ftsmooth.c:416
#define DDERR_GENERIC
Definition: ddraw.h:72
LONG HRESULT
Definition: typedefs.h:77
DWORD dwSize
Definition: ddraw.h:1152
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
struct _DDSURFACEDESC2 DDSURFACEDESC2

◆ ThunkDirectDraw2_GetFourCCCodes()

HRESULT WINAPI ThunkDirectDraw2_GetFourCCCodes ( LPDIRECTDRAW2  iface,
LPDWORD  pNumCodes,
LPDWORD  pCodes 
)

Definition at line 529 of file ddraw_thunk.c.

531 {
532  DX_WINDBG_trace();
533 
534  return Main_DirectDraw_GetFourCCCodes((LPDIRECTDRAW7) iface, pNumCodes, pCodes);
535 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_GetFourCCCodes(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpNumCodes, LPDWORD lpCodes)
Definition: ddraw_main.c:418
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw2_GetGDISurface()

HRESULT WINAPI ThunkDirectDraw2_GetGDISurface ( LPDIRECTDRAW2  iface,
LPDIRECTDRAWSURFACE lplpGDIDDSSurface 
)

Definition at line 555 of file ddraw_thunk.c.

556 {
557  DX_WINDBG_trace();
558 
559  return Main_DirectDraw_GetGDISurface((LPDIRECTDRAW7) iface, (LPDIRECTDRAWSURFACE7 *) lplpGDIDDSSurface);
560 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_GetGDISurface(LPDDRAWI_DIRECTDRAW_INT This, LPDIRECTDRAWSURFACE7 *lplpGDIDDSSurface)
Definition: ddraw_stubs.c:72
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ ThunkDirectDraw2_GetMonitorFrequency()

HRESULT WINAPI ThunkDirectDraw2_GetMonitorFrequency ( LPDIRECTDRAW2  iface,
LPDWORD  pdwFreq 
)

Definition at line 579 of file ddraw_thunk.c.

580 {
581  DX_WINDBG_trace();
582 
583  return Main_DirectDraw_GetMonitorFrequency((LPDIRECTDRAW7) iface, pdwFreq);
584 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_GetMonitorFrequency(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpFreq)
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw2_GetScanLine()

HRESULT WINAPI ThunkDirectDraw2_GetScanLine ( LPDIRECTDRAW2  iface,
LPDWORD  lpdwScanLine 
)

Definition at line 603 of file ddraw_thunk.c.

604 {
605  DX_WINDBG_trace();
606 
607  return Main_DirectDraw_GetScanLine((LPDIRECTDRAW7) iface, lpdwScanLine);
608 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
HRESULT WINAPI Main_DirectDraw_GetScanLine(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpdwScanLine)
Definition: ddraw_stubs.c:80

◆ ThunkDirectDraw2_GetVerticalBlankStatus()

HRESULT WINAPI ThunkDirectDraw2_GetVerticalBlankStatus ( LPDIRECTDRAW2  iface,
LPBOOL  lpbIsInVB 
)

Definition at line 627 of file ddraw_thunk.c.

628 {
629  DX_WINDBG_trace();
630 
631  return Main_DirectDraw_GetVerticalBlankStatus((LPDIRECTDRAW7) iface, lpbIsInVB);
632 }
HRESULT WINAPI Main_DirectDraw_GetVerticalBlankStatus(LPDDRAWI_DIRECTDRAW_INT This, LPBOOL lpbIsInVB)
Definition: ddraw_stubs.c:87
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw2_Initialize()

HRESULT WINAPI ThunkDirectDraw2_Initialize ( LPDIRECTDRAW2  iface,
LPGUID  pGUID 
)

Definition at line 656 of file ddraw_thunk.c.

657 {
658  DX_WINDBG_trace();
659 
660  if (iface==NULL)
661  {
662  return DDERR_NOTINITIALIZED;
663  }
664 
666 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DDERR_NOTINITIALIZED
Definition: ddraw.h:185
smooth NULL
Definition: ftsmooth.c:416
#define DDERR_ALREADYINITIALIZED
Definition: ddraw.h:67

◆ ThunkDirectDraw2_QueryInterface()

HRESULT WINAPI ThunkDirectDraw2_QueryInterface ( LPDIRECTDRAW2  iface,
REFIID  iid,
LPVOID obj 
)

Definition at line 16 of file ddraw_thunk.c.

17 {
19 
20  return Main_DirectDraw_QueryInterface ((LPDIRECTDRAW7) iface, iid, obj);
21 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
HRESULT WINAPI Main_DirectDraw_QueryInterface(LPDDRAWI_DIRECTDRAW_INT This, REFIID id, LPVOID *obj)
Definition: ddraw_main.c:37

◆ ThunkDirectDraw2_Release()

ULONG WINAPI ThunkDirectDraw2_Release ( LPDIRECTDRAW2  iface)

Definition at line 65 of file ddraw_thunk.c.

66 {
68 
69  return Main_DirectDraw_Release ((LPDIRECTDRAW7) iface);
70 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
ULONG WINAPI Main_DirectDraw_Release(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_main.c:194

◆ ThunkDirectDraw2_RestoreDisplayMode()

HRESULT WINAPI ThunkDirectDraw2_RestoreDisplayMode ( LPDIRECTDRAW2  iface)

Definition at line 691 of file ddraw_thunk.c.

692 {
693  DX_WINDBG_trace();
694 
696 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_RestoreDisplayMode(LPDDRAWI_DIRECTDRAW_INT This)
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw2_SetCooperativeLevel()

HRESULT WINAPI ThunkDirectDraw2_SetCooperativeLevel ( LPDIRECTDRAW2  iface,
HWND  hwnd,
DWORD  dwFlags 
)

Definition at line 715 of file ddraw_thunk.c.

716 {
717  DX_WINDBG_trace();
718 
720 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
HRESULT WINAPI Main_DirectDraw_SetCooperativeLevel(LPDDRAWI_DIRECTDRAW_INT This, HWND hwnd, DWORD cooplevel)

◆ ThunkDirectDraw2_SetDisplayMode()

HRESULT WINAPI ThunkDirectDraw2_SetDisplayMode ( LPDIRECTDRAW2  iface,
DWORD  dwWidth,
DWORD  dwHeight,
DWORD  dwBPP,
DWORD  d,
DWORD  e 
)

Definition at line 739 of file ddraw_thunk.c.

740 {
741  DX_WINDBG_trace();
742 
743  return Main_DirectDraw_SetDisplayMode ((LPDIRECTDRAW7) iface, dwWidth, dwHeight, dwBPP, 0, 0);
744 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_SetDisplayMode(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP)
static const WCHAR dwHeight[]
Definition: provider.c:63
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
static const WCHAR dwWidth[]
Definition: provider.c:62

◆ ThunkDirectDraw2_WaitForVerticalBlank()

HRESULT WINAPI ThunkDirectDraw2_WaitForVerticalBlank ( LPDIRECTDRAW2  iface,
DWORD  dwFlags,
HANDLE  hEvent 
)

Definition at line 763 of file ddraw_thunk.c.

764 {
765  DX_WINDBG_trace();
766 
768 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
static HANDLE hEvent
Definition: comm.c:54
HRESULT WINAPI Main_DirectDraw_WaitForVerticalBlank(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, HANDLE h)
Definition: ddraw_stubs.c:97
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw4_AddRef()

ULONG WINAPI ThunkDirectDraw4_AddRef ( LPDIRECTDRAW4  iface)

Definition at line 49 of file ddraw_thunk.c.

50 {
52 
53  return Main_DirectDraw_AddRef((LPDIRECTDRAW7) iface);
54 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
ULONG WINAPI Main_DirectDraw_AddRef(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_main.c:145
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw4_Compact()

HRESULT WINAPI ThunkDirectDraw4_Compact ( LPDIRECTDRAW4  iface)

Definition at line 97 of file ddraw_thunk.c.

98 {
100 
101  return Main_DirectDraw_Compact((LPDIRECTDRAW7) iface) ;
102 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_Compact(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_main.c:267
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw4_CreateClipper()

HRESULT WINAPI ThunkDirectDraw4_CreateClipper ( LPDIRECTDRAW4  iface,
DWORD  dwFlags,
LPDIRECTDRAWCLIPPER ppClipper,
IUnknown pUnkOuter 
)

Definition at line 121 of file ddraw_thunk.c.

122 {
123  DX_WINDBG_trace();
124 
125  return Main_DirectDraw_CreateClipper( (LPDIRECTDRAW7) iface, dwFlags, ppClipper, pUnkOuter);
126 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_CreateClipper(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
Definition: ddraw_stubs.c:17
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw4_CreatePalette()

HRESULT WINAPI ThunkDirectDraw4_CreatePalette ( LPDIRECTDRAW4  iface,
DWORD  dwFlags,
LPPALETTEENTRY  pEntries,
LPDIRECTDRAWPALETTE ppPalette,
IUnknown pUnkOuter 
)

Definition at line 151 of file ddraw_thunk.c.

153 {
154  DX_WINDBG_trace();
155 
156  return Main_DirectDraw_CreatePalette( (LPDIRECTDRAW7) iface, dwFlags, pEntries, ppPalette, pUnkOuter);
157 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_CreatePalette(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPPALETTEENTRY palent, LPDIRECTDRAWPALETTE *ppPalette, LPUNKNOWN pUnkOuter)
Definition: ddraw_main.c:545
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw4_CreateSurface()

HRESULT WINAPI ThunkDirectDraw4_CreateSurface ( LPDIRECTDRAW4  iface,
LPDDSURFACEDESC2  pDDSD2,
LPDIRECTDRAWSURFACE4 ppSurface,
IUnknown pUnkOuter 
)

Definition at line 225 of file ddraw_thunk.c.

227 {
228  HRESULT retValue;
230 
231  DX_WINDBG_trace();
232 
233 
234  retValue = Main_DirectDraw_CreateSurface ((LPDIRECTDRAW7) iface, pDDSD2,
235  (LPDIRECTDRAWSURFACE7 *) ppSurface, pUnkOuter);
236 
237  That = (LPDDRAWI_DDRAWSURFACE_INT) *ppSurface;
239 
240  return retValue;
241 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
struct _DDRAWI_DDRAWSURFACE_INT * LPDDRAWI_DDRAWSURFACE_INT
Definition: ddrawi.h:132
LONG HRESULT
Definition: typedefs.h:77
HRESULT WINAPI Main_DirectDraw_CreateSurface(LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC pDDSD, LPDDRAWI_DDRAWSURFACE_INT *ppSurf, IUnknown *pUnkOuter)
Definition: ddraw_main.c:478
IDirectDrawSurface3Vtbl DirectDrawSurface3_VTable
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ ThunkDirectDraw4_DuplicateSurface()

HRESULT WINAPI ThunkDirectDraw4_DuplicateSurface ( LPDIRECTDRAW4  iface,
LPDIRECTDRAWSURFACE4  src,
LPDIRECTDRAWSURFACE4 dst 
)

Definition at line 262 of file ddraw_thunk.c.

263 {
264  DX_WINDBG_trace();
265 
268 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
GLenum src
Definition: glext.h:6340
HRESULT WINAPI Main_DirectDraw_DuplicateSurface(LPDDRAWI_DIRECTDRAW_INT This, LPDIRECTDRAWSURFACE7 src, LPDIRECTDRAWSURFACE7 *dst)
Definition: ddraw_stubs.c:26
GLenum GLenum dst
Definition: glext.h:6340
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ ThunkDirectDraw4_EnumDisplayModes()

HRESULT WINAPI ThunkDirectDraw4_EnumDisplayModes ( LPDIRECTDRAW4  iface,
DWORD  dwFlags,
LPDDSURFACEDESC2  pDDSD,
LPVOID  context,
LPDDENUMMODESCALLBACK2  cb 
)

Definition at line 329 of file ddraw_thunk.c.

332 {
333  DX_WINDBG_trace();
334 
336 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
Definition: http.c:6587
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HRESULT WINAPI Main_DirectDraw_EnumDisplayModes(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID pContext, LPDDENUMMODESCALLBACK pCallback)
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32

◆ ThunkDirectDraw4_EnumSurfaces()

HRESULT WINAPI ThunkDirectDraw4_EnumSurfaces ( LPDIRECTDRAW4  iface,
DWORD  dwFlags,
LPDDSURFACEDESC2  pDDSD,
LPVOID  context,
LPDDENUMSURFACESCALLBACK2  cb 
)

Definition at line 401 of file ddraw_thunk.c.

404 {
405  DX_WINDBG_trace();
406 
408 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK7)(LPDIRECTDRAWSURFACE7, LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1262
Definition: http.c:6587
HRESULT WINAPI Main_DirectDraw_EnumSurfaces(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDDSURFACEDESC lpDDSD2, LPVOID context, LPDDENUMSURFACESCALLBACK callback)
Definition: ddraw_stubs.c:34
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32

◆ ThunkDirectDraw4_FlipToGDISurface()

HRESULT WINAPI ThunkDirectDraw4_FlipToGDISurface ( LPDIRECTDRAW4  iface)

Definition at line 429 of file ddraw_thunk.c.

430 {
431  DX_WINDBG_trace();
432 
434 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_FlipToGDISurface(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_stubs.c:64
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw4_GetCaps()

HRESULT WINAPI ThunkDirectDraw4_GetCaps ( LPDIRECTDRAW4  iface,
LPDDCAPS  pDDC1,
LPDDCAPS  pDDC2 
)

Definition at line 453 of file ddraw_thunk.c.

454 {
455  DX_WINDBG_trace();
456 
457  return Main_DirectDraw_GetCaps((LPDIRECTDRAW7) iface, pDDC1, pDDC2);
458 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_GetCaps(LPDDRAWI_DIRECTDRAW_INT This, LPDDCAPS pDriverCaps, LPDDCAPS pHELCaps)
Definition: GetCaps.c:23
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw4_GetDeviceIdentifier()

HRESULT WINAPI ThunkDirectDraw4_GetDeviceIdentifier ( LPDIRECTDRAW4  iface,
LPDDDEVICEIDENTIFIER  pDDDI,
DWORD  dwFlags 
)

Definition at line 809 of file ddraw_thunk.c.

811 {
812  HRESULT retValue = DDERR_GENERIC;
813 
814  DX_WINDBG_trace();
815 
816  if (pDDDI != NULL)
817  {
818 
819  DDDEVICEIDENTIFIER2 pDDDI2;
820  ZeroMemory(&pDDDI2,sizeof(DDDEVICEIDENTIFIER2));
821  memcpy(&pDDDI2, pDDDI, sizeof(DDDEVICEIDENTIFIER));
822  retValue = Main_DirectDraw_GetDeviceIdentifier((LPDIRECTDRAW7) iface, &pDDDI2, dwFlags);
823  memcpy(pDDDI, &pDDDI2, sizeof(DDDEVICEIDENTIFIER));
824  }
825  else
826  {
828  }
829 
830  return retValue;
831 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define ZeroMemory
Definition: winbase.h:1642
smooth NULL
Definition: ftsmooth.c:416
#define DDERR_GENERIC
Definition: ddraw.h:72
LONG HRESULT
Definition: typedefs.h:77
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
HRESULT WINAPI Main_DirectDraw_GetDeviceIdentifier(LPDDRAWI_DIRECTDRAW_INT This, LPDDDEVICEIDENTIFIER pDDDI, DWORD dwFlags)
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw4_GetDisplayMode()

HRESULT WINAPI ThunkDirectDraw4_GetDisplayMode ( LPDIRECTDRAW4  iface,
LPDDSURFACEDESC2  pDDSD2 
)

Definition at line 512 of file ddraw_thunk.c.

513 {
514  DX_WINDBG_trace();
515 
516  return Main_DirectDraw_GetDisplayMode((LPDIRECTDRAW7) iface, pDDSD2);
517 }
HRESULT WINAPI Main_DirectDraw_GetDisplayMode(LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC pDDSD)
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw4_GetFourCCCodes()

HRESULT WINAPI ThunkDirectDraw4_GetFourCCCodes ( LPDIRECTDRAW4  iface,
LPDWORD  pNumCodes,
LPDWORD  pCodes 
)

Definition at line 538 of file ddraw_thunk.c.

540 {
541  DX_WINDBG_trace();
542 
543  return Main_DirectDraw_GetFourCCCodes((LPDIRECTDRAW7) iface, pNumCodes, pCodes);
544 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_GetFourCCCodes(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpNumCodes, LPDWORD lpCodes)
Definition: ddraw_main.c:418
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw4_GetGDISurface()

HRESULT WINAPI ThunkDirectDraw4_GetGDISurface ( LPDIRECTDRAW4  iface,
LPDIRECTDRAWSURFACE4 lplpGDIDDSSurface 
)

Definition at line 563 of file ddraw_thunk.c.

564 {
565  DX_WINDBG_trace();
566 
567  return Main_DirectDraw_GetGDISurface((LPDIRECTDRAW7) iface, (LPDIRECTDRAWSURFACE7 *) lplpGDIDDSSurface);
568 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_GetGDISurface(LPDDRAWI_DIRECTDRAW_INT This, LPDIRECTDRAWSURFACE7 *lplpGDIDDSSurface)
Definition: ddraw_stubs.c:72
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ ThunkDirectDraw4_GetMonitorFrequency()

HRESULT WINAPI ThunkDirectDraw4_GetMonitorFrequency ( LPDIRECTDRAW4  iface,
LPDWORD  pdwFreq 
)

Definition at line 587 of file ddraw_thunk.c.

588 {
589  DX_WINDBG_trace();
590 
591  return Main_DirectDraw_GetMonitorFrequency((LPDIRECTDRAW7) iface, pdwFreq);
592 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_GetMonitorFrequency(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpFreq)
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw4_GetScanLine()

HRESULT WINAPI ThunkDirectDraw4_GetScanLine ( LPDIRECTDRAW4  iface,
LPDWORD  lpdwScanLine 
)

Definition at line 611 of file ddraw_thunk.c.

612 {
613  DX_WINDBG_trace();
614 
615  return Main_DirectDraw_GetScanLine((LPDIRECTDRAW7) iface, lpdwScanLine);
616 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
HRESULT WINAPI Main_DirectDraw_GetScanLine(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpdwScanLine)
Definition: ddraw_stubs.c:80

◆ ThunkDirectDraw4_GetSurfaceFromDC()

HRESULT WINAPI ThunkDirectDraw4_GetSurfaceFromDC ( LPDIRECTDRAW4  iface,
HDC  hdc,
LPDIRECTDRAWSURFACE4 pSurf 
)

Definition at line 783 of file ddraw_thunk.c.

784 {
785  DX_WINDBG_trace();
786 
788 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_GetSurfaceFromDC(LPDDRAWI_DIRECTDRAW_INT This, HDC hdc, LPDIRECTDRAWSURFACE7 *lpDDS)
Definition: ddraw_stubs.c:104
HDC hdc
Definition: main.c:9
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ ThunkDirectDraw4_GetVerticalBlankStatus()

HRESULT WINAPI ThunkDirectDraw4_GetVerticalBlankStatus ( LPDIRECTDRAW4  iface,
LPBOOL  lpbIsInVB 
)

Definition at line 635 of file ddraw_thunk.c.

636 {
637  DX_WINDBG_trace();
638 
639  return Main_DirectDraw_GetVerticalBlankStatus((LPDIRECTDRAW7) iface, lpbIsInVB);
640 }
HRESULT WINAPI Main_DirectDraw_GetVerticalBlankStatus(LPDDRAWI_DIRECTDRAW_INT This, LPBOOL lpbIsInVB)
Definition: ddraw_stubs.c:87
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw4_Initialize()

HRESULT WINAPI ThunkDirectDraw4_Initialize ( LPDIRECTDRAW4  iface,
LPGUID  pGUID 
)

Definition at line 669 of file ddraw_thunk.c.

670 {
671  DX_WINDBG_trace();
672 
673  if (iface==NULL)
674  {
675  return DDERR_NOTINITIALIZED;
676  }
677 
679 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DDERR_NOTINITIALIZED
Definition: ddraw.h:185
smooth NULL
Definition: ftsmooth.c:416
#define DDERR_ALREADYINITIALIZED
Definition: ddraw.h:67

◆ ThunkDirectDraw4_QueryInterface()

HRESULT WINAPI ThunkDirectDraw4_QueryInterface ( LPDIRECTDRAW4  iface,
REFIID  iid,
LPVOID ppObj 
)

Definition at line 25 of file ddraw_thunk.c.

26 {
28 
29  return Main_DirectDraw_QueryInterface ((LPDIRECTDRAW7) iface, iid, ppObj);
30 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
HRESULT WINAPI Main_DirectDraw_QueryInterface(LPDDRAWI_DIRECTDRAW_INT This, REFIID id, LPVOID *obj)
Definition: ddraw_main.c:37

◆ ThunkDirectDraw4_Release()

ULONG WINAPI ThunkDirectDraw4_Release ( LPDIRECTDRAW4  iface)

Definition at line 73 of file ddraw_thunk.c.

74 {
76 
77  return Main_DirectDraw_Release ((LPDIRECTDRAW7) iface);
78 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
ULONG WINAPI Main_DirectDraw_Release(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_main.c:194

◆ ThunkDirectDraw4_RestoreAllSurfaces()

HRESULT WINAPI ThunkDirectDraw4_RestoreAllSurfaces ( LPDIRECTDRAW4  iface)

Definition at line 791 of file ddraw_thunk.c.

792 {
793  DX_WINDBG_trace();
794 
796 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_RestoreAllSurfaces(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_stubs.c:111
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw4_RestoreDisplayMode()

HRESULT WINAPI ThunkDirectDraw4_RestoreDisplayMode ( LPDIRECTDRAW4  iface)

Definition at line 699 of file ddraw_thunk.c.

700 {
701  DX_WINDBG_trace();
702 
704 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_RestoreDisplayMode(LPDDRAWI_DIRECTDRAW_INT This)
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw4_SetCooperativeLevel()

HRESULT WINAPI ThunkDirectDraw4_SetCooperativeLevel ( LPDIRECTDRAW4  iface,
HWND  hwnd,
DWORD  dwFlags 
)

Definition at line 723 of file ddraw_thunk.c.

724 {
725  DX_WINDBG_trace();
726 
728 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
HRESULT WINAPI Main_DirectDraw_SetCooperativeLevel(LPDDRAWI_DIRECTDRAW_INT This, HWND hwnd, DWORD cooplevel)

◆ ThunkDirectDraw4_SetDisplayMode()

HRESULT WINAPI ThunkDirectDraw4_SetDisplayMode ( LPDIRECTDRAW4  iface,
DWORD  dwWidth,
DWORD  dwHeight,
DWORD  dwBPP,
DWORD  d,
DWORD  e 
)

Definition at line 747 of file ddraw_thunk.c.

748 {
749  DX_WINDBG_trace();
750 
751  return Main_DirectDraw_SetDisplayMode ((LPDIRECTDRAW7) iface, dwWidth, dwHeight, dwBPP, 0, 0);
752 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_SetDisplayMode(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP)
static const WCHAR dwHeight[]
Definition: provider.c:63
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
static const WCHAR dwWidth[]
Definition: provider.c:62

◆ ThunkDirectDraw4_TestCooperativeLevel()

HRESULT WINAPI ThunkDirectDraw4_TestCooperativeLevel ( LPDIRECTDRAW4  iface)

Definition at line 799 of file ddraw_thunk.c.

800 {
801  DX_WINDBG_trace();
802 
804 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_TestCooperativeLevel(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_stubs.c:117
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw4_WaitForVerticalBlank()

HRESULT WINAPI ThunkDirectDraw4_WaitForVerticalBlank ( LPDIRECTDRAW4  iface,
DWORD  dwFlags,
HANDLE  hEvent 
)

Definition at line 771 of file ddraw_thunk.c.

772 {
773  DX_WINDBG_trace();
774 
776 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
static HANDLE hEvent
Definition: comm.c:54
HRESULT WINAPI Main_DirectDraw_WaitForVerticalBlank(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, HANDLE h)
Definition: ddraw_stubs.c:97
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw_AddRef()

ULONG WINAPI ThunkDirectDraw_AddRef ( LPDIRECTDRAW  iface)

Definition at line 33 of file ddraw_thunk.c.

34 {
36 
37  return Main_DirectDraw_AddRef((LPDIRECTDRAW7) iface);
38 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
ULONG WINAPI Main_DirectDraw_AddRef(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_main.c:145
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw_Compact()

HRESULT WINAPI ThunkDirectDraw_Compact ( LPDIRECTDRAW  iface)

Definition at line 81 of file ddraw_thunk.c.

82 {
84 
85  return Main_DirectDraw_Compact((LPDIRECTDRAW7) iface) ;
86 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_Compact(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_main.c:267
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw_CreateClipper()

HRESULT WINAPI ThunkDirectDraw_CreateClipper ( LPDIRECTDRAW  iface,
DWORD  dwFlags,
LPDIRECTDRAWCLIPPER ppClipper,
IUnknown pUnkOuter 
)

Definition at line 105 of file ddraw_thunk.c.

106 {
107  DX_WINDBG_trace();
108 
109  return Main_DirectDraw_CreateClipper( (LPDIRECTDRAW7) iface, dwFlags, ppClipper, pUnkOuter);
110 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_CreateClipper(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
Definition: ddraw_stubs.c:17
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw_CreatePalette()

HRESULT WINAPI ThunkDirectDraw_CreatePalette ( LPDIRECTDRAW  iface,
DWORD  dwFlags,
LPPALETTEENTRY  pEntries,
LPDIRECTDRAWPALETTE ppPalette,
IUnknown pUnkOuter 
)

Definition at line 129 of file ddraw_thunk.c.

133 {
134  DX_WINDBG_trace();
135 
136  return Main_DirectDraw_CreatePalette( (LPDIRECTDRAW7) iface, dwFlags, pEntries, ppPalette, pUnkOuter);
137 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_CreatePalette(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPPALETTEENTRY palent, LPDIRECTDRAWPALETTE *ppPalette, LPUNKNOWN pUnkOuter)
Definition: ddraw_main.c:545
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw_CreateSurface()

HRESULT WINAPI ThunkDirectDraw_CreateSurface ( LPDIRECTDRAW  iface,
LPDDSURFACEDESC  pDDSD,
LPDIRECTDRAWSURFACE ppSurf,
IUnknown pUnkOuter 
)

Definition at line 160 of file ddraw_thunk.c.

163 {
164  HRESULT retValue = DDERR_GENERIC;
166 
167  DX_WINDBG_trace();
168 
169  if (pDDSD != NULL)
170  {
171  DDSURFACEDESC2 pDDSD2;
172  ZeroMemory(&pDDSD2,sizeof(DDSURFACEDESC2));
173  memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC));
174  pDDSD2.dwSize = sizeof(DDSURFACEDESC2);
175  retValue = Main_DirectDraw_CreateSurface ((LPDIRECTDRAW7) iface, &pDDSD2,
176  (LPDIRECTDRAWSURFACE7 *) ppSurf, pUnkOuter);
177  memcpy(pDDSD, &pDDSD2, sizeof(DDSURFACEDESC));
178  pDDSD->dwSize = sizeof(DDSURFACEDESC);
179  }
180  else
181  {
182  retValue = Main_DirectDraw_CreateSurface ((LPDIRECTDRAW7) iface, NULL,
183  (LPDIRECTDRAWSURFACE7 *) ppSurf, pUnkOuter);
184  }
185 
186  That = (LPDDRAWI_DDRAWSURFACE_INT) *ppSurf;
188 
189  return retValue;
190 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define ZeroMemory
Definition: winbase.h:1642
void DDSURFACEDESC
Definition: amvideo.idl:24
smooth NULL
Definition: ftsmooth.c:416
#define DDERR_GENERIC
Definition: ddraw.h:72
struct _DDRAWI_DDRAWSURFACE_INT * LPDDRAWI_DDRAWSURFACE_INT
Definition: ddrawi.h:132
LONG HRESULT
Definition: typedefs.h:77
DWORD dwSize
Definition: ddraw.h:1152
HRESULT WINAPI Main_DirectDraw_CreateSurface(LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC pDDSD, LPDDRAWI_DDRAWSURFACE_INT *ppSurf, IUnknown *pUnkOuter)
Definition: ddraw_main.c:478
IDirectDrawSurface3Vtbl DirectDrawSurface3_VTable
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
struct _DDSURFACEDESC2 DDSURFACEDESC2
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ ThunkDirectDraw_DuplicateSurface()

HRESULT WINAPI ThunkDirectDraw_DuplicateSurface ( LPDIRECTDRAW  iface,
LPDIRECTDRAWSURFACE  src,
LPDIRECTDRAWSURFACE dst 
)

Definition at line 244 of file ddraw_thunk.c.

245 {
246  DX_WINDBG_trace();
247 
250 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
GLenum src
Definition: glext.h:6340
HRESULT WINAPI Main_DirectDraw_DuplicateSurface(LPDDRAWI_DIRECTDRAW_INT This, LPDIRECTDRAWSURFACE7 src, LPDIRECTDRAWSURFACE7 *dst)
Definition: ddraw_stubs.c:26
GLenum GLenum dst
Definition: glext.h:6340
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ ThunkDirectDraw_EnumDisplayModes()

HRESULT WINAPI ThunkDirectDraw_EnumDisplayModes ( LPDIRECTDRAW  iface,
DWORD  dwFlags,
LPDDSURFACEDESC  pDDSD,
LPVOID  context,
LPDDENUMMODESCALLBACK  cb 
)

Definition at line 271 of file ddraw_thunk.c.

274 {
275  HRESULT retValue = DDERR_GENERIC;
276 
277  DX_WINDBG_trace();
278 
279  if (pDDSD != NULL)
280  {
281  DDSURFACEDESC2 pDDSD2;
282  ZeroMemory(&pDDSD2,sizeof(DDSURFACEDESC2));
283  memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC));
284  pDDSD2.dwSize = sizeof(DDSURFACEDESC2);
285  retValue = Main_DirectDraw_EnumDisplayModes((LPDIRECTDRAW7) iface, dwFlags, &pDDSD2,
287  memcpy(pDDSD, &pDDSD2, sizeof(DDSURFACEDESC));
288  pDDSD->dwSize = sizeof(DDSURFACEDESC);
289  }
290  else
291  {
294  }
295 
296  return retValue;
297 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT(WINAPI * LPDDENUMMODESCALLBACK2)(LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1259
Definition: http.c:6587
#define ZeroMemory
Definition: winbase.h:1642
void DDSURFACEDESC
Definition: amvideo.idl:24
smooth NULL
Definition: ftsmooth.c:416
#define DDERR_GENERIC
Definition: ddraw.h:72
LONG HRESULT
Definition: typedefs.h:77
DWORD dwSize
Definition: ddraw.h:1152
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HRESULT WINAPI Main_DirectDraw_EnumDisplayModes(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID pContext, LPDDENUMMODESCALLBACK pCallback)
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32
struct _DDSURFACEDESC2 DDSURFACEDESC2

◆ ThunkDirectDraw_EnumSurfaces()

HRESULT WINAPI ThunkDirectDraw_EnumSurfaces ( LPDIRECTDRAW  iface,
DWORD  dwFlags,
LPDDSURFACEDESC  pDDSD,
LPVOID  context,
LPDDENUMSURFACESCALLBACK  cb 
)

Definition at line 343 of file ddraw_thunk.c.

346 {
347  HRESULT retValue = DDERR_GENERIC;
348 
349  DX_WINDBG_trace();
350 
351  if (pDDSD != NULL)
352  {
353  DDSURFACEDESC2 pDDSD2;
354  ZeroMemory(&pDDSD2,sizeof(DDSURFACEDESC2));
355  memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC));
356  pDDSD2.dwSize = sizeof(DDSURFACEDESC2);
357  retValue = Main_DirectDraw_EnumSurfaces((LPDIRECTDRAW7) iface, dwFlags, &pDDSD2,
359  memcpy(pDDSD, &pDDSD2, sizeof(DDSURFACEDESC));
360  pDDSD->dwSize = sizeof(DDSURFACEDESC);
361  }
362  else
363  {
366  }
367 
368  return retValue;
369 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK7)(LPDIRECTDRAWSURFACE7, LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1262
Definition: http.c:6587
#define ZeroMemory
Definition: winbase.h:1642
void DDSURFACEDESC
Definition: amvideo.idl:24
smooth NULL
Definition: ftsmooth.c:416
HRESULT WINAPI Main_DirectDraw_EnumSurfaces(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, LPDDSURFACEDESC lpDDSD2, LPVOID context, LPDDENUMSURFACESCALLBACK callback)
Definition: ddraw_stubs.c:34
#define DDERR_GENERIC
Definition: ddraw.h:72
LONG HRESULT
Definition: typedefs.h:77
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
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32
struct _DDSURFACEDESC2 DDSURFACEDESC2

◆ ThunkDirectDraw_FlipToGDISurface()

HRESULT WINAPI ThunkDirectDraw_FlipToGDISurface ( LPDIRECTDRAW  iface)

Definition at line 413 of file ddraw_thunk.c.

414 {
415  DX_WINDBG_trace();
416 
418 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_FlipToGDISurface(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_stubs.c:64
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw_GetCaps()

HRESULT WINAPI ThunkDirectDraw_GetCaps ( LPDIRECTDRAW  iface,
LPDDCAPS  pDDC1,
LPDDCAPS  pDDC2 
)

Definition at line 437 of file ddraw_thunk.c.

438 {
439  DX_WINDBG_trace();
440 
441  return Main_DirectDraw_GetCaps((LPDIRECTDRAW7) iface, pDDC1, pDDC2);
442 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_GetCaps(LPDDRAWI_DIRECTDRAW_INT This, LPDDCAPS pDriverCaps, LPDDCAPS pHELCaps)
Definition: GetCaps.c:23
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw_GetDisplayMode()

HRESULT WINAPI ThunkDirectDraw_GetDisplayMode ( LPDIRECTDRAW  iface,
LPDDSURFACEDESC  pDDSD 
)

Definition at line 461 of file ddraw_thunk.c.

462 {
463 
464  HRESULT retValue = DDERR_GENERIC;
465 
466  DX_WINDBG_trace();
467 
468  if (pDDSD != NULL)
469  {
470  DDSURFACEDESC2 pDDSD2;
471  ZeroMemory(&pDDSD2,sizeof(DDSURFACEDESC2));
472  memcpy(&pDDSD2, pDDSD, sizeof(DDSURFACEDESC));
473  pDDSD2.dwSize = sizeof(DDSURFACEDESC2);
474  retValue = Main_DirectDraw_GetDisplayMode((LPDIRECTDRAW7) iface, &pDDSD2);
475  memcpy(pDDSD, &pDDSD2, sizeof(DDSURFACEDESC));
476  pDDSD->dwSize = sizeof(DDSURFACEDESC);
477  }
478  else
479  {
481  }
482 
483  return retValue;
484 }
HRESULT WINAPI Main_DirectDraw_GetDisplayMode(LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC pDDSD)
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define ZeroMemory
Definition: winbase.h:1642
void DDSURFACEDESC
Definition: amvideo.idl:24
smooth NULL
Definition: ftsmooth.c:416
#define DDERR_GENERIC
Definition: ddraw.h:72
LONG HRESULT
Definition: typedefs.h:77
DWORD dwSize
Definition: ddraw.h:1152
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
struct _DDSURFACEDESC2 DDSURFACEDESC2

◆ ThunkDirectDraw_GetFourCCCodes()

HRESULT WINAPI ThunkDirectDraw_GetFourCCCodes ( LPDIRECTDRAW  iface,
LPDWORD  pNumCodes,
LPDWORD  pCodes 
)

Definition at line 520 of file ddraw_thunk.c.

522 {
523  DX_WINDBG_trace();
524 
525  return Main_DirectDraw_GetFourCCCodes((LPDIRECTDRAW7) iface, pNumCodes, pCodes);
526 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_GetFourCCCodes(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpNumCodes, LPDWORD lpCodes)
Definition: ddraw_main.c:418
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw_GetGDISurface()

HRESULT WINAPI ThunkDirectDraw_GetGDISurface ( LPDIRECTDRAW  iface,
LPDIRECTDRAWSURFACE lplpGDIDDSSurface 
)

Definition at line 547 of file ddraw_thunk.c.

548 {
549  DX_WINDBG_trace();
550 
551  return Main_DirectDraw_GetGDISurface((LPDIRECTDRAW7) iface, (LPDIRECTDRAWSURFACE7 *) lplpGDIDDSSurface);
552 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_GetGDISurface(LPDDRAWI_DIRECTDRAW_INT This, LPDIRECTDRAWSURFACE7 *lplpGDIDDSSurface)
Definition: ddraw_stubs.c:72
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
DWORD * LPDIRECTDRAWSURFACE7
Definition: vmrender.idl:7

◆ ThunkDirectDraw_GetMonitorFrequency()

HRESULT WINAPI ThunkDirectDraw_GetMonitorFrequency ( LPDIRECTDRAW  iface,
LPDWORD  pdwFreq 
)

Definition at line 571 of file ddraw_thunk.c.

572 {
573  DX_WINDBG_trace();
574 
575  return Main_DirectDraw_GetMonitorFrequency((LPDIRECTDRAW7) iface, pdwFreq);
576 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_GetMonitorFrequency(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpFreq)
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw_GetScanLine()

HRESULT WINAPI ThunkDirectDraw_GetScanLine ( LPDIRECTDRAW  iface,
LPDWORD  lpdwScanLine 
)

Definition at line 595 of file ddraw_thunk.c.

596 {
597  DX_WINDBG_trace();
598 
599  return Main_DirectDraw_GetScanLine((LPDIRECTDRAW7) iface, lpdwScanLine);
600 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
HRESULT WINAPI Main_DirectDraw_GetScanLine(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpdwScanLine)
Definition: ddraw_stubs.c:80

◆ ThunkDirectDraw_GetVerticalBlankStatus()

HRESULT WINAPI ThunkDirectDraw_GetVerticalBlankStatus ( LPDIRECTDRAW  iface,
LPBOOL  lpbIsInVB 
)

Definition at line 619 of file ddraw_thunk.c.

620 {
621  DX_WINDBG_trace();
622 
623  return Main_DirectDraw_GetVerticalBlankStatus((LPDIRECTDRAW7) iface, lpbIsInVB);
624 }
HRESULT WINAPI Main_DirectDraw_GetVerticalBlankStatus(LPDDRAWI_DIRECTDRAW_INT This, LPBOOL lpbIsInVB)
Definition: ddraw_stubs.c:87
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw_Initialize()

HRESULT WINAPI ThunkDirectDraw_Initialize ( LPDIRECTDRAW  iface,
LPGUID  pGUID 
)

Definition at line 643 of file ddraw_thunk.c.

644 {
645  DX_WINDBG_trace();
646 
647  if (iface==NULL)
648  {
649  return DDERR_NOTINITIALIZED;
650  }
651 
653 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DDERR_NOTINITIALIZED
Definition: ddraw.h:185
smooth NULL
Definition: ftsmooth.c:416
#define DDERR_ALREADYINITIALIZED
Definition: ddraw.h:67

◆ ThunkDirectDraw_QueryInterface()

HRESULT WINAPI ThunkDirectDraw_QueryInterface ( LPDIRECTDRAW  iface,
REFIID  iid,
LPVOID ppObj 
)

Definition at line 8 of file ddraw_thunk.c.

9 {
11 
12  return Main_DirectDraw_QueryInterface ((LPDIRECTDRAW7) iface, iid, ppObj);
13 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
HRESULT WINAPI Main_DirectDraw_QueryInterface(LPDDRAWI_DIRECTDRAW_INT This, REFIID id, LPVOID *obj)
Definition: ddraw_main.c:37

◆ ThunkDirectDraw_Release()

ULONG WINAPI ThunkDirectDraw_Release ( LPDIRECTDRAW  iface)

Definition at line 57 of file ddraw_thunk.c.

58 {
60 
61  return Main_DirectDraw_Release ((LPDIRECTDRAW7) iface);
62 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
ULONG WINAPI Main_DirectDraw_Release(LPDDRAWI_DIRECTDRAW_INT This)
Definition: ddraw_main.c:194

◆ ThunkDirectDraw_RestoreDisplayMode()

HRESULT WINAPI ThunkDirectDraw_RestoreDisplayMode ( LPDIRECTDRAW  iface)

Definition at line 683 of file ddraw_thunk.c.

684 {
685  DX_WINDBG_trace();
686 
688 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_RestoreDisplayMode(LPDDRAWI_DIRECTDRAW_INT This)
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

◆ ThunkDirectDraw_SetCooperativeLevel()

HRESULT WINAPI ThunkDirectDraw_SetCooperativeLevel ( LPDIRECTDRAW  iface,
HWND  hwnd,
DWORD  dwFlags 
)

Definition at line 707 of file ddraw_thunk.c.

708 {
709  DX_WINDBG_trace();
710 
712 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
HRESULT WINAPI Main_DirectDraw_SetCooperativeLevel(LPDDRAWI_DIRECTDRAW_INT This, HWND hwnd, DWORD cooplevel)

◆ ThunkDirectDraw_SetDisplayMode()

HRESULT WINAPI ThunkDirectDraw_SetDisplayMode ( LPDIRECTDRAW  iface,
DWORD  dwWidth,
DWORD  dwHeight,
DWORD  dwBPP 
)

Definition at line 731 of file ddraw_thunk.c.

732 {
733  DX_WINDBG_trace();
734 
735  return Main_DirectDraw_SetDisplayMode ((LPDIRECTDRAW7) iface, dwWidth, dwHeight, dwBPP, 0, 0);
736 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DirectDraw_SetDisplayMode(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP)
static const WCHAR dwHeight[]
Definition: provider.c:63
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4
static const WCHAR dwWidth[]
Definition: provider.c:62

◆ ThunkDirectDraw_WaitForVerticalBlank()

HRESULT WINAPI ThunkDirectDraw_WaitForVerticalBlank ( LPDIRECTDRAW  iface,
DWORD  dwFlags,
HANDLE  hEvent 
)

Definition at line 755 of file ddraw_thunk.c.

756 {
757  DX_WINDBG_trace();
758 
760 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
static HANDLE hEvent
Definition: comm.c:54
HRESULT WINAPI Main_DirectDraw_WaitForVerticalBlank(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, HANDLE h)
Definition: ddraw_stubs.c:97
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DWORD * LPDIRECTDRAW7
Definition: vmrender.idl:4

Variable Documentation

◆ DirectDraw2_Vtable

IDirectDraw2Vtbl DirectDraw2_Vtable
Initial value:
=
{
ThunkDirectDraw2_GetAvailableVidMem
}
HRESULT WINAPI ThunkDirectDraw2_CreateClipper(LPDIRECTDRAW2 iface, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
Definition: ddraw_thunk.c:113
HRESULT WINAPI ThunkDirectDraw2_Initialize(LPDIRECTDRAW2 iface, LPGUID pGUID)
Definition: ddraw_thunk.c:656
HRESULT WINAPI ThunkDirectDraw2_GetFourCCCodes(LPDIRECTDRAW2 iface, LPDWORD pNumCodes, LPDWORD pCodes)
Definition: ddraw_thunk.c:529
HRESULT WINAPI ThunkDirectDraw2_RestoreDisplayMode(LPDIRECTDRAW2 iface)
Definition: ddraw_thunk.c:691
HRESULT WINAPI ThunkDirectDraw2_Compact(LPDIRECTDRAW2 iface)
Definition: ddraw_thunk.c:89
HRESULT WINAPI ThunkDirectDraw2_DuplicateSurface(LPDIRECTDRAW2 iface, LPDIRECTDRAWSURFACE src, LPDIRECTDRAWSURFACE *dst)
Definition: ddraw_thunk.c:253
HRESULT WINAPI ThunkDirectDraw2_GetCaps(LPDIRECTDRAW2 iface, LPDDCAPS pDDC1, LPDDCAPS pDDC2)
Definition: ddraw_thunk.c:445
HRESULT WINAPI ThunkDirectDraw2_GetGDISurface(LPDIRECTDRAW2 iface, LPDIRECTDRAWSURFACE *lplpGDIDDSSurface)
Definition: ddraw_thunk.c:555
ULONG WINAPI ThunkDirectDraw2_AddRef(LPDIRECTDRAW2 iface)
Definition: ddraw_thunk.c:41
HRESULT WINAPI ThunkDirectDraw2_GetVerticalBlankStatus(LPDIRECTDRAW2 iface, LPBOOL lpbIsInVB)
Definition: ddraw_thunk.c:627
HRESULT WINAPI ThunkDirectDraw2_CreatePalette(LPDIRECTDRAW2 iface, DWORD dwFlags, LPPALETTEENTRY pEntries, LPDIRECTDRAWPALETTE *ppPalette, IUnknown *pUnkOuter)
Definition: ddraw_thunk.c:140
HRESULT WINAPI ThunkDirectDraw2_EnumSurfaces(LPDIRECTDRAW2 iface, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID context, LPDDENUMSURFACESCALLBACK cb)
Definition: ddraw_thunk.c:372
HRESULT WINAPI ThunkDirectDraw2_GetMonitorFrequency(LPDIRECTDRAW2 iface, LPDWORD pdwFreq)
Definition: ddraw_thunk.c:579
HRESULT WINAPI ThunkDirectDraw2_FlipToGDISurface(LPDIRECTDRAW2 iface)
Definition: ddraw_thunk.c:421
HRESULT WINAPI ThunkDirectDraw2_GetDisplayMode(LPDIRECTDRAW2 iface, LPDDSURFACEDESC pDDSD)
Definition: ddraw_thunk.c:487
HRESULT WINAPI ThunkDirectDraw2_CreateSurface(LPDIRECTDRAW2 iface, LPDDSURFACEDESC pDDSD, LPDIRECTDRAWSURFACE *ppSurface, IUnknown *pUnkOuter)
Definition: ddraw_thunk.c:193
HRESULT WINAPI ThunkDirectDraw2_GetScanLine(LPDIRECTDRAW2 iface, LPDWORD lpdwScanLine)
Definition: ddraw_thunk.c:603
HRESULT WINAPI ThunkDirectDraw2_SetDisplayMode(LPDIRECTDRAW2 iface, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD d, DWORD e)
Definition: ddraw_thunk.c:739
HRESULT WINAPI ThunkDirectDraw2_QueryInterface(LPDIRECTDRAW2 iface, REFIID iid, LPVOID *obj)
Definition: ddraw_thunk.c:16
ULONG WINAPI ThunkDirectDraw2_Release(LPDIRECTDRAW2 iface)
Definition: ddraw_thunk.c:65
HRESULT WINAPI ThunkDirectDraw2_WaitForVerticalBlank(LPDIRECTDRAW2 iface, DWORD dwFlags, HANDLE hEvent)
Definition: ddraw_thunk.c:763
HRESULT WINAPI ThunkDirectDraw2_SetCooperativeLevel(LPDIRECTDRAW2 iface, HWND hwnd, DWORD dwFlags)
Definition: ddraw_thunk.c:715
HRESULT WINAPI ThunkDirectDraw2_EnumDisplayModes(LPDIRECTDRAW2 iface, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID context, LPDDENUMMODESCALLBACK cb)
Definition: ddraw_thunk.c:300

Definition at line 862 of file ddraw_thunk.c.

◆ DirectDraw4_Vtable

IDirectDraw4Vtbl DirectDraw4_Vtable

Definition at line 890 of file ddraw_thunk.c.

◆ DirectDraw_Vtable

IDirectDrawVtbl DirectDraw_Vtable
Initial value:
=
{
}
HRESULT WINAPI ThunkDirectDraw_DuplicateSurface(LPDIRECTDRAW iface, LPDIRECTDRAWSURFACE src, LPDIRECTDRAWSURFACE *dst)
Definition: ddraw_thunk.c:244
HRESULT WINAPI ThunkDirectDraw_Compact(LPDIRECTDRAW iface)
Definition: ddraw_thunk.c:81
HRESULT WINAPI ThunkDirectDraw_GetCaps(LPDIRECTDRAW iface, LPDDCAPS pDDC1, LPDDCAPS pDDC2)
Definition: ddraw_thunk.c:437
HRESULT WINAPI ThunkDirectDraw_Initialize(LPDIRECTDRAW iface, LPGUID pGUID)
Definition: ddraw_thunk.c:643
HRESULT WINAPI ThunkDirectDraw_GetGDISurface(LPDIRECTDRAW iface, LPDIRECTDRAWSURFACE *lplpGDIDDSSurface)
Definition: ddraw_thunk.c:547
ULONG WINAPI ThunkDirectDraw_AddRef(LPDIRECTDRAW iface)
Definition: ddraw_thunk.c:33
ULONG WINAPI ThunkDirectDraw_Release(LPDIRECTDRAW iface)
Definition: ddraw_thunk.c:57
HRESULT WINAPI ThunkDirectDraw_GetDisplayMode(LPDIRECTDRAW iface, LPDDSURFACEDESC pDDSD)
Definition: ddraw_thunk.c:461
HRESULT WINAPI ThunkDirectDraw_WaitForVerticalBlank(LPDIRECTDRAW iface, DWORD dwFlags, HANDLE hEvent)
Definition: ddraw_thunk.c:755
HRESULT WINAPI ThunkDirectDraw_CreatePalette(LPDIRECTDRAW iface, DWORD dwFlags, LPPALETTEENTRY pEntries, LPDIRECTDRAWPALETTE *ppPalette, IUnknown *pUnkOuter)
Definition: ddraw_thunk.c:129
HRESULT WINAPI ThunkDirectDraw_CreateClipper(LPDIRECTDRAW iface, DWORD dwFlags, LPDIRECTDRAWCLIPPER *ppClipper, IUnknown *pUnkOuter)
Definition: ddraw_thunk.c:105
HRESULT WINAPI ThunkDirectDraw_GetScanLine(LPDIRECTDRAW iface, LPDWORD lpdwScanLine)
Definition: ddraw_thunk.c:595
HRESULT WINAPI ThunkDirectDraw_FlipToGDISurface(LPDIRECTDRAW iface)
Definition: ddraw_thunk.c:413
HRESULT WINAPI ThunkDirectDraw_GetVerticalBlankStatus(LPDIRECTDRAW iface, LPBOOL lpbIsInVB)
Definition: ddraw_thunk.c:619
HRESULT WINAPI ThunkDirectDraw_GetMonitorFrequency(LPDIRECTDRAW iface, LPDWORD pdwFreq)
Definition: ddraw_thunk.c:571
HRESULT WINAPI ThunkDirectDraw_EnumDisplayModes(LPDIRECTDRAW iface, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID context, LPDDENUMMODESCALLBACK cb)
Definition: ddraw_thunk.c:271
HRESULT WINAPI ThunkDirectDraw_SetDisplayMode(LPDIRECTDRAW iface, DWORD dwWidth, DWORD dwHeight, DWORD dwBPP)
Definition: ddraw_thunk.c:731
HRESULT WINAPI ThunkDirectDraw_EnumSurfaces(LPDIRECTDRAW iface, DWORD dwFlags, LPDDSURFACEDESC pDDSD, LPVOID context, LPDDENUMSURFACESCALLBACK cb)
Definition: ddraw_thunk.c:343
HRESULT WINAPI ThunkDirectDraw_RestoreDisplayMode(LPDIRECTDRAW iface)
Definition: ddraw_thunk.c:683
HRESULT WINAPI ThunkDirectDraw_GetFourCCCodes(LPDIRECTDRAW iface, LPDWORD pNumCodes, LPDWORD pCodes)
Definition: ddraw_thunk.c:520
HRESULT WINAPI ThunkDirectDraw_CreateSurface(LPDIRECTDRAW iface, LPDDSURFACEDESC pDDSD, LPDIRECTDRAWSURFACE *ppSurf, IUnknown *pUnkOuter)
Definition: ddraw_thunk.c:160
HRESULT WINAPI ThunkDirectDraw_SetCooperativeLevel(LPDIRECTDRAW iface, HWND hwnd, DWORD dwFlags)
Definition: ddraw_thunk.c:707
HRESULT WINAPI ThunkDirectDraw_QueryInterface(LPDIRECTDRAW iface, REFIID iid, LPVOID *ppObj)
Definition: ddraw_thunk.c:8

Definition at line 835 of file ddraw_thunk.c.