ReactOS  0.4.14-dev-599-g2d4d3f5
surface_stubs.c
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS DirectX
4  * FILE: dll/directx/ddraw/Surface/surface_stubs.c
5  * PURPOSE: IDirectDrawSurface7 Implementation
6  * PROGRAMMER: Magnus Olsen, Maarten Bosma
7  *
8  */
9 
10 #include "rosdraw.h"
11 
12 
13 
14 
15 /* MSDN: "not currently implemented." */
18  LPRECT pRect)
19 {
21 
22  DX_STUB;
23 }
24 
28  LPRECT rsrc, DWORD trans)
29 {
31 
32  DX_STUB;
33 }
34 
37 {
39 
40  DX_STUB;
41 }
42 
43 /* MSDN: "not currently implemented." */
46  LPDDBLTBATCH pBatch, DWORD dwCount,
47  DWORD dwFlags)
48 {
50 
51  DX_STUB;
52 }
53 
56 {
58 
59  DX_STUB;
60 }
61 
64  DWORD dwFlags,
66 {
68 
69  DX_STUB;
70 }
71 
76 {
78 
79  DX_STUB;
80 }
81 
86 {
88 
89  DX_STUB;
90 }
91 
94  LPDDRAWI_DDRAWSURFACE_INT lpDDSurfaceTargetOverride, DWORD dwFlags)
95 {
97 
98  DX_STUB;
99 }
100 
103 {
104  DX_WINDBG_trace();
105 
106  DX_STUB;
107 }
110  LPDDCOLORKEY pCKey)
111 {
112  //LPDDRAWI_DDRAWSURFACE_INT This = (LPDDRAWI_DDRAWSURFACE_INT)iface;
113 
114  DX_WINDBG_trace();
115 
116  DX_STUB;
117 }
118 
121 {
122  DX_WINDBG_trace();
123 
124  DX_STUB;
125 }
128 {
129  DX_WINDBG_trace();
130 
131  DX_STUB;
132 }
133 
136 {
137  DX_WINDBG_trace();
138 
139  DX_STUB;
140 }
141 
144  LPLONG pX, LPLONG pY)
145 {
146  DX_WINDBG_trace();
147 
148  DX_STUB;
149 }
152  LPDIRECTDRAWPALETTE* ppPalette)
153 {
154  DX_WINDBG_trace();
155 
156  DX_STUB;
157 }
158 
161  LPDWORD pdwPriority)
162 {
163  DX_WINDBG_trace();
164 
165  DX_STUB;
166 }
167 
171  LPDWORD pcbBufferSize)
172 {
173  DX_WINDBG_trace();
174 
175  DX_STUB;
176 }
177 
180  LPDWORD pValue)
181 {
182  DX_WINDBG_trace();
183 
184  DX_STUB;
185 }
186 
189 {
190  DX_WINDBG_trace();
191 
192  //DX_STUB;
193  DX_STUB_str("not implement return not lost\n");
194  return DD_OK;
195 }
196 
199 {
200  DX_WINDBG_trace();
201 
202  DX_STUB;
203 }
204 
207 {
208  DX_WINDBG_trace();
209 
210  DX_STUB;
211 }
212 
215  LPDIRECTDRAWPALETTE pPalette)
216 {
217  DX_WINDBG_trace();
218 
219  DX_STUB;
220 }
221 
224  DWORD dwPriority)
225 {
226  DX_WINDBG_trace();
227 
228  DX_STUB;
229 }
230 
234  DWORD cbSize, DWORD dwFlags)
235 {
236  DX_WINDBG_trace();
237 
238  DX_STUB;
239 }
240 
243  LPRECT pSrcRect,
244  LPDDRAWI_DDRAWSURFACE_INT pDstSurface,
245  LPRECT pDstRect, DWORD dwFlags,
246  LPDDOVERLAYFX pFX)
247 {
248  DX_WINDBG_trace();
249 
250  DX_STUB;
251 }
252 
253 
254 /* MSDN: "not currently implemented." */
257  DWORD dwFlags)
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 }
269 
270 
273 {
274  DX_WINDBG_trace();
275 
276  DX_STUB;
277 }
278 
281 {
282  DX_WINDBG_trace();
283 
284  DX_STUB;
285 }
286 
289 {
290  DX_WINDBG_trace();
291 
292  DX_STUB;
293 }
294 
295 
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
HRESULT WINAPI Main_DDrawSurface_SetLOD(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD MaxLOD)
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK7)(LPDIRECTDRAWSURFACE7, LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1262
Definition: scsiwmi.h:51
HRESULT WINAPI Main_DDrawSurface_GetFlipStatus(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags)
Definition: http.c:7098
HRESULT WINAPI Main_DDrawSurface_EnumOverlayZOrders(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags, LPVOID context, LPDDENUMSURFACESCALLBACK7 cb)
Definition: surface_stubs.c:83
HRESULT WINAPI Main_DDrawSurface_SetPrivateData(LPDDRAWI_DDRAWSURFACE_INT iface, REFGUID tag, LPVOID pData, DWORD cbSize, DWORD dwFlags)
HRESULT WINAPI Main_DDrawSurface_Flip(LPDDRAWI_DDRAWSURFACE_INT iface, LPDDRAWI_DDRAWSURFACE_INT lpDDSurfaceTargetOverride, DWORD dwFlags)
Definition: surface_stubs.c:93
#define DX_STUB_str(x)
Definition: rosdraw.h:254
#define DDHAL_SURFCB32_UPDATEOVERLAY
Definition: ddrawi.h:684
Definition: ecma_167.h:138
HRESULT WINAPI Main_DDrawSurface_FreePrivateData(LPDDRAWI_DDRAWSURFACE_INT iface, REFGUID tag)
HRESULT WINAPI Main_DDrawSurface_DeleteAttachedSurface(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags, LPDDRAWI_DDRAWSURFACE_INT pAttach)
Definition: surface_stubs.c:63
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayDisplay(LPDDRAWI_DDRAWSURFACE_INT This, DWORD dwFlags)
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
#define DD_OK
Definition: ddraw.h:186
HRESULT WINAPI Main_DDrawSurface_SetPalette(LPDDRAWI_DDRAWSURFACE_INT iface, LPDIRECTDRAWPALETTE pPalette)
HRESULT WINAPI Main_DDrawSurface_AddOverlayDirtyRect(LPDDRAWI_DDRAWSURFACE_INT iface, LPRECT pRect)
Definition: surface_stubs.c:17
PVOID pBuffer
HRESULT WINAPI Main_DDrawSurface_ChangeUniquenessValue(LPDDRAWI_DDRAWSURFACE_INT iface)
Definition: surface_stubs.c:55
HRESULT WINAPI Main_DDrawSurface_EnumAttachedSurfaces(LPDDRAWI_DDRAWSURFACE_INT iface, LPVOID context, LPDDENUMSURFACESCALLBACK7 cb)
Definition: surface_stubs.c:73
#define DDERR_GENERIC
Definition: ddraw.h:72
HRESULT WINAPI Main_DDrawSurface_BltFast(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dstx, DWORD dsty, LPDDRAWI_DDRAWSURFACE_INT src, LPRECT rsrc, DWORD trans)
Definition: surface_stubs.c:26
HRESULT WINAPI Main_DDrawSurface_GetLOD(LPDDRAWI_DDRAWSURFACE_INT iface, LPDWORD pdwMaxLOD)
LONG HRESULT
Definition: typedefs.h:77
HRESULT WINAPI Main_DDrawSurface_Restore(LPDDRAWI_DDRAWSURFACE_INT iface)
Definition: surface_stubs.c:36
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT WINAPI Main_DDrawSurface_PageLock(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags)
HRESULT WINAPI Main_DDrawSurface_IsLost(LPDDRAWI_DDRAWSURFACE_INT iface)
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HRESULT WINAPI Main_DDrawSurface_GetOverlayPosition(LPDDRAWI_DDRAWSURFACE_INT iface, LPLONG pX, LPLONG pY)
GLenum src
Definition: glext.h:6340
HRESULT WINAPI Main_DDrawSurface_GetPriority(LPDDRAWI_DDRAWSURFACE_INT iface, LPDWORD pdwPriority)
HRESULT WINAPI Main_DDrawSurface_GetUniquenessValue(LPDDRAWI_DDRAWSURFACE_INT iface, LPDWORD pValue)
HRESULT WINAPI Main_DDrawSurface_PageUnlock(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags)
#define DX_STUB
Definition: rosdraw.h:224
HRESULT WINAPI Main_DDrawSurface_SetSurfaceDesc(LPDDRAWI_DDRAWSURFACE_INT iface, DDSURFACEDESC2 *DDSD, DWORD Flags)
int32_t * LPLONG
Definition: typedefs.h:56
HRESULT WINAPI Main_DDrawSurface_GetColorKey(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags, LPDDCOLORKEY pCKey)
HRESULT WINAPI Main_DDrawSurface_GetPrivateData(LPDDRAWI_DDRAWSURFACE_INT iface, REFGUID tag, LPVOID pBuffer, LPDWORD pcbBufferSize)
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_GetPalette(LPDDRAWI_DDRAWSURFACE_INT iface, LPDIRECTDRAWPALETTE *ppPalette)
static HMODULE MODULEINFO DWORD cb
Definition: module.c:32
uint32_t * LPDWORD
Definition: typedefs.h:57
HRESULT WINAPI Main_DDrawSurface_BltBatch(LPDDRAWI_DDRAWSURFACE_INT iface, LPDDBLTBATCH pBatch, DWORD dwCount, DWORD dwFlags)
Definition: surface_stubs.c:45
HRESULT WINAPI Main_DDrawSurface_SetPriority(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwPriority)
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
Definition: twain.h:1827
struct IDirectDrawPalette * LPDIRECTDRAWPALETTE
Definition: ddraw.h:720
HRESULT WINAPI Main_DDrawSurface_GetDDInterface(LPDDRAWI_DDRAWSURFACE_INT iface, LPVOID *pDD)
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayZOrder(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags, LPDDRAWI_DDRAWSURFACE_INT pDDSRef)