1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS ReactX
4 * FILE: dll/directx/d3d9/d3d9_puredevice.c
5 * PURPOSE: d3d9.dll internal device functions
6 * PROGRAMERS: Gregor Gullwi <gbrunmar (dot) ros (at) gmail (dot) com>
7 */
8 #include "d3d9_puredevice.h"
9 #include <debug.h>
10
11 #define LOCK_D3DDEVICE9() if (This->bLockDevice) EnterCriticalSection(&This->CriticalSection);
12 #define UNLOCK_D3DDEVICE9() if (This->bLockDevice) LeaveCriticalSection(&This->CriticalSection);
13
14 /* Convert a IDirect3D9 pointer safely to the internal implementation struct */
15 /*static LPD3D9PUREDEVICE IDirect3DDevice9ToImpl(LPDIRECT3DDEVICE9 iface)
16 {
17 if (NULL == iface)
18 return NULL;
19
20 return (LPD3D9PUREDEVICE)((ULONG_PTR)iface - FIELD_OFFSET(D3D9PUREDEVICE, BaseDevice.lpVtbl));
21 }*/
22
23 /* IDirect3DDevice9 public interface */
IDirect3DDevice9Pure_SetRenderTarget(LPDIRECT3DDEVICE9 iface,DWORD RenderTargetIndex,IDirect3DSurface9 * pRenderTarget)24 HRESULT WINAPI IDirect3DDevice9Pure_SetRenderTarget(LPDIRECT3DDEVICE9 iface, DWORD RenderTargetIndex, IDirect3DSurface9* pRenderTarget)
25 {
26 UNIMPLEMENTED
27
28 return D3D_OK;
29 }
30
IDirect3DDevice9Pure_GetRenderTarget(LPDIRECT3DDEVICE9 iface,DWORD RenderTargetIndex,IDirect3DSurface9 ** ppRenderTarget)31 HRESULT WINAPI IDirect3DDevice9Pure_GetRenderTarget(LPDIRECT3DDEVICE9 iface, DWORD RenderTargetIndex,IDirect3DSurface9** ppRenderTarget)
32 {
33 UNIMPLEMENTED
34
35 return D3D_OK;
36 }
37
IDirect3DDevice9Pure_SetDepthStencilSurface(LPDIRECT3DDEVICE9 iface,IDirect3DSurface9 * pNewZStencil)38 HRESULT WINAPI IDirect3DDevice9Pure_SetDepthStencilSurface(LPDIRECT3DDEVICE9 iface, IDirect3DSurface9* pNewZStencil)
39 {
40 UNIMPLEMENTED
41
42 return D3D_OK;
43 }
44
IDirect3DDevice9Pure_GetDepthStencilSurface(LPDIRECT3DDEVICE9 iface,IDirect3DSurface9 ** ppZStencilSurface)45 HRESULT WINAPI IDirect3DDevice9Pure_GetDepthStencilSurface(LPDIRECT3DDEVICE9 iface, IDirect3DSurface9** ppZStencilSurface)
46 {
47 UNIMPLEMENTED
48
49 return D3D_OK;
50 }
51
IDirect3DDevice9Pure_BeginScene(LPDIRECT3DDEVICE9 iface)52 HRESULT WINAPI IDirect3DDevice9Pure_BeginScene(LPDIRECT3DDEVICE9 iface)
53 {
54 UNIMPLEMENTED
55
56 return D3D_OK;
57 }
58
IDirect3DDevice9Pure_EndScene(LPDIRECT3DDEVICE9 iface)59 HRESULT WINAPI IDirect3DDevice9Pure_EndScene(LPDIRECT3DDEVICE9 iface)
60 {
61 UNIMPLEMENTED
62
63 return D3D_OK;
64 }
65
IDirect3DDevice9Pure_Clear(LPDIRECT3DDEVICE9 iface,DWORD Count,CONST D3DRECT * pRects,DWORD Flags,D3DCOLOR Color,float Z,DWORD Stencil)66 HRESULT WINAPI IDirect3DDevice9Pure_Clear(LPDIRECT3DDEVICE9 iface, DWORD Count, CONST D3DRECT* pRects, DWORD Flags, D3DCOLOR Color, float Z, DWORD Stencil)
67 {
68 UNIMPLEMENTED
69
70 return D3D_OK;
71 }
72
IDirect3DDevice9Pure_SetTransform(LPDIRECT3DDEVICE9 iface,D3DTRANSFORMSTATETYPE State,CONST D3DMATRIX * pMatrix)73 HRESULT WINAPI IDirect3DDevice9Pure_SetTransform(LPDIRECT3DDEVICE9 iface, D3DTRANSFORMSTATETYPE State, CONST D3DMATRIX* pMatrix)
74 {
75 UNIMPLEMENTED
76
77 return D3D_OK;
78 }
79
IDirect3DDevice9Pure_GetTransform(LPDIRECT3DDEVICE9 iface,D3DTRANSFORMSTATETYPE State,D3DMATRIX * pMatrix)80 HRESULT WINAPI IDirect3DDevice9Pure_GetTransform(LPDIRECT3DDEVICE9 iface, D3DTRANSFORMSTATETYPE State, D3DMATRIX* pMatrix)
81 {
82 UNIMPLEMENTED
83
84 return D3D_OK;
85 }
86
IDirect3DDevice9Pure_MultiplyTransform(LPDIRECT3DDEVICE9 iface,D3DTRANSFORMSTATETYPE State,CONST D3DMATRIX * pMatrix)87 HRESULT WINAPI IDirect3DDevice9Pure_MultiplyTransform(LPDIRECT3DDEVICE9 iface, D3DTRANSFORMSTATETYPE State, CONST D3DMATRIX* pMatrix)
88 {
89 UNIMPLEMENTED
90
91 return D3D_OK;
92 }
93
IDirect3DDevice9Pure_SetViewport(LPDIRECT3DDEVICE9 iface,CONST D3DVIEWPORT9 * pViewport)94 HRESULT WINAPI IDirect3DDevice9Pure_SetViewport(LPDIRECT3DDEVICE9 iface, CONST D3DVIEWPORT9* pViewport)
95 {
96 UNIMPLEMENTED
97
98 return D3D_OK;
99 }
100
IDirect3DDevice9Pure_GetViewport(LPDIRECT3DDEVICE9 iface,D3DVIEWPORT9 * pViewport)101 HRESULT WINAPI IDirect3DDevice9Pure_GetViewport(LPDIRECT3DDEVICE9 iface, D3DVIEWPORT9* pViewport)
102 {
103 UNIMPLEMENTED
104
105 return D3D_OK;
106 }
107
IDirect3DDevice9Pure_SetMaterial(LPDIRECT3DDEVICE9 iface,CONST D3DMATERIAL9 * pMaterial)108 HRESULT WINAPI IDirect3DDevice9Pure_SetMaterial(LPDIRECT3DDEVICE9 iface, CONST D3DMATERIAL9* pMaterial)
109 {
110 UNIMPLEMENTED
111
112 return D3D_OK;
113 }
114
IDirect3DDevice9Pure_GetMaterial(LPDIRECT3DDEVICE9 iface,D3DMATERIAL9 * pMaterial)115 HRESULT WINAPI IDirect3DDevice9Pure_GetMaterial(LPDIRECT3DDEVICE9 iface, D3DMATERIAL9* pMaterial)
116 {
117 UNIMPLEMENTED
118
119 return D3D_OK;
120 }
121
IDirect3DDevice9Pure_SetLight(LPDIRECT3DDEVICE9 iface,DWORD Index,CONST D3DLIGHT9 * pLight)122 HRESULT WINAPI IDirect3DDevice9Pure_SetLight(LPDIRECT3DDEVICE9 iface, DWORD Index, CONST D3DLIGHT9* pLight)
123 {
124 UNIMPLEMENTED
125
126 return D3D_OK;
127 }
128
IDirect3DDevice9Pure_GetLight(LPDIRECT3DDEVICE9 iface,DWORD Index,D3DLIGHT9 * pLight)129 HRESULT WINAPI IDirect3DDevice9Pure_GetLight(LPDIRECT3DDEVICE9 iface, DWORD Index, D3DLIGHT9* pLight)
130 {
131 UNIMPLEMENTED
132
133 return D3D_OK;
134 }
135
IDirect3DDevice9Pure_LightEnable(LPDIRECT3DDEVICE9 iface,DWORD Index,BOOL Enable)136 HRESULT WINAPI IDirect3DDevice9Pure_LightEnable(LPDIRECT3DDEVICE9 iface, DWORD Index, BOOL Enable)
137 {
138 UNIMPLEMENTED
139
140 return D3D_OK;
141 }
142
IDirect3DDevice9Pure_GetLightEnable(LPDIRECT3DDEVICE9 iface,DWORD Index,BOOL * pEnable)143 HRESULT WINAPI IDirect3DDevice9Pure_GetLightEnable(LPDIRECT3DDEVICE9 iface, DWORD Index, BOOL* pEnable)
144 {
145 UNIMPLEMENTED
146
147 return D3D_OK;
148 }
149
IDirect3DDevice9Pure_SetClipPlane(LPDIRECT3DDEVICE9 iface,DWORD Index,CONST float * pPlane)150 HRESULT WINAPI IDirect3DDevice9Pure_SetClipPlane(LPDIRECT3DDEVICE9 iface, DWORD Index, CONST float* pPlane)
151 {
152 UNIMPLEMENTED
153
154 return D3D_OK;
155 }
156
IDirect3DDevice9Pure_GetClipPlane(LPDIRECT3DDEVICE9 iface,DWORD Index,float * pPlane)157 HRESULT WINAPI IDirect3DDevice9Pure_GetClipPlane(LPDIRECT3DDEVICE9 iface, DWORD Index, float* pPlane)
158 {
159 UNIMPLEMENTED
160
161 return D3D_OK;
162 }
163
IDirect3DDevice9Pure_SetRenderState(LPDIRECT3DDEVICE9 iface,D3DRENDERSTATETYPE State,DWORD Value)164 HRESULT WINAPI IDirect3DDevice9Pure_SetRenderState(LPDIRECT3DDEVICE9 iface, D3DRENDERSTATETYPE State, DWORD Value)
165 {
166 UNIMPLEMENTED
167
168 return D3D_OK;
169 }
170
IDirect3DDevice9Pure_GetRenderState(LPDIRECT3DDEVICE9 iface,D3DRENDERSTATETYPE State,DWORD * pValue)171 HRESULT WINAPI IDirect3DDevice9Pure_GetRenderState(LPDIRECT3DDEVICE9 iface, D3DRENDERSTATETYPE State, DWORD* pValue)
172 {
173 UNIMPLEMENTED
174
175 return D3D_OK;
176 }
177
IDirect3DDevice9Pure_CreateStateBlock(LPDIRECT3DDEVICE9 iface,D3DSTATEBLOCKTYPE Type,IDirect3DStateBlock9 ** ppSB)178 HRESULT WINAPI IDirect3DDevice9Pure_CreateStateBlock(LPDIRECT3DDEVICE9 iface, D3DSTATEBLOCKTYPE Type, IDirect3DStateBlock9** ppSB)
179 {
180 UNIMPLEMENTED
181
182 return D3D_OK;
183 }
184
IDirect3DDevice9Pure_BeginStateBlock(LPDIRECT3DDEVICE9 iface)185 HRESULT WINAPI IDirect3DDevice9Pure_BeginStateBlock(LPDIRECT3DDEVICE9 iface)
186 {
187 UNIMPLEMENTED
188
189 return D3D_OK;
190 }
191
IDirect3DDevice9Pure_EndStateBlock(LPDIRECT3DDEVICE9 iface,IDirect3DStateBlock9 ** ppSB)192 HRESULT WINAPI IDirect3DDevice9Pure_EndStateBlock(LPDIRECT3DDEVICE9 iface, IDirect3DStateBlock9** ppSB)
193 {
194 UNIMPLEMENTED
195
196 return D3D_OK;
197 }
198
IDirect3DDevice9Pure_SetClipStatus(LPDIRECT3DDEVICE9 iface,CONST D3DCLIPSTATUS9 * pClipStatus)199 HRESULT WINAPI IDirect3DDevice9Pure_SetClipStatus(LPDIRECT3DDEVICE9 iface, CONST D3DCLIPSTATUS9* pClipStatus)
200 {
201 UNIMPLEMENTED
202
203 return D3D_OK;
204 }
205
IDirect3DDevice9Pure_GetClipStatus(LPDIRECT3DDEVICE9 iface,D3DCLIPSTATUS9 * pClipStatus)206 HRESULT WINAPI IDirect3DDevice9Pure_GetClipStatus(LPDIRECT3DDEVICE9 iface, D3DCLIPSTATUS9* pClipStatus)
207 {
208 UNIMPLEMENTED
209
210 return D3D_OK;
211 }
212
IDirect3DDevice9Pure_GetTexture(LPDIRECT3DDEVICE9 iface,DWORD Stage,IDirect3DBaseTexture9 ** ppTexture)213 HRESULT WINAPI IDirect3DDevice9Pure_GetTexture(LPDIRECT3DDEVICE9 iface, DWORD Stage, IDirect3DBaseTexture9** ppTexture)
214 {
215 UNIMPLEMENTED
216
217 return D3D_OK;
218 }
219
IDirect3DDevice9Pure_SetTexture(LPDIRECT3DDEVICE9 iface,DWORD Stage,IDirect3DBaseTexture9 * pTexture)220 HRESULT WINAPI IDirect3DDevice9Pure_SetTexture(LPDIRECT3DDEVICE9 iface, DWORD Stage, IDirect3DBaseTexture9* pTexture)
221 {
222 UNIMPLEMENTED
223
224 return D3D_OK;
225 }
226
IDirect3DDevice9Pure_GetTextureStageState(LPDIRECT3DDEVICE9 iface,DWORD Stage,D3DTEXTURESTAGESTATETYPE Type,DWORD * pValue)227 HRESULT WINAPI IDirect3DDevice9Pure_GetTextureStageState(LPDIRECT3DDEVICE9 iface, DWORD Stage, D3DTEXTURESTAGESTATETYPE Type, DWORD* pValue)
228 {
229 UNIMPLEMENTED
230
231 return D3D_OK;
232 }
233
IDirect3DDevice9Pure_SetTextureStageState(LPDIRECT3DDEVICE9 iface,DWORD Stage,D3DTEXTURESTAGESTATETYPE Type,DWORD Value)234 HRESULT WINAPI IDirect3DDevice9Pure_SetTextureStageState(LPDIRECT3DDEVICE9 iface, DWORD Stage, D3DTEXTURESTAGESTATETYPE Type, DWORD Value)
235 {
236 UNIMPLEMENTED
237
238 return D3D_OK;
239 }
240
IDirect3DDevice9Pure_GetSamplerState(LPDIRECT3DDEVICE9 iface,DWORD Sampler,D3DSAMPLERSTATETYPE Type,DWORD * pValue)241 HRESULT WINAPI IDirect3DDevice9Pure_GetSamplerState(LPDIRECT3DDEVICE9 iface, DWORD Sampler, D3DSAMPLERSTATETYPE Type, DWORD* pValue)
242 {
243 UNIMPLEMENTED
244
245 return D3D_OK;
246 }
247
IDirect3DDevice9Pure_SetSamplerState(LPDIRECT3DDEVICE9 iface,DWORD Sampler,D3DSAMPLERSTATETYPE Type,DWORD Value)248 HRESULT WINAPI IDirect3DDevice9Pure_SetSamplerState(LPDIRECT3DDEVICE9 iface, DWORD Sampler, D3DSAMPLERSTATETYPE Type, DWORD Value)
249 {
250 UNIMPLEMENTED
251
252 return D3D_OK;
253 }
254
IDirect3DDevice9Pure_ValidateDevice(LPDIRECT3DDEVICE9 iface,DWORD * pNumPasses)255 HRESULT WINAPI IDirect3DDevice9Pure_ValidateDevice(LPDIRECT3DDEVICE9 iface, DWORD* pNumPasses)
256 {
257 UNIMPLEMENTED
258
259 return D3D_OK;
260 }
261
IDirect3DDevice9Pure_SetPaletteEntries(LPDIRECT3DDEVICE9 iface,UINT PaletteNumber,CONST PALETTEENTRY * pEntries)262 HRESULT WINAPI IDirect3DDevice9Pure_SetPaletteEntries(LPDIRECT3DDEVICE9 iface, UINT PaletteNumber, CONST PALETTEENTRY* pEntries)
263 {
264 UNIMPLEMENTED
265
266 return D3D_OK;
267 }
268
IDirect3DDevice9Pure_GetPaletteEntries(LPDIRECT3DDEVICE9 iface,UINT PaletteNumber,PALETTEENTRY * pEntries)269 HRESULT WINAPI IDirect3DDevice9Pure_GetPaletteEntries(LPDIRECT3DDEVICE9 iface, UINT PaletteNumber, PALETTEENTRY* pEntries)
270 {
271 UNIMPLEMENTED
272
273 return D3D_OK;
274 }
275
IDirect3DDevice9Pure_SetCurrentTexturePalette(LPDIRECT3DDEVICE9 iface,UINT PaletteNumber)276 HRESULT WINAPI IDirect3DDevice9Pure_SetCurrentTexturePalette(LPDIRECT3DDEVICE9 iface, UINT PaletteNumber)
277 {
278 UNIMPLEMENTED
279
280 return D3D_OK;
281 }
282
IDirect3DDevice9Pure_GetCurrentTexturePalette(LPDIRECT3DDEVICE9 iface,UINT * pPaletteNumber)283 HRESULT WINAPI IDirect3DDevice9Pure_GetCurrentTexturePalette(LPDIRECT3DDEVICE9 iface, UINT* pPaletteNumber)
284 {
285 UNIMPLEMENTED
286
287 return D3D_OK;
288 }
289
IDirect3DDevice9Pure_SetScissorRect(LPDIRECT3DDEVICE9 iface,CONST RECT * pRect)290 HRESULT WINAPI IDirect3DDevice9Pure_SetScissorRect(LPDIRECT3DDEVICE9 iface, CONST RECT* pRect)
291 {
292 UNIMPLEMENTED
293
294 return D3D_OK;
295 }
296
IDirect3DDevice9Pure_GetScissorRect(LPDIRECT3DDEVICE9 iface,RECT * pRect)297 HRESULT WINAPI IDirect3DDevice9Pure_GetScissorRect(LPDIRECT3DDEVICE9 iface, RECT* pRect)
298 {
299 UNIMPLEMENTED
300
301 return D3D_OK;
302 }
303
IDirect3DDevice9Pure_SetSoftwareVertexProcessing(LPDIRECT3DDEVICE9 iface,BOOL bSoftware)304 HRESULT WINAPI IDirect3DDevice9Pure_SetSoftwareVertexProcessing(LPDIRECT3DDEVICE9 iface, BOOL bSoftware)
305 {
306 UNIMPLEMENTED
307
308 return D3D_OK;
309 }
310
IDirect3DDevice9Pure_GetSoftwareVertexProcessing(LPDIRECT3DDEVICE9 iface)311 BOOL WINAPI IDirect3DDevice9Pure_GetSoftwareVertexProcessing(LPDIRECT3DDEVICE9 iface)
312 {
313 UNIMPLEMENTED
314
315 return TRUE;
316 }
317
IDirect3DDevice9Pure_SetNPatchMode(LPDIRECT3DDEVICE9 iface,float nSegments)318 HRESULT WINAPI IDirect3DDevice9Pure_SetNPatchMode(LPDIRECT3DDEVICE9 iface, float nSegments)
319 {
320 UNIMPLEMENTED
321
322 return D3D_OK;
323 }
324
IDirect3DDevice9Pure_GetNPatchMode(LPDIRECT3DDEVICE9 iface)325 float WINAPI IDirect3DDevice9Pure_GetNPatchMode(LPDIRECT3DDEVICE9 iface)
326 {
327 UNIMPLEMENTED
328
329 return 0.0f;
330 }
331
IDirect3DDevice9Pure_DrawPrimitive(LPDIRECT3DDEVICE9 iface,D3DPRIMITIVETYPE PrimitiveType,UINT StartVertex,UINT PrimitiveCount)332 HRESULT WINAPI IDirect3DDevice9Pure_DrawPrimitive(LPDIRECT3DDEVICE9 iface, D3DPRIMITIVETYPE PrimitiveType, UINT StartVertex, UINT PrimitiveCount)
333 {
334 UNIMPLEMENTED
335
336 return D3D_OK;
337 }
338
IDirect3DDevice9Pure_DrawIndexedPrimitive(LPDIRECT3DDEVICE9 iface,D3DPRIMITIVETYPE PrimitiveType,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount)339 HRESULT WINAPI IDirect3DDevice9Pure_DrawIndexedPrimitive(LPDIRECT3DDEVICE9 iface, D3DPRIMITIVETYPE PrimitiveType, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount)
340 {
341 UNIMPLEMENTED
342
343 return D3D_OK;
344 }
345
IDirect3DDevice9Pure_DrawPrimitiveUP(LPDIRECT3DDEVICE9 iface,D3DPRIMITIVETYPE PrimitiveType,UINT PrimitiveCount,CONST void * pVertexStreamZeroData,UINT VertexStreamZeroStride)346 HRESULT WINAPI IDirect3DDevice9Pure_DrawPrimitiveUP(LPDIRECT3DDEVICE9 iface, D3DPRIMITIVETYPE PrimitiveType, UINT PrimitiveCount, CONST void* pVertexStreamZeroData, UINT VertexStreamZeroStride)
347 {
348 UNIMPLEMENTED
349
350 return D3D_OK;
351 }
352
IDirect3DDevice9Pure_DrawIndexedPrimitiveUP(LPDIRECT3DDEVICE9 iface,D3DPRIMITIVETYPE PrimitiveType,UINT MinVertexIndex,UINT NumVertices,UINT PrimitiveCount,CONST void * pIndexData,D3DFORMAT IndexDataFormat,CONST void * pVertexStreamZeroData,UINT VertexStreamZeroStride)353 HRESULT WINAPI IDirect3DDevice9Pure_DrawIndexedPrimitiveUP(LPDIRECT3DDEVICE9 iface, D3DPRIMITIVETYPE PrimitiveType, UINT MinVertexIndex, UINT NumVertices, UINT PrimitiveCount, CONST void* pIndexData, D3DFORMAT IndexDataFormat, CONST void* pVertexStreamZeroData, UINT VertexStreamZeroStride)
354 {
355 UNIMPLEMENTED
356
357 return D3D_OK;
358 }
359
IDirect3DDevice9Pure_ProcessVertices(LPDIRECT3DDEVICE9 iface,UINT SrcStartIndex,UINT DestIndex,UINT VertexCount,IDirect3DVertexBuffer9 * pDestBuffer,IDirect3DVertexDeclaration9 * pVertexDecl,DWORD Flags)360 HRESULT WINAPI IDirect3DDevice9Pure_ProcessVertices(LPDIRECT3DDEVICE9 iface, UINT SrcStartIndex, UINT DestIndex, UINT VertexCount, IDirect3DVertexBuffer9* pDestBuffer, IDirect3DVertexDeclaration9* pVertexDecl, DWORD Flags)
361 {
362 UNIMPLEMENTED
363
364 return D3D_OK;
365 }
366
IDirect3DDevice9Pure_CreateVertexDeclaration(LPDIRECT3DDEVICE9 iface,CONST D3DVERTEXELEMENT9 * pVertexElements,IDirect3DVertexDeclaration9 ** ppDecl)367 HRESULT WINAPI IDirect3DDevice9Pure_CreateVertexDeclaration(LPDIRECT3DDEVICE9 iface, CONST D3DVERTEXELEMENT9* pVertexElements, IDirect3DVertexDeclaration9** ppDecl)
368 {
369 UNIMPLEMENTED
370
371 return D3D_OK;
372 }
373
IDirect3DDevice9Pure_SetVertexDeclaration(LPDIRECT3DDEVICE9 iface,IDirect3DVertexDeclaration9 * pDecl)374 HRESULT WINAPI IDirect3DDevice9Pure_SetVertexDeclaration(LPDIRECT3DDEVICE9 iface, IDirect3DVertexDeclaration9* pDecl)
375 {
376 UNIMPLEMENTED
377
378 return D3D_OK;
379 }
380
IDirect3DDevice9Pure_GetVertexDeclaration(LPDIRECT3DDEVICE9 iface,IDirect3DVertexDeclaration9 ** ppDecl)381 HRESULT WINAPI IDirect3DDevice9Pure_GetVertexDeclaration(LPDIRECT3DDEVICE9 iface, IDirect3DVertexDeclaration9** ppDecl)
382 {
383 UNIMPLEMENTED
384
385 return D3D_OK;
386 }
387
IDirect3DDevice9Pure_SetFVF(LPDIRECT3DDEVICE9 iface,DWORD FVF)388 HRESULT WINAPI IDirect3DDevice9Pure_SetFVF(LPDIRECT3DDEVICE9 iface, DWORD FVF)
389 {
390 UNIMPLEMENTED
391
392 return D3D_OK;
393 }
394
IDirect3DDevice9Pure_GetFVF(LPDIRECT3DDEVICE9 iface,DWORD * pFVF)395 HRESULT WINAPI IDirect3DDevice9Pure_GetFVF(LPDIRECT3DDEVICE9 iface, DWORD* pFVF)
396 {
397 UNIMPLEMENTED
398
399 return D3D_OK;
400 }
401
IDirect3DDevice9Pure_CreateVertexShader(LPDIRECT3DDEVICE9 iface,CONST DWORD * pFunction,IDirect3DVertexShader9 ** ppShader)402 HRESULT WINAPI IDirect3DDevice9Pure_CreateVertexShader(LPDIRECT3DDEVICE9 iface, CONST DWORD* pFunction, IDirect3DVertexShader9** ppShader)
403 {
404 UNIMPLEMENTED
405
406 return D3D_OK;
407 }
408
IDirect3DDevice9Pure_SetVertexShader(LPDIRECT3DDEVICE9 iface,IDirect3DVertexShader9 * pShader)409 HRESULT WINAPI IDirect3DDevice9Pure_SetVertexShader(LPDIRECT3DDEVICE9 iface, IDirect3DVertexShader9* pShader)
410 {
411 UNIMPLEMENTED
412
413 return D3D_OK;
414 }
415
IDirect3DDevice9Pure_GetVertexShader(LPDIRECT3DDEVICE9 iface,IDirect3DVertexShader9 ** ppShader)416 HRESULT WINAPI IDirect3DDevice9Pure_GetVertexShader(LPDIRECT3DDEVICE9 iface, IDirect3DVertexShader9** ppShader)
417 {
418 UNIMPLEMENTED
419
420 return D3D_OK;
421 }
422
IDirect3DDevice9Pure_SetVertexShaderConstantF(LPDIRECT3DDEVICE9 iface,UINT StartRegister,CONST float * pConstantData,UINT Vector4fCount)423 HRESULT WINAPI IDirect3DDevice9Pure_SetVertexShaderConstantF(LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST float* pConstantData, UINT Vector4fCount)
424 {
425 UNIMPLEMENTED
426
427 return D3D_OK;
428 }
429
IDirect3DDevice9Pure_GetVertexShaderConstantF(LPDIRECT3DDEVICE9 iface,UINT StartRegister,float * pConstantData,UINT Vector4fCount)430 HRESULT WINAPI IDirect3DDevice9Pure_GetVertexShaderConstantF(LPDIRECT3DDEVICE9 iface, UINT StartRegister, float* pConstantData, UINT Vector4fCount)
431 {
432 UNIMPLEMENTED
433
434 return D3D_OK;
435 }
436
IDirect3DDevice9Pure_SetVertexShaderConstantI(LPDIRECT3DDEVICE9 iface,UINT StartRegister,CONST int * pConstantData,UINT Vector4iCount)437 HRESULT WINAPI IDirect3DDevice9Pure_SetVertexShaderConstantI(LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST int* pConstantData, UINT Vector4iCount)
438 {
439 UNIMPLEMENTED
440
441 return D3D_OK;
442 }
443
IDirect3DDevice9Pure_GetVertexShaderConstantI(LPDIRECT3DDEVICE9 iface,UINT StartRegister,int * pConstantData,UINT Vector4iCount)444 HRESULT WINAPI IDirect3DDevice9Pure_GetVertexShaderConstantI(LPDIRECT3DDEVICE9 iface, UINT StartRegister, int* pConstantData, UINT Vector4iCount)
445 {
446 UNIMPLEMENTED
447
448 return D3D_OK;
449 }
450
IDirect3DDevice9Pure_SetVertexShaderConstantB(LPDIRECT3DDEVICE9 iface,UINT StartRegister,CONST BOOL * pConstantData,UINT BoolCount)451 HRESULT WINAPI IDirect3DDevice9Pure_SetVertexShaderConstantB(LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST BOOL* pConstantData, UINT BoolCount)
452 {
453 UNIMPLEMENTED
454
455 return D3D_OK;
456 }
457
IDirect3DDevice9Pure_GetVertexShaderConstantB(LPDIRECT3DDEVICE9 iface,UINT StartRegister,BOOL * pConstantData,UINT BoolCount)458 HRESULT WINAPI IDirect3DDevice9Pure_GetVertexShaderConstantB(LPDIRECT3DDEVICE9 iface, UINT StartRegister, BOOL* pConstantData, UINT BoolCount)
459 {
460 UNIMPLEMENTED
461
462 return D3D_OK;
463 }
464
IDirect3DDevice9Pure_SetStreamSource(LPDIRECT3DDEVICE9 iface,UINT StreamNumber,IDirect3DVertexBuffer9 * pStreamData,UINT OffsetInBytes,UINT Stride)465 HRESULT WINAPI IDirect3DDevice9Pure_SetStreamSource(LPDIRECT3DDEVICE9 iface, UINT StreamNumber, IDirect3DVertexBuffer9* pStreamData, UINT OffsetInBytes, UINT Stride)
466 {
467 UNIMPLEMENTED
468
469 return D3D_OK;
470 }
471
IDirect3DDevice9Pure_GetStreamSource(LPDIRECT3DDEVICE9 iface,UINT StreamNumber,IDirect3DVertexBuffer9 ** ppStreamData,UINT * pOffsetInBytes,UINT * pStride)472 HRESULT WINAPI IDirect3DDevice9Pure_GetStreamSource(LPDIRECT3DDEVICE9 iface, UINT StreamNumber, IDirect3DVertexBuffer9** ppStreamData, UINT* pOffsetInBytes, UINT* pStride)
473 {
474 UNIMPLEMENTED
475
476 return D3D_OK;
477 }
478
IDirect3DDevice9Pure_SetStreamSourceFreq(LPDIRECT3DDEVICE9 iface,UINT StreamNumber,UINT Setting)479 HRESULT WINAPI IDirect3DDevice9Pure_SetStreamSourceFreq(LPDIRECT3DDEVICE9 iface, UINT StreamNumber,UINT Setting)
480 {
481 UNIMPLEMENTED
482
483 return D3D_OK;
484 }
485
IDirect3DDevice9Pure_GetStreamSourceFreq(LPDIRECT3DDEVICE9 iface,UINT StreamNumber,UINT * pSetting)486 HRESULT WINAPI IDirect3DDevice9Pure_GetStreamSourceFreq(LPDIRECT3DDEVICE9 iface, UINT StreamNumber, UINT* pSetting)
487 {
488 UNIMPLEMENTED
489
490 return D3D_OK;
491 }
492
IDirect3DDevice9Pure_SetIndices(LPDIRECT3DDEVICE9 iface,IDirect3DIndexBuffer9 * pIndexData)493 HRESULT WINAPI IDirect3DDevice9Pure_SetIndices(LPDIRECT3DDEVICE9 iface, IDirect3DIndexBuffer9* pIndexData)
494 {
495 UNIMPLEMENTED
496
497 return D3D_OK;
498 }
499
IDirect3DDevice9Pure_GetIndices(LPDIRECT3DDEVICE9 iface,IDirect3DIndexBuffer9 ** ppIndexData)500 HRESULT WINAPI IDirect3DDevice9Pure_GetIndices(LPDIRECT3DDEVICE9 iface, IDirect3DIndexBuffer9** ppIndexData)
501 {
502 UNIMPLEMENTED
503
504 return D3D_OK;
505 }
506
IDirect3DDevice9Pure_CreatePixelShader(LPDIRECT3DDEVICE9 iface,CONST DWORD * pFunction,IDirect3DPixelShader9 ** ppShader)507 HRESULT WINAPI IDirect3DDevice9Pure_CreatePixelShader(LPDIRECT3DDEVICE9 iface, CONST DWORD* pFunction, IDirect3DPixelShader9** ppShader)
508 {
509 UNIMPLEMENTED
510
511 return D3D_OK;
512 }
513
IDirect3DDevice9Pure_SetPixelShader(LPDIRECT3DDEVICE9 iface,IDirect3DPixelShader9 * pShader)514 HRESULT WINAPI IDirect3DDevice9Pure_SetPixelShader(LPDIRECT3DDEVICE9 iface, IDirect3DPixelShader9* pShader)
515 {
516 UNIMPLEMENTED
517
518 return D3D_OK;
519 }
520
IDirect3DDevice9Pure_GetPixelShader(LPDIRECT3DDEVICE9 iface,IDirect3DPixelShader9 ** ppShader)521 HRESULT WINAPI IDirect3DDevice9Pure_GetPixelShader(LPDIRECT3DDEVICE9 iface, IDirect3DPixelShader9** ppShader)
522 {
523 UNIMPLEMENTED
524
525 return D3D_OK;
526 }
527
IDirect3DDevice9Pure_SetPixelShaderConstantF(LPDIRECT3DDEVICE9 iface,UINT StartRegister,CONST float * pConstantData,UINT Vector4fCount)528 HRESULT WINAPI IDirect3DDevice9Pure_SetPixelShaderConstantF(LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST float* pConstantData, UINT Vector4fCount)
529 {
530 UNIMPLEMENTED
531
532 return D3D_OK;
533 }
534
IDirect3DDevice9Pure_GetPixelShaderConstantF(LPDIRECT3DDEVICE9 iface,UINT StartRegister,float * pConstantData,UINT Vector4fCount)535 HRESULT WINAPI IDirect3DDevice9Pure_GetPixelShaderConstantF(LPDIRECT3DDEVICE9 iface, UINT StartRegister, float* pConstantData, UINT Vector4fCount)
536 {
537 UNIMPLEMENTED
538
539 return D3D_OK;
540 }
541
IDirect3DDevice9Pure_SetPixelShaderConstantI(LPDIRECT3DDEVICE9 iface,UINT StartRegister,CONST int * pConstantData,UINT Vector4iCount)542 HRESULT WINAPI IDirect3DDevice9Pure_SetPixelShaderConstantI(LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST int* pConstantData, UINT Vector4iCount)
543 {
544 UNIMPLEMENTED
545
546 return D3D_OK;
547 }
548
IDirect3DDevice9Pure_GetPixelShaderConstantI(LPDIRECT3DDEVICE9 iface,UINT StartRegister,int * pConstantData,UINT Vector4iCount)549 HRESULT WINAPI IDirect3DDevice9Pure_GetPixelShaderConstantI(LPDIRECT3DDEVICE9 iface, UINT StartRegister, int* pConstantData, UINT Vector4iCount)
550 {
551 UNIMPLEMENTED
552
553 return D3D_OK;
554 }
555
IDirect3DDevice9Pure_SetPixelShaderConstantB(LPDIRECT3DDEVICE9 iface,UINT StartRegister,CONST BOOL * pConstantData,UINT BoolCount)556 HRESULT WINAPI IDirect3DDevice9Pure_SetPixelShaderConstantB(LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST BOOL* pConstantData, UINT BoolCount)
557 {
558 UNIMPLEMENTED
559
560 return D3D_OK;
561 }
562
IDirect3DDevice9Pure_GetPixelShaderConstantB(LPDIRECT3DDEVICE9 iface,UINT StartRegister,BOOL * pConstantData,UINT BoolCount)563 HRESULT WINAPI IDirect3DDevice9Pure_GetPixelShaderConstantB(LPDIRECT3DDEVICE9 iface, UINT StartRegister, BOOL* pConstantData, UINT BoolCount)
564 {
565 UNIMPLEMENTED
566
567 return D3D_OK;
568 }
569
IDirect3DDevice9Pure_DrawRectPatch(LPDIRECT3DDEVICE9 iface,UINT Handle,CONST float * pNumSegs,CONST D3DRECTPATCH_INFO * pRectPatchInfo)570 HRESULT WINAPI IDirect3DDevice9Pure_DrawRectPatch(LPDIRECT3DDEVICE9 iface, UINT Handle, CONST float* pNumSegs, CONST D3DRECTPATCH_INFO* pRectPatchInfo)
571 {
572 UNIMPLEMENTED
573
574 return D3D_OK;
575 }
576
IDirect3DDevice9Pure_DrawTriPatch(LPDIRECT3DDEVICE9 iface,UINT Handle,CONST float * pNumSegs,CONST D3DTRIPATCH_INFO * pTriPatchInfo)577 HRESULT WINAPI IDirect3DDevice9Pure_DrawTriPatch(LPDIRECT3DDEVICE9 iface, UINT Handle, CONST float* pNumSegs, CONST D3DTRIPATCH_INFO* pTriPatchInfo)
578 {
579 UNIMPLEMENTED
580
581 return D3D_OK;
582 }
583
IDirect3DDevice9Pure_DeletePatch(LPDIRECT3DDEVICE9 iface,UINT Handle)584 HRESULT WINAPI IDirect3DDevice9Pure_DeletePatch(LPDIRECT3DDEVICE9 iface, UINT Handle)
585 {
586 UNIMPLEMENTED
587
588 return D3D_OK;
589 }
590
IDirect3DDevice9Pure_CreateQuery(LPDIRECT3DDEVICE9 iface,D3DQUERYTYPE Type,IDirect3DQuery9 ** ppQuery)591 HRESULT WINAPI IDirect3DDevice9Pure_CreateQuery(LPDIRECT3DDEVICE9 iface, D3DQUERYTYPE Type, IDirect3DQuery9** ppQuery)
592 {
593 UNIMPLEMENTED
594
595 return D3D_OK;
596 }
597
598 /* IDirect3DDevice9 private interface */
IDirect3DDevice9Pure_SetRenderStateWorker(LPDIRECT3DDEVICE9 iface,D3DRENDERSTATETYPE State,DWORD Value)599 HRESULT WINAPI IDirect3DDevice9Pure_SetRenderStateWorker(LPDIRECT3DDEVICE9 iface, D3DRENDERSTATETYPE State, DWORD Value)
600 {
601 UNIMPLEMENTED
602
603 return D3D_OK;
604 }
605
IDirect3DDevice9Pure_SetTextureStageStateInt(LPDIRECT3DDEVICE9 iface,DWORD Stage,D3DTEXTURESTAGESTATETYPE Type,DWORD Value)606 HRESULT WINAPI IDirect3DDevice9Pure_SetTextureStageStateInt(LPDIRECT3DDEVICE9 iface, DWORD Stage, D3DTEXTURESTAGESTATETYPE Type, DWORD Value)
607 {
608 UNIMPLEMENTED
609
610 return D3D_OK;
611 }
612
IDirect3DDevice9Pure_SetSamplerStateInt(LPDIRECT3DDEVICE9 iface,DWORD Sampler,D3DSAMPLERSTATETYPE Type,DWORD Value)613 HRESULT WINAPI IDirect3DDevice9Pure_SetSamplerStateInt(LPDIRECT3DDEVICE9 iface, DWORD Sampler, D3DSAMPLERSTATETYPE Type, DWORD Value)
614 {
615 UNIMPLEMENTED
616
617 return D3D_OK;
618 }
619
IDirect3DDevice9Pure_SetMaterialInt(LPDIRECT3DDEVICE9 iface,CONST D3DMATERIAL9 * pMaterial)620 HRESULT WINAPI IDirect3DDevice9Pure_SetMaterialInt(LPDIRECT3DDEVICE9 iface, CONST D3DMATERIAL9* pMaterial)
621 {
622 UNIMPLEMENTED
623
624 return D3D_OK;
625 }
626
IDirect3DDevice9Pure_SetVertexShaderInt(LPDIRECT3DDEVICE9 iface,IDirect3DVertexShader9 * pShader)627 HRESULT WINAPI IDirect3DDevice9Pure_SetVertexShaderInt(LPDIRECT3DDEVICE9 iface, IDirect3DVertexShader9* pShader)
628 {
629 UNIMPLEMENTED
630
631 return D3D_OK;
632 }
633
IDirect3DDevice9Pure_SetVertexShaderConstantFInt(LPDIRECT3DDEVICE9 iface,UINT StartRegister,CONST float * pConstantData,UINT Vector4fCount)634 HRESULT WINAPI IDirect3DDevice9Pure_SetVertexShaderConstantFInt(LPDIRECT3DDEVICE9 iface, UINT StartRegister,CONST float* pConstantData,UINT Vector4fCount)
635 {
636 UNIMPLEMENTED
637
638 return D3D_OK;
639 }
640
IDirect3DDevice9Pure_SetVertexShaderConstantIInt(LPDIRECT3DDEVICE9 iface,UINT StartRegister,CONST int * pConstantData,UINT Vector4iCount)641 HRESULT WINAPI IDirect3DDevice9Pure_SetVertexShaderConstantIInt(LPDIRECT3DDEVICE9 iface, UINT StartRegister,CONST int* pConstantData,UINT Vector4iCount)
642 {
643 UNIMPLEMENTED
644
645 return D3D_OK;
646 }
647
IDirect3DDevice9Pure_SetVertexShaderConstantBInt(LPDIRECT3DDEVICE9 iface,UINT StartRegister,CONST BOOL * pConstantData,UINT BoolCount)648 HRESULT WINAPI IDirect3DDevice9Pure_SetVertexShaderConstantBInt(LPDIRECT3DDEVICE9 iface, UINT StartRegister,CONST BOOL* pConstantData,UINT BoolCount)
649 {
650 UNIMPLEMENTED
651
652 return D3D_OK;
653 }
654
IDirect3DDevice9Pure_SetPixelShaderInt(LPDIRECT3DDEVICE9 iface,IDirect3DPixelShader9 * pShader)655 HRESULT WINAPI IDirect3DDevice9Pure_SetPixelShaderInt(LPDIRECT3DDEVICE9 iface, IDirect3DPixelShader9* pShader)
656 {
657 UNIMPLEMENTED
658
659 return D3D_OK;
660 }
661
IDirect3DDevice9Pure_SetPixelShaderConstantFInt(LPDIRECT3DDEVICE9 iface,UINT StartRegister,CONST float * pConstantData,UINT Vector4fCount)662 HRESULT WINAPI IDirect3DDevice9Pure_SetPixelShaderConstantFInt(LPDIRECT3DDEVICE9 iface, UINT StartRegister,CONST float* pConstantData,UINT Vector4fCount)
663 {
664 UNIMPLEMENTED
665
666 return D3D_OK;
667 }
668
IDirect3DDevice9Pure_SetPixelShaderConstantIInt(LPDIRECT3DDEVICE9 iface,UINT StartRegister,CONST int * pConstantData,UINT Vector4iCount)669 HRESULT WINAPI IDirect3DDevice9Pure_SetPixelShaderConstantIInt(LPDIRECT3DDEVICE9 iface, UINT StartRegister,CONST int* pConstantData,UINT Vector4iCount)
670 {
671 UNIMPLEMENTED
672
673 return D3D_OK;
674 }
675
IDirect3DDevice9Pure_SetPixelShaderConstantBInt(LPDIRECT3DDEVICE9 iface,UINT StartRegister,CONST BOOL * pConstantData,UINT BoolCount)676 HRESULT WINAPI IDirect3DDevice9Pure_SetPixelShaderConstantBInt(LPDIRECT3DDEVICE9 iface, UINT StartRegister,CONST BOOL* pConstantData,UINT BoolCount)
677 {
678 UNIMPLEMENTED
679
680 return D3D_OK;
681 }
682
IDirect3DDevice9Pure_SetFVFInt(LPDIRECT3DDEVICE9 iface,DWORD FVF)683 HRESULT WINAPI IDirect3DDevice9Pure_SetFVFInt(LPDIRECT3DDEVICE9 iface, DWORD FVF)
684 {
685 UNIMPLEMENTED
686
687 return D3D_OK;
688 }
689
IDirect3DDevice9Pure_SetTextureInt(LPDIRECT3DDEVICE9 iface,DWORD Stage,IDirect3DBaseTexture9 * pTexture)690 HRESULT WINAPI IDirect3DDevice9Pure_SetTextureInt(LPDIRECT3DDEVICE9 iface, DWORD Stage,IDirect3DBaseTexture9* pTexture)
691 {
692 UNIMPLEMENTED
693
694 return D3D_OK;
695 }
696
IDirect3DDevice9Pure_SetIndicesInt(LPDIRECT3DDEVICE9 iface,IDirect3DIndexBuffer9 * pIndexData)697 HRESULT WINAPI IDirect3DDevice9Pure_SetIndicesInt(LPDIRECT3DDEVICE9 iface, IDirect3DIndexBuffer9* pIndexData)
698 {
699 UNIMPLEMENTED
700
701 return D3D_OK;
702 }
703
IDirect3DDevice9Pure_SetStreamSourceInt(LPDIRECT3DDEVICE9 iface,UINT StreamNumber,IDirect3DVertexBuffer9 * pStreamData,UINT OffsetInBytes,UINT Stride)704 HRESULT WINAPI IDirect3DDevice9Pure_SetStreamSourceInt(LPDIRECT3DDEVICE9 iface, UINT StreamNumber,IDirect3DVertexBuffer9* pStreamData,UINT OffsetInBytes,UINT Stride)
705 {
706 UNIMPLEMENTED
707
708 return D3D_OK;
709 }
710
IDirect3DDevice9Pure_SetStreamSourceFreqInt(LPDIRECT3DDEVICE9 iface,UINT StreamNumber,UINT Setting)711 HRESULT WINAPI IDirect3DDevice9Pure_SetStreamSourceFreqInt(LPDIRECT3DDEVICE9 iface, UINT StreamNumber,UINT Setting)
712 {
713 UNIMPLEMENTED
714
715 return D3D_OK;
716 }
717
IDirect3DDevice9Pure_UpdateRenderState(LPDIRECT3DDEVICE9 iface,DWORD Unknown1,DWORD Unknown2)718 VOID WINAPI IDirect3DDevice9Pure_UpdateRenderState(LPDIRECT3DDEVICE9 iface, DWORD Unknown1, DWORD Unknown2)
719 {
720 UNIMPLEMENTED
721 }
722
IDirect3DDevice9Pure_SetTransformInt(LPDIRECT3DDEVICE9 iface,D3DTRANSFORMSTATETYPE State,CONST D3DMATRIX * pMatrix)723 HRESULT WINAPI IDirect3DDevice9Pure_SetTransformInt(LPDIRECT3DDEVICE9 iface, D3DTRANSFORMSTATETYPE State,CONST D3DMATRIX* pMatrix)
724 {
725 UNIMPLEMENTED
726
727 return D3D_OK;
728 }
729
IDirect3DDevice9Pure_MultiplyTransformInt(LPDIRECT3DDEVICE9 iface,D3DTRANSFORMSTATETYPE State,CONST D3DMATRIX * pMatrix)730 HRESULT WINAPI IDirect3DDevice9Pure_MultiplyTransformInt(LPDIRECT3DDEVICE9 iface, D3DTRANSFORMSTATETYPE State, CONST D3DMATRIX* pMatrix)
731 {
732 UNIMPLEMENTED
733
734 return D3D_OK;
735 }
736
IDirect3DDevice9Pure_SetClipPlaneInt(LPDIRECT3DDEVICE9 iface,DWORD Index,CONST float * pPlane)737 HRESULT WINAPI IDirect3DDevice9Pure_SetClipPlaneInt(LPDIRECT3DDEVICE9 iface, DWORD Index, CONST float* pPlane)
738 {
739 UNIMPLEMENTED
740
741 return D3D_OK;
742 }
743
IDirect3DDevice9Pure_UpdateDriverState(LPDIRECT3DDEVICE9 iface)744 VOID WINAPI IDirect3DDevice9Pure_UpdateDriverState(LPDIRECT3DDEVICE9 iface)
745 {
746 UNIMPLEMENTED
747 }
748
IDirect3DDevice9Pure_SetViewportInt(LPDIRECT3DDEVICE9 iface,CONST D3DVIEWPORT9 * pViewport)749 HRESULT WINAPI IDirect3DDevice9Pure_SetViewportInt(LPDIRECT3DDEVICE9 iface, CONST D3DVIEWPORT9* pViewport)
750 {
751 UNIMPLEMENTED
752
753 return D3D_OK;
754 }
755
IDirect3DDevice9Pure_SetStreamSourceWorker(LPDIRECT3DDEVICE9 iface,LPVOID UnknownStreamData)756 VOID WINAPI IDirect3DDevice9Pure_SetStreamSourceWorker(LPDIRECT3DDEVICE9 iface, LPVOID UnknownStreamData)
757 {
758 UNIMPLEMENTED
759 }
760
IDirect3DDevice9Pure_SetPixelShaderConstantFWorker(LPDIRECT3DDEVICE9 iface,UINT StartRegister,CONST float * pConstantData,UINT Vector4fCount)761 HRESULT WINAPI IDirect3DDevice9Pure_SetPixelShaderConstantFWorker(LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST float* pConstantData, UINT Vector4fCount)
762 {
763 UNIMPLEMENTED
764
765 return D3D_OK;
766 }
767
IDirect3DDevice9Pure_SetPixelShaderConstantIWorker(LPDIRECT3DDEVICE9 iface,UINT StartRegister,CONST int * pConstantData,UINT Vector4iCount)768 HRESULT WINAPI IDirect3DDevice9Pure_SetPixelShaderConstantIWorker(LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST int* pConstantData, UINT Vector4iCount)
769 {
770 UNIMPLEMENTED
771
772 return D3D_OK;
773 }
774
IDirect3DDevice9Pure_SetPixelShaderConstantBWorker(LPDIRECT3DDEVICE9 iface,UINT StartRegister,CONST BOOL * pConstantData,UINT BoolCount)775 HRESULT WINAPI IDirect3DDevice9Pure_SetPixelShaderConstantBWorker(LPDIRECT3DDEVICE9 iface, UINT StartRegister, CONST BOOL* pConstantData, UINT BoolCount)
776 {
777 UNIMPLEMENTED
778
779 return D3D_OK;
780 }
781
IDirect3DDevice9Pure_DrawPrimitiveWorker(LPDIRECT3DDEVICE9 iface,D3DPRIMITIVETYPE PrimitiveType,UINT StartVertex,UINT PrimitiveCount)782 VOID WINAPI IDirect3DDevice9Pure_DrawPrimitiveWorker(LPDIRECT3DDEVICE9 iface, D3DPRIMITIVETYPE PrimitiveType, UINT StartVertex, UINT PrimitiveCount)
783 {
784 UNIMPLEMENTED
785 }
786
IDirect3DDevice9Pure_SetLightInt(LPDIRECT3DDEVICE9 iface,DWORD Index,CONST D3DLIGHT9 * pLight)787 HRESULT WINAPI IDirect3DDevice9Pure_SetLightInt(LPDIRECT3DDEVICE9 iface, DWORD Index, CONST D3DLIGHT9* pLight)
788 {
789 UNIMPLEMENTED
790
791 return D3D_OK;
792 }
793
IDirect3DDevice9Pure_LightEnableInt(LPDIRECT3DDEVICE9 iface,DWORD Index,BOOL Enable)794 HRESULT WINAPI IDirect3DDevice9Pure_LightEnableInt(LPDIRECT3DDEVICE9 iface, DWORD Index, BOOL Enable)
795 {
796 UNIMPLEMENTED
797
798 return D3D_OK;
799 }
800
IDirect3DDevice9Pure_SetRenderStateInt(LPDIRECT3DDEVICE9 iface,D3DRENDERSTATETYPE State,DWORD Value)801 HRESULT WINAPI IDirect3DDevice9Pure_SetRenderStateInt(LPDIRECT3DDEVICE9 iface, D3DRENDERSTATETYPE State, DWORD Value)
802 {
803 UNIMPLEMENTED
804
805 return D3D_OK;
806 }
807
IDirect3DDevice9Pure_DrawPrimitiveUPInt(LPDIRECT3DDEVICE9 iface,D3DPRIMITIVETYPE PrimitiveType,UINT PrimitiveCount)808 HRESULT WINAPI IDirect3DDevice9Pure_DrawPrimitiveUPInt(LPDIRECT3DDEVICE9 iface, D3DPRIMITIVETYPE PrimitiveType, UINT PrimitiveCount)
809 {
810 UNIMPLEMENTED
811
812 return D3D_OK;
813 }
814
IDirect3DDevice9Pure_ClearInt(LPDIRECT3DDEVICE9 iface,DWORD Count,CONST D3DRECT * pRects,DWORD Flags,D3DCOLOR Color,float Z,DWORD Stencil)815 HRESULT WINAPI IDirect3DDevice9Pure_ClearInt(LPDIRECT3DDEVICE9 iface, DWORD Count, CONST D3DRECT* pRects, DWORD Flags, D3DCOLOR Color, float Z, DWORD Stencil)
816 {
817 UNIMPLEMENTED
818
819 return D3D_OK;
820 }
821
IDirect3DDevice9Pure_DrawPrimitivesWorker(LPDIRECT3DDEVICE9 iface)822 VOID WINAPI IDirect3DDevice9Pure_DrawPrimitivesWorker(LPDIRECT3DDEVICE9 iface)
823 {
824 UNIMPLEMENTED
825 }
826
IDirect3DDevice9Pure_UpdateVertexShader(LPDIRECT3DDEVICE9 iface)827 VOID WINAPI IDirect3DDevice9Pure_UpdateVertexShader(LPDIRECT3DDEVICE9 iface)
828 {
829 UNIMPLEMENTED
830 }
831
IDirect3DDevice9Pure_ValidateDrawCall(LPDIRECT3DDEVICE9 iface,D3DPRIMITIVETYPE PrimitiveType,UINT Unknown1,UINT Unknown2,UINT Unknown3,INT Unknown4,UINT Unknown5,INT Unknown6)832 HRESULT WINAPI IDirect3DDevice9Pure_ValidateDrawCall(LPDIRECT3DDEVICE9 iface, D3DPRIMITIVETYPE PrimitiveType, UINT Unknown1, UINT Unknown2, UINT Unknown3, INT Unknown4, UINT Unknown5, INT Unknown6)
833 {
834 UNIMPLEMENTED
835
836 return D3D_OK;
837 }
838
IDirect3DDevice9Pure_Init(LPDIRECT3DDEVICE9 iface)839 HRESULT WINAPI IDirect3DDevice9Pure_Init(LPDIRECT3DDEVICE9 iface)
840 {
841 UNIMPLEMENTED
842
843 return D3D_OK;
844 }
845
IDirect3DDevice9Pure_InitState(LPDIRECT3DDEVICE9 iface,INT State)846 VOID WINAPI IDirect3DDevice9Pure_InitState(LPDIRECT3DDEVICE9 iface, INT State)
847 {
848 UNIMPLEMENTED
849 }
850
IDirect3DDevice9Pure_Destroy(LPDIRECT3DDEVICE9 iface)851 VOID WINAPI IDirect3DDevice9Pure_Destroy(LPDIRECT3DDEVICE9 iface)
852 {
853 UNIMPLEMENTED
854 }
855
IDirect3DDevice9Pure_VirtualDestructor(LPDIRECT3DDEVICE9 iface)856 VOID WINAPI IDirect3DDevice9Pure_VirtualDestructor(LPDIRECT3DDEVICE9 iface)
857 {
858 UNIMPLEMENTED
859 }
860