ReactOS 0.4.16-dev-340-g0540c21
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,
48{
50
51 DX_STUB;
52}
53
56{
58
59 DX_STUB;
60}
61
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{
105
106 DX_STUB;
107}
110 LPDDCOLORKEY pCKey)
111{
112 //LPDDRAWI_DDRAWSURFACE_INT This = (LPDDRAWI_DDRAWSURFACE_INT)iface;
113
115
116 DX_STUB;
117}
118
121{
123
124 DX_STUB;
125}
128{
130
131 DX_STUB;
132}
133
136{
138
139 DX_STUB;
140}
141
144 LPLONG pX, LPLONG pY)
145{
147
148 DX_STUB;
149}
152 LPDIRECTDRAWPALETTE* ppPalette)
153{
155
156 DX_STUB;
157}
158
161 LPDWORD pdwPriority)
162{
164
165 DX_STUB;
166}
167
171 LPDWORD pcbBufferSize)
172{
174
175 DX_STUB;
176}
177
181{
183
184 DX_STUB;
185}
186
189{
191
192 //DX_STUB;
193 DX_STUB_str("not implement return not lost\n");
194 return DD_OK;
195}
196
199{
201
202 DX_STUB;
203}
204
207{
209
210 DX_STUB;
211}
212
215 LPDIRECTDRAWPALETTE pPalette)
216{
218
219 DX_STUB;
220}
221
224 DWORD dwPriority)
225{
227
228 DX_STUB;
229}
230
234 DWORD cbSize, DWORD dwFlags)
235{
237
238 DX_STUB;
239}
240
243 LPRECT pSrcRect,
244 LPDDRAWI_DDRAWSURFACE_INT pDstSurface,
245 LPRECT pDstRect, DWORD dwFlags,
246 LPDDOVERLAYFX pFX)
247{
249
250 DX_STUB;
251}
252
253
254/* MSDN: "not currently implemented." */
258{
259
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{
275
276 DX_STUB;
277}
278
281{
283
284 DX_STUB;
285}
286
289{
291
292 DX_STUB;
293}
294
295
#define DDHAL_SURFCB32_UPDATEOVERLAY
Definition: ddrawi.h:684
unsigned long DWORD
Definition: ntddk_ex.h:95
PWCHAR pValue
GLenum src
Definition: glext.h:6340
static HMODULE MODULEINFO DWORD cb
Definition: module.c:33
PVOID pBuffer
#define DX_STUB_str(x)
Definition: rosdraw.h:254
#define DX_STUB
Definition: rosdraw.h:224
#define DX_WINDBG_trace()
Definition: rosdraw.h:262
#define DD_OK
Definition: ddraw.h:186
struct IDirectDrawPalette * LPDIRECTDRAWPALETTE
Definition: ddraw.h:720
HRESULT(WINAPI * LPDDENUMSURFACESCALLBACK7)(LPDIRECTDRAWSURFACE7, LPDDSURFACEDESC2, LPVOID)
Definition: ddraw.h:1262
#define DDERR_GENERIC
Definition: ddraw.h:72
Definition: scsiwmi.h:51
Definition: http.c:7252
Definition: ecma_167.h:138
HRESULT WINAPI Main_DDrawSurface_GetFlipStatus(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags)
HRESULT WINAPI Main_DDrawSurface_BltBatch(LPDDRAWI_DDRAWSURFACE_INT iface, LPDDBLTBATCH pBatch, DWORD dwCount, DWORD dwFlags)
Definition: surface_stubs.c:45
HRESULT WINAPI Main_DDrawSurface_SetLOD(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD MaxLOD)
HRESULT WINAPI Main_DDrawSurface_PageUnlock(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags)
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_SetPriority(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwPriority)
HRESULT WINAPI Main_DDrawSurface_GetOverlayPosition(LPDDRAWI_DDRAWSURFACE_INT iface, LPLONG pX, LPLONG pY)
HRESULT WINAPI Main_DDrawSurface_Flip(LPDDRAWI_DDRAWSURFACE_INT iface, LPDDRAWI_DDRAWSURFACE_INT lpDDSurfaceTargetOverride, DWORD dwFlags)
Definition: surface_stubs.c:93
HRESULT WINAPI Main_DDrawSurface_EnumOverlayZOrders(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags, LPVOID context, LPDDENUMSURFACESCALLBACK7 cb)
Definition: surface_stubs.c:83
HRESULT WINAPI Main_DDrawSurface_Restore(LPDDRAWI_DDRAWSURFACE_INT iface)
Definition: surface_stubs.c:36
HRESULT WINAPI Main_DDrawSurface_GetColorKey(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags, LPDDCOLORKEY pCKey)
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_SetPalette(LPDDRAWI_DDRAWSURFACE_INT iface, LPDIRECTDRAWPALETTE pPalette)
HRESULT WINAPI Main_DDrawSurface_FreePrivateData(LPDDRAWI_DDRAWSURFACE_INT iface, REFGUID tag)
HRESULT WINAPI Main_DDrawSurface_GetLOD(LPDDRAWI_DDRAWSURFACE_INT iface, LPDWORD pdwMaxLOD)
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayZOrder(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags, LPDDRAWI_DDRAWSURFACE_INT pDDSRef)
HRESULT WINAPI Main_DDrawSurface_AddOverlayDirtyRect(LPDDRAWI_DDRAWSURFACE_INT iface, LPRECT pRect)
Definition: surface_stubs.c:17
HRESULT WINAPI Main_DDrawSurface_ChangeUniquenessValue(LPDDRAWI_DDRAWSURFACE_INT iface)
Definition: surface_stubs.c:55
HRESULT WINAPI Main_DDrawSurface_GetDDInterface(LPDDRAWI_DDRAWSURFACE_INT iface, LPVOID *pDD)
HRESULT WINAPI Main_DDrawSurface_GetPrivateData(LPDDRAWI_DDRAWSURFACE_INT iface, REFGUID tag, LPVOID pBuffer, LPDWORD pcbBufferSize)
HRESULT WINAPI Main_DDrawSurface_IsLost(LPDDRAWI_DDRAWSURFACE_INT iface)
HRESULT WINAPI Main_DDrawSurface_PageLock(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags)
HRESULT WINAPI Main_DDrawSurface_EnumAttachedSurfaces(LPDDRAWI_DDRAWSURFACE_INT iface, LPVOID context, LPDDENUMSURFACESCALLBACK7 cb)
Definition: surface_stubs.c:73
HRESULT WINAPI Main_DDrawSurface_UpdateOverlayDisplay(LPDDRAWI_DDRAWSURFACE_INT This, DWORD dwFlags)
HRESULT WINAPI Main_DDrawSurface_DeleteAttachedSurface(LPDDRAWI_DDRAWSURFACE_INT iface, DWORD dwFlags, LPDDRAWI_DDRAWSURFACE_INT pAttach)
Definition: surface_stubs.c:63
HRESULT WINAPI Main_DDrawSurface_SetSurfaceDesc(LPDDRAWI_DDRAWSURFACE_INT iface, DDSURFACEDESC2 *DDSD, DWORD Flags)
HRESULT WINAPI Main_DDrawSurface_GetPalette(LPDDRAWI_DDRAWSURFACE_INT iface, LPDIRECTDRAWPALETTE *ppPalette)
HRESULT WINAPI Main_DDrawSurface_GetUniquenessValue(LPDDRAWI_DDRAWSURFACE_INT iface, LPDWORD pValue)
HRESULT WINAPI Main_DDrawSurface_SetPrivateData(LPDDRAWI_DDRAWSURFACE_INT iface, REFGUID tag, LPVOID pData, DWORD cbSize, DWORD dwFlags)
HRESULT WINAPI Main_DDrawSurface_GetPriority(LPDDRAWI_DDRAWSURFACE_INT iface, LPDWORD pdwPriority)
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
Definition: twain.h:1830
int32_t * LPLONG
Definition: typedefs.h:58
uint32_t * LPDWORD
Definition: typedefs.h:59
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
#define WINAPI
Definition: msvc.h:6
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170