ReactOS  0.4.14-dev-317-g96040ec
surface_stubs.c File Reference
#include "rosdraw.h"
Include dependency graph for surface_stubs.c:

Go to the source code of this file.

Functions

HRESULT WINAPI Main_DDrawSurface_AddOverlayDirtyRect (LPDDRAWI_DDRAWSURFACE_INT iface, LPRECT pRect)
 
HRESULT WINAPI Main_DDrawSurface_BltFast (LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dstx, DWORD dsty, LPDDRAWI_DDRAWSURFACE_INT src, LPRECT rsrc, DWORD trans)
 
HRESULT WINAPI Main_DDrawSurface_Restore (LPDDRAWI_DDRAWSURFACE_INT iface)
 
HRESULT WINAPI Main_DDrawSurface_BltBatch (LPDDRAWI_DDRAWSURFACE_INT iface, LPDDBLTBATCH pBatch, DWORD dwCount, DWORD dwFlags)
 
HRESULT WINAPI Main_DDrawSurface_ChangeUniquenessValue (LPDDRAWI_DDRAWSURFACE_INT iface)
 
HRESULT WINAPI Main_DDrawSurface_DeleteAttachedSurface (LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags, LPDDRAWI_DDRAWSURFACE_INT pAttach)
 
HRESULT WINAPI Main_DDrawSurface_EnumAttachedSurfaces (LPDDRAWI_DDRAWSURFACE_INT iface, LPVOID context, LPDDENUMSURFACESCALLBACK7 cb)
 
HRESULT WINAPI Main_DDrawSurface_EnumOverlayZOrders (LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags, LPVOID context, LPDDENUMSURFACESCALLBACK7 cb)
 
HRESULT WINAPI Main_DDrawSurface_Flip (LPDDRAWI_DDRAWSURFACE_INT iface, LPDDRAWI_DDRAWSURFACE_INT lpDDSurfaceTargetOverride, DWORD dwFlags)
 
HRESULT WINAPI Main_DDrawSurface_FreePrivateData (LPDDRAWI_DDRAWSURFACE_INT iface, REFGUID tag)
 
HRESULT WINAPI Main_DDrawSurface_GetColorKey (LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags, LPDDCOLORKEY pCKey)
 
HRESULT WINAPI Main_DDrawSurface_GetDDInterface (LPDDRAWI_DDRAWSURFACE_INT iface, LPVOID *pDD)
 
HRESULT WINAPI Main_DDrawSurface_GetFlipStatus (LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags)
 
HRESULT WINAPI Main_DDrawSurface_GetLOD (LPDDRAWI_DDRAWSURFACE_INT iface, LPDWORD pdwMaxLOD)
 
HRESULT WINAPI Main_DDrawSurface_GetOverlayPosition (LPDDRAWI_DDRAWSURFACE_INT iface, LPLONG pX, LPLONG pY)
 
HRESULT WINAPI Main_DDrawSurface_GetPalette (LPDDRAWI_DDRAWSURFACE_INT iface, LPDIRECTDRAWPALETTE *ppPalette)
 
HRESULT WINAPI Main_DDrawSurface_GetPriority (LPDDRAWI_DDRAWSURFACE_INT iface, LPDWORD pdwPriority)
 
HRESULT WINAPI Main_DDrawSurface_GetPrivateData (LPDDRAWI_DDRAWSURFACE_INT iface, REFGUID tag, LPVOID pBuffer, LPDWORD pcbBufferSize)
 
HRESULT WINAPI Main_DDrawSurface_GetUniquenessValue (LPDDRAWI_DDRAWSURFACE_INT iface, LPDWORD pValue)
 
HRESULT WINAPI Main_DDrawSurface_IsLost (LPDDRAWI_DDRAWSURFACE_INT iface)
 
HRESULT WINAPI Main_DDrawSurface_PageLock (LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags)
 
HRESULT WINAPI Main_DDrawSurface_PageUnlock (LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags)
 
HRESULT WINAPI Main_DDrawSurface_SetPalette (LPDDRAWI_DDRAWSURFACE_INT iface, LPDIRECTDRAWPALETTE pPalette)
 
HRESULT WINAPI Main_DDrawSurface_SetPriority (LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwPriority)
 
HRESULT WINAPI Main_DDrawSurface_SetPrivateData (LPDDRAWI_DDRAWSURFACE_INT iface, REFGUID tag, LPVOID pData, DWORD cbSize, DWORD dwFlags)
 
HRESULT WINAPI Main_DDrawSurface_UpdateOverlay (LPDDRAWI_DDRAWSURFACE_INT iface, LPRECT pSrcRect, LPDDRAWI_DDRAWSURFACE_INT pDstSurface, LPRECT pDstRect, DWORD dwFlags, LPDDOVERLAYFX pFX)
 
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayDisplay (LPDDRAWI_DDRAWSURFACE_INT This, DWORD dwFlags)
 
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayZOrder (LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags, LPDDRAWI_DDRAWSURFACE_INT pDDSRef)
 
HRESULT WINAPI Main_DDrawSurface_SetSurfaceDesc (LPDDRAWI_DDRAWSURFACE_INT iface, DDSURFACEDESC2 *DDSD, DWORD Flags)
 
HRESULT WINAPI Main_DDrawSurface_SetLOD (LPDDRAWI_DDRAWSURFACE_INT iface, DWORD MaxLOD)
 

Function Documentation

◆ Main_DDrawSurface_AddOverlayDirtyRect()

HRESULT WINAPI Main_DDrawSurface_AddOverlayDirtyRect ( LPDDRAWI_DDRAWSURFACE_INT  iface,
LPRECT  pRect 
)

Definition at line 17 of file surface_stubs.c.

19 {
21 
22  DX_STUB;
23 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_AddOverlayDirtyRect().

◆ Main_DDrawSurface_BltBatch()

HRESULT WINAPI Main_DDrawSurface_BltBatch ( LPDDRAWI_DDRAWSURFACE_INT  iface,
LPDDBLTBATCH  pBatch,
DWORD  dwCount,
DWORD  dwFlags 
)

Definition at line 45 of file surface_stubs.c.

48 {
50 
51  DX_STUB;
52 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_BltBatch().

◆ Main_DDrawSurface_BltFast()

HRESULT WINAPI Main_DDrawSurface_BltFast ( LPDDRAWI_DDRAWSURFACE_INT  iface,
DWORD  dstx,
DWORD  dsty,
LPDDRAWI_DDRAWSURFACE_INT  src,
LPRECT  rsrc,
DWORD  trans 
)

Definition at line 26 of file surface_stubs.c.

29 {
31 
32  DX_STUB;
33 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_BltFast().

◆ Main_DDrawSurface_ChangeUniquenessValue()

HRESULT WINAPI Main_DDrawSurface_ChangeUniquenessValue ( LPDDRAWI_DDRAWSURFACE_INT  iface)

Definition at line 55 of file surface_stubs.c.

56 {
58 
59  DX_STUB;
60 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_DDrawSurface_DeleteAttachedSurface()

HRESULT WINAPI Main_DDrawSurface_DeleteAttachedSurface ( LPDDRAWI_DDRAWSURFACE_INT  iface,
DWORD  dwFlags,
LPDDRAWI_DDRAWSURFACE_INT  pAttach 
)

Definition at line 63 of file surface_stubs.c.

66 {
68 
69  DX_STUB;
70 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_DeleteAttachedSurface().

◆ Main_DDrawSurface_EnumAttachedSurfaces()

HRESULT WINAPI Main_DDrawSurface_EnumAttachedSurfaces ( LPDDRAWI_DDRAWSURFACE_INT  iface,
LPVOID  context,
LPDDENUMSURFACESCALLBACK7  cb 
)

Definition at line 73 of file surface_stubs.c.

76 {
78 
79  DX_STUB;
80 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_EnumAttachedSurfaces().

◆ Main_DDrawSurface_EnumOverlayZOrders()

HRESULT WINAPI Main_DDrawSurface_EnumOverlayZOrders ( LPDDRAWI_DDRAWSURFACE_INT  iface,
DWORD  dwFlags,
LPVOID  context,
LPDDENUMSURFACESCALLBACK7  cb 
)

Definition at line 83 of file surface_stubs.c.

86 {
88 
89  DX_STUB;
90 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_EnumOverlayZOrders().

◆ Main_DDrawSurface_Flip()

HRESULT WINAPI Main_DDrawSurface_Flip ( LPDDRAWI_DDRAWSURFACE_INT  iface,
LPDDRAWI_DDRAWSURFACE_INT  lpDDSurfaceTargetOverride,
DWORD  dwFlags 
)

Definition at line 93 of file surface_stubs.c.

95 {
97 
98  DX_STUB;
99 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_Flip().

◆ Main_DDrawSurface_FreePrivateData()

HRESULT WINAPI Main_DDrawSurface_FreePrivateData ( LPDDRAWI_DDRAWSURFACE_INT  iface,
REFGUID  tag 
)

Definition at line 102 of file surface_stubs.c.

103 {
104  DX_WINDBG_trace();
105 
106  DX_STUB;
107 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_DDrawSurface_GetColorKey()

HRESULT WINAPI Main_DDrawSurface_GetColorKey ( LPDDRAWI_DDRAWSURFACE_INT  iface,
DWORD  dwFlags,
LPDDCOLORKEY  pCKey 
)

Definition at line 109 of file surface_stubs.c.

111 {
112  //LPDDRAWI_DDRAWSURFACE_INT This = (LPDDRAWI_DDRAWSURFACE_INT)iface;
113 
114  DX_WINDBG_trace();
115 
116  DX_STUB;
117 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_GetColorKey().

◆ Main_DDrawSurface_GetDDInterface()

HRESULT WINAPI Main_DDrawSurface_GetDDInterface ( LPDDRAWI_DDRAWSURFACE_INT  iface,
LPVOID pDD 
)

Definition at line 120 of file surface_stubs.c.

121 {
122  DX_WINDBG_trace();
123 
124  DX_STUB;
125 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_GetDDInterface().

◆ Main_DDrawSurface_GetFlipStatus()

HRESULT WINAPI Main_DDrawSurface_GetFlipStatus ( LPDDRAWI_DDRAWSURFACE_INT  iface,
DWORD  dwFlags 
)

Definition at line 127 of file surface_stubs.c.

128 {
129  DX_WINDBG_trace();
130 
131  DX_STUB;
132 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_GetFlipStatus().

◆ Main_DDrawSurface_GetLOD()

HRESULT WINAPI Main_DDrawSurface_GetLOD ( LPDDRAWI_DDRAWSURFACE_INT  iface,
LPDWORD  pdwMaxLOD 
)

Definition at line 135 of file surface_stubs.c.

136 {
137  DX_WINDBG_trace();
138 
139  DX_STUB;
140 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_DDrawSurface_GetOverlayPosition()

HRESULT WINAPI Main_DDrawSurface_GetOverlayPosition ( LPDDRAWI_DDRAWSURFACE_INT  iface,
LPLONG  pX,
LPLONG  pY 
)

Definition at line 143 of file surface_stubs.c.

145 {
146  DX_WINDBG_trace();
147 
148  DX_STUB;
149 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_GetOverlayPosition().

◆ Main_DDrawSurface_GetPalette()

HRESULT WINAPI Main_DDrawSurface_GetPalette ( LPDDRAWI_DDRAWSURFACE_INT  iface,
LPDIRECTDRAWPALETTE ppPalette 
)

Definition at line 151 of file surface_stubs.c.

153 {
154  DX_WINDBG_trace();
155 
156  DX_STUB;
157 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_GetPalette().

◆ Main_DDrawSurface_GetPriority()

HRESULT WINAPI Main_DDrawSurface_GetPriority ( LPDDRAWI_DDRAWSURFACE_INT  iface,
LPDWORD  pdwPriority 
)

Definition at line 160 of file surface_stubs.c.

162 {
163  DX_WINDBG_trace();
164 
165  DX_STUB;
166 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_DDrawSurface_GetPrivateData()

HRESULT WINAPI Main_DDrawSurface_GetPrivateData ( LPDDRAWI_DDRAWSURFACE_INT  iface,
REFGUID  tag,
LPVOID  pBuffer,
LPDWORD  pcbBufferSize 
)

Definition at line 169 of file surface_stubs.c.

172 {
173  DX_WINDBG_trace();
174 
175  DX_STUB;
176 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_DDrawSurface_GetUniquenessValue()

HRESULT WINAPI Main_DDrawSurface_GetUniquenessValue ( LPDDRAWI_DDRAWSURFACE_INT  iface,
LPDWORD  pValue 
)

Definition at line 179 of file surface_stubs.c.

181 {
182  DX_WINDBG_trace();
183 
184  DX_STUB;
185 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_DDrawSurface_IsLost()

HRESULT WINAPI Main_DDrawSurface_IsLost ( LPDDRAWI_DDRAWSURFACE_INT  iface)

Definition at line 188 of file surface_stubs.c.

189 {
190  DX_WINDBG_trace();
191 
192  //DX_STUB;
193  DX_STUB_str("not implement return not lost\n");
194  return DD_OK;
195 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB_str(x)
Definition: rosdraw.h:254
#define DD_OK
Definition: ddraw.h:186

Referenced by Thunk_DDrawSurface3_IsLost().

◆ Main_DDrawSurface_PageLock()

HRESULT WINAPI Main_DDrawSurface_PageLock ( LPDDRAWI_DDRAWSURFACE_INT  iface,
DWORD  dwFlags 
)

Definition at line 198 of file surface_stubs.c.

199 {
200  DX_WINDBG_trace();
201 
202  DX_STUB;
203 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_PageLock().

◆ Main_DDrawSurface_PageUnlock()

HRESULT WINAPI Main_DDrawSurface_PageUnlock ( LPDDRAWI_DDRAWSURFACE_INT  iface,
DWORD  dwFlags 
)

Definition at line 206 of file surface_stubs.c.

207 {
208  DX_WINDBG_trace();
209 
210  DX_STUB;
211 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_PageUnlock().

◆ Main_DDrawSurface_Restore()

HRESULT WINAPI Main_DDrawSurface_Restore ( LPDDRAWI_DDRAWSURFACE_INT  iface)

Definition at line 36 of file surface_stubs.c.

37 {
39 
40  DX_STUB;
41 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_Restore().

◆ Main_DDrawSurface_SetLOD()

HRESULT WINAPI Main_DDrawSurface_SetLOD ( LPDDRAWI_DDRAWSURFACE_INT  iface,
DWORD  MaxLOD 
)

Definition at line 288 of file surface_stubs.c.

289 {
290  DX_WINDBG_trace();
291 
292  DX_STUB;
293 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_DDrawSurface_SetPalette()

HRESULT WINAPI Main_DDrawSurface_SetPalette ( LPDDRAWI_DDRAWSURFACE_INT  iface,
LPDIRECTDRAWPALETTE  pPalette 
)

Definition at line 214 of file surface_stubs.c.

216 {
217  DX_WINDBG_trace();
218 
219  DX_STUB;
220 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_SetPalette().

◆ Main_DDrawSurface_SetPriority()

HRESULT WINAPI Main_DDrawSurface_SetPriority ( LPDDRAWI_DDRAWSURFACE_INT  iface,
DWORD  dwPriority 
)

Definition at line 223 of file surface_stubs.c.

225 {
226  DX_WINDBG_trace();
227 
228  DX_STUB;
229 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_DDrawSurface_SetPrivateData()

HRESULT WINAPI Main_DDrawSurface_SetPrivateData ( LPDDRAWI_DDRAWSURFACE_INT  iface,
REFGUID  tag,
LPVOID  pData,
DWORD  cbSize,
DWORD  dwFlags 
)

Definition at line 232 of file surface_stubs.c.

235 {
236  DX_WINDBG_trace();
237 
238  DX_STUB;
239 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

◆ Main_DDrawSurface_SetSurfaceDesc()

HRESULT WINAPI Main_DDrawSurface_SetSurfaceDesc ( LPDDRAWI_DDRAWSURFACE_INT  iface,
DDSURFACEDESC2 DDSD,
DWORD  Flags 
)

Definition at line 280 of file surface_stubs.c.

281 {
282  DX_WINDBG_trace();
283 
284  DX_STUB;
285 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_SetSurfaceDesc().

◆ Main_DDrawSurface_UpdateOverlay()

HRESULT WINAPI Main_DDrawSurface_UpdateOverlay ( LPDDRAWI_DDRAWSURFACE_INT  iface,
LPRECT  pSrcRect,
LPDDRAWI_DDRAWSURFACE_INT  pDstSurface,
LPRECT  pDstRect,
DWORD  dwFlags,
LPDDOVERLAYFX  pFX 
)

Definition at line 242 of file surface_stubs.c.

247 {
248  DX_WINDBG_trace();
249 
250  DX_STUB;
251 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_UpdateOverlay().

◆ Main_DDrawSurface_UpdateOverlayDisplay()

HRESULT WINAPI Main_DDrawSurface_UpdateOverlayDisplay ( LPDDRAWI_DDRAWSURFACE_INT  This,
DWORD  dwFlags 
)

Definition at line 256 of file surface_stubs.c.

258 {
259 
260  DX_WINDBG_trace();
261 
262  if (!(This->lpLcl->lpGbl->lpDD->lpDDCBtmp->cbDDSurfaceCallbacks.dwFlags & DDHAL_SURFCB32_UPDATEOVERLAY))
263  {
264  return DDERR_GENERIC;
265  }
266 
267  DX_STUB;
268 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DDHAL_SURFCB32_UPDATEOVERLAY
Definition: ddrawi.h:684
#define DDERR_GENERIC
Definition: ddraw.h:72
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_UpdateOverlayDisplay().

◆ Main_DDrawSurface_UpdateOverlayZOrder()

HRESULT WINAPI Main_DDrawSurface_UpdateOverlayZOrder ( LPDDRAWI_DDRAWSURFACE_INT  iface,
DWORD  dwFlags,
LPDDRAWI_DDRAWSURFACE_INT  pDDSRef 
)

Definition at line 271 of file surface_stubs.c.

273 {
274  DX_WINDBG_trace();
275 
276  DX_STUB;
277 }
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DX_STUB
Definition: rosdraw.h:224

Referenced by Thunk_DDrawSurface3_UpdateOverlayZOrder().