shell32: Use shared IUnknown implementation for both vtables.
[wine/multimedia.git] / dlls / d3drm / frame.c
blob212f7dd57bc752a29e0811b102900bd52ad7db01
1 /*
2 * Implementation of IDirect3DRMFrame Interface
4 * Copyright 2011, 2012 André Hentschel
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include "wine/debug.h"
23 #define COBJMACROS
25 #include "winbase.h"
26 #include "wingdi.h"
28 #include "d3drm_private.h"
30 WINE_DEFAULT_DEBUG_CHANNEL(d3drm);
32 typedef struct {
33 IDirect3DRMFrame2 IDirect3DRMFrame2_iface;
34 IDirect3DRMFrame3 IDirect3DRMFrame3_iface;
35 LONG ref;
36 } IDirect3DRMFrameImpl;
38 static const struct IDirect3DRMFrame2Vtbl Direct3DRMFrame2_Vtbl;
39 static const struct IDirect3DRMFrame3Vtbl Direct3DRMFrame3_Vtbl;
41 static inline IDirect3DRMFrameImpl *impl_from_IDirect3DRMFrame2(IDirect3DRMFrame2 *iface)
43 return CONTAINING_RECORD(iface, IDirect3DRMFrameImpl, IDirect3DRMFrame2_iface);
46 static inline IDirect3DRMFrameImpl *impl_from_IDirect3DRMFrame3(IDirect3DRMFrame3 *iface)
48 return CONTAINING_RECORD(iface, IDirect3DRMFrameImpl, IDirect3DRMFrame3_iface);
51 HRESULT Direct3DRMFrame_create(REFIID riid, IUnknown** ppObj)
53 IDirect3DRMFrameImpl* object;
55 TRACE("(%p)\n", ppObj);
57 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirect3DRMFrameImpl));
58 if (!object)
60 ERR("Out of memory\n");
61 return E_OUTOFMEMORY;
64 object->IDirect3DRMFrame2_iface.lpVtbl = &Direct3DRMFrame2_Vtbl;
65 object->IDirect3DRMFrame3_iface.lpVtbl = &Direct3DRMFrame3_Vtbl;
66 object->ref = 1;
68 if (IsEqualGUID(riid, &IID_IDirect3DRMFrame3))
69 *ppObj = (IUnknown*)&object->IDirect3DRMFrame3_iface;
70 else
71 *ppObj = (IUnknown*)&object->IDirect3DRMFrame2_iface;
73 return S_OK;
76 /*** IUnknown methods ***/
77 static HRESULT WINAPI IDirect3DRMFrame2Impl_QueryInterface(IDirect3DRMFrame2* iface,
78 REFIID riid, void** object)
80 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
82 TRACE("(%p/%p)->(%s, %p)\n", iface, This, debugstr_guid(riid), object);
84 *object = NULL;
86 if(IsEqualGUID(riid, &IID_IUnknown) ||
87 IsEqualGUID(riid, &IID_IDirect3DRMFrame) ||
88 IsEqualGUID(riid, &IID_IDirect3DRMFrame2))
90 *object = &This->IDirect3DRMFrame2_iface;
92 else if(IsEqualGUID(riid, &IID_IDirect3DRMFrame3))
94 *object = &This->IDirect3DRMFrame3_iface;
96 else
98 FIXME("interface %s not implemented\n", debugstr_guid(riid));
99 return E_NOINTERFACE;
102 IDirect3DRMFrame2_AddRef(iface);
103 return S_OK;
106 static ULONG WINAPI IDirect3DRMFrame2Impl_AddRef(IDirect3DRMFrame2* iface)
108 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
110 TRACE("(%p)\n", This);
112 return InterlockedIncrement(&This->ref);
115 static ULONG WINAPI IDirect3DRMFrame2Impl_Release(IDirect3DRMFrame2* iface)
117 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
118 ULONG ref = InterlockedDecrement(&This->ref);
120 TRACE("(%p)\n", This);
122 if (!ref)
123 HeapFree(GetProcessHeap(), 0, This);
125 return ref;
128 /*** IDirect3DRMObject methods ***/
129 static HRESULT WINAPI IDirect3DRMFrame2Impl_Clone(IDirect3DRMFrame2* iface,
130 LPUNKNOWN unkwn, REFIID riid,
131 LPVOID* object)
133 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
135 FIXME("(%p/%p)->(%p, %s, %p): stub\n", iface, This, unkwn, debugstr_guid(riid), object);
137 return E_NOTIMPL;
140 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddDestroyCallback(IDirect3DRMFrame2* iface,
141 D3DRMOBJECTCALLBACK cb,
142 LPVOID argument)
144 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
146 FIXME("(%p/%p)->(%p, %p): stub\n", iface, This, cb, argument);
148 return E_NOTIMPL;
151 static HRESULT WINAPI IDirect3DRMFrame2Impl_DeleteDestroyCallback(IDirect3DRMFrame2* iface,
152 D3DRMOBJECTCALLBACK cb,
153 LPVOID argument)
155 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
157 FIXME("(%p/%p)->(%p, %p): stub\n", iface, This, cb, argument);
159 return E_NOTIMPL;
162 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetAppData(IDirect3DRMFrame2* iface,
163 DWORD data)
165 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
167 FIXME("(%p/%p)->(%u): stub\n", iface, This, data);
169 return E_NOTIMPL;
172 static DWORD WINAPI IDirect3DRMFrame2Impl_GetAppData(IDirect3DRMFrame2* iface)
174 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
176 FIXME("(%p/%p)->(): stub\n", iface, This);
178 return 0;
181 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetName(IDirect3DRMFrame2* iface, LPCSTR name)
183 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
185 FIXME("(%p/%p)->(%s): stub\n", iface, This, name);
187 return E_NOTIMPL;
190 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetName(IDirect3DRMFrame2* iface,
191 LPDWORD size, LPSTR name)
193 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
195 FIXME("(%p/%p)->(%p, %p): stub\n", iface, This, size, name);
197 return E_NOTIMPL;
200 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetClassName(IDirect3DRMFrame2* iface,
201 LPDWORD size, LPSTR name)
203 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
205 FIXME("(%p/%p)->(%p, %p): stub\n", iface, This, size, name);
207 return E_NOTIMPL;
210 /*** IDirect3DRMFrame methods ***/
211 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddChild(IDirect3DRMFrame2* iface,
212 LPDIRECT3DRMFRAME child)
214 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
216 FIXME("(%p/%p)->(%p): stub\n", iface, This, child);
218 return E_NOTIMPL;
221 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddLight(IDirect3DRMFrame2* iface,
222 LPDIRECT3DRMLIGHT light)
224 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
226 FIXME("(%p/%p)->(%p): stub\n", iface, This, light);
228 return E_NOTIMPL;
231 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddMoveCallback(IDirect3DRMFrame2* iface,
232 D3DRMFRAMEMOVECALLBACK cb, VOID *arg)
234 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
236 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, cb, arg);
238 return E_NOTIMPL;
241 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddTransform(IDirect3DRMFrame2* iface,
242 D3DRMCOMBINETYPE type,
243 D3DRMMATRIX4D matrix)
245 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
247 FIXME("(%p/%p)->(%u,%p): stub\n", iface, This, type, matrix);
249 return E_NOTIMPL;
252 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddTranslation(IDirect3DRMFrame2* iface,
253 D3DRMCOMBINETYPE type,
254 D3DVALUE x, D3DVALUE y, D3DVALUE z)
256 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
258 FIXME("(%p/%p)->(%u,%f,%f,%f): stub\n", iface, This, type, x, y, z);
260 return E_NOTIMPL;
263 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddScale(IDirect3DRMFrame2* iface,
264 D3DRMCOMBINETYPE type,
265 D3DVALUE sx, D3DVALUE sy, D3DVALUE sz)
267 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
269 FIXME("(%p/%p)->(%u,%f,%f,%f): stub\n", iface, This, type, sx, sy, sz);
271 return E_NOTIMPL;
274 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddRotation(IDirect3DRMFrame2* iface,
275 D3DRMCOMBINETYPE type,
276 D3DVALUE x, D3DVALUE y, D3DVALUE z,
277 D3DVALUE theta)
279 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
281 FIXME("(%p/%p)->(%u,%f,%f,%f,%f): stub\n", iface, This, type, x, y, z, theta);
283 return E_NOTIMPL;
286 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddVisual(IDirect3DRMFrame2* iface,
287 LPDIRECT3DRMVISUAL vis)
289 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
291 FIXME("(%p/%p)->(%p): stub\n", iface, This, vis);
293 return E_NOTIMPL;
296 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetChildren(IDirect3DRMFrame2* iface,
297 LPDIRECT3DRMFRAMEARRAY *children)
299 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
301 FIXME("(%p/%p)->(%p): stub\n", iface, This, children);
303 return E_NOTIMPL;
306 static D3DCOLOR WINAPI IDirect3DRMFrame2Impl_GetColor(IDirect3DRMFrame2* iface)
308 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
310 FIXME("(%p/%p)->(): stub\n", iface, This);
312 return 0;
315 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetLights(IDirect3DRMFrame2* iface,
316 LPDIRECT3DRMLIGHTARRAY *lights)
318 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
320 FIXME("(%p/%p)->(%p): stub\n", iface, This, lights);
322 return E_NOTIMPL;
325 static D3DRMMATERIALMODE WINAPI IDirect3DRMFrame2Impl_GetMaterialMode(IDirect3DRMFrame2* iface)
327 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
329 FIXME("(%p/%p)->(): stub\n", iface, This);
331 return D3DRMMATERIAL_FROMPARENT;
334 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetParent(IDirect3DRMFrame2* iface,
335 LPDIRECT3DRMFRAME * frame)
337 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
339 FIXME("(%p/%p)->(%p): stub\n", iface, This, frame);
341 return E_NOTIMPL;
344 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetPosition(IDirect3DRMFrame2* iface,
345 LPDIRECT3DRMFRAME reference,
346 LPD3DVECTOR return_position)
348 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
350 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, reference, return_position);
352 return E_NOTIMPL;
355 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetRotation(IDirect3DRMFrame2* iface,
356 LPDIRECT3DRMFRAME reference,
357 LPD3DVECTOR axis, LPD3DVALUE return_theta)
359 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
361 FIXME("(%p/%p)->(%p,%p,%p): stub\n", iface, This, reference, axis, return_theta);
363 return E_NOTIMPL;
366 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetScene(IDirect3DRMFrame2* iface,
367 LPDIRECT3DRMFRAME * frame)
369 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
371 FIXME("(%p/%p)->(%p): stub\n", iface, This, frame);
373 return E_NOTIMPL;
376 static D3DRMSORTMODE WINAPI IDirect3DRMFrame2Impl_GetSortMode(IDirect3DRMFrame2* iface)
378 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
380 FIXME("(%p/%p)->(): stub\n", iface, This);
382 return D3DRMSORT_FROMPARENT;
385 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetTexture(IDirect3DRMFrame2* iface,
386 LPDIRECT3DRMTEXTURE * tex)
388 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
390 FIXME("(%p/%p)->(%p): stub\n", iface, This, tex);
392 return E_NOTIMPL;
395 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetTransform(IDirect3DRMFrame2* iface,
396 D3DRMMATRIX4D return_matrix)
398 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
400 FIXME("(%p/%p)->(%p): stub\n", iface, This, return_matrix);
402 return E_NOTIMPL;
405 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetVelocity(IDirect3DRMFrame2* iface,
406 LPDIRECT3DRMFRAME reference,
407 LPD3DVECTOR return_velocity,
408 BOOL with_rotation)
410 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
412 FIXME("(%p/%p)->(%p,%p,%d): stub\n", iface, This, reference, return_velocity, with_rotation);
414 return E_NOTIMPL;
417 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetOrientation(IDirect3DRMFrame2* iface,
418 LPDIRECT3DRMFRAME reference,
419 LPD3DVECTOR dir, LPD3DVECTOR up)
421 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
423 FIXME("(%p/%p)->(%p,%p,%p): stub\n", iface, This, reference, dir, up);
425 return E_NOTIMPL;
428 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetVisuals(IDirect3DRMFrame2* iface,
429 LPDIRECT3DRMVISUALARRAY *visuals)
431 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
433 FIXME("(%p/%p)->(%p): stub\n", iface, This, visuals);
435 return E_NOTIMPL;
438 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetTextureTopology(IDirect3DRMFrame2* iface,
439 BOOL *wrap_u, BOOL *wrap_v)
441 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
443 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, wrap_u, wrap_v);
445 return E_NOTIMPL;
448 static HRESULT WINAPI IDirect3DRMFrame2Impl_InverseTransform(IDirect3DRMFrame2* iface,
449 D3DVECTOR *d, D3DVECTOR *s)
451 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
453 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, d, s);
455 return E_NOTIMPL;
458 static HRESULT WINAPI IDirect3DRMFrame2Impl_Load(IDirect3DRMFrame2* iface, LPVOID filename,
459 LPVOID name, D3DRMLOADOPTIONS loadflags,
460 D3DRMLOADTEXTURECALLBACK cb, LPVOID lpArg)
462 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
464 FIXME("(%p/%p)->(%p,%p,%u,%p,%p): stub\n", iface, This, filename, name, loadflags, cb, lpArg);
466 return E_NOTIMPL;
469 static HRESULT WINAPI IDirect3DRMFrame2Impl_LookAt(IDirect3DRMFrame2* iface,
470 LPDIRECT3DRMFRAME target,
471 LPDIRECT3DRMFRAME reference,
472 D3DRMFRAMECONSTRAINT constraint)
474 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
476 FIXME("(%p/%p)->(%p,%p,%u): stub\n", iface, This, target, reference, constraint);
478 return E_NOTIMPL;
481 static HRESULT WINAPI IDirect3DRMFrame2Impl_Move(IDirect3DRMFrame2* iface, D3DVALUE delta)
483 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
485 FIXME("(%p/%p)->(%f): stub\n", iface, This, delta);
487 return E_NOTIMPL;
490 static HRESULT WINAPI IDirect3DRMFrame2Impl_DeleteChild(IDirect3DRMFrame2* iface,
491 LPDIRECT3DRMFRAME frame)
493 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
495 FIXME("(%p/%p)->(%p): stub\n", iface, This, frame);
497 return E_NOTIMPL;
500 static HRESULT WINAPI IDirect3DRMFrame2Impl_DeleteLight(IDirect3DRMFrame2* iface,
501 LPDIRECT3DRMLIGHT light)
503 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
505 FIXME("(%p/%p)->(%p): stub\n", iface, This, light);
507 return E_NOTIMPL;
510 static HRESULT WINAPI IDirect3DRMFrame2Impl_DeleteMoveCallback(IDirect3DRMFrame2* iface,
511 D3DRMFRAMEMOVECALLBACK cb, VOID *arg)
513 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
515 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, cb, arg);
517 return E_NOTIMPL;
520 static HRESULT WINAPI IDirect3DRMFrame2Impl_DeleteVisual(IDirect3DRMFrame2* iface,
521 LPDIRECT3DRMVISUAL vis)
523 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
525 FIXME("(%p/%p)->(%p): stub\n", iface, This, vis);
527 return E_NOTIMPL;
530 static D3DCOLOR WINAPI IDirect3DRMFrame2Impl_GetSceneBackground(IDirect3DRMFrame2* iface)
532 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
534 FIXME("(%p/%p)->(): stub\n", iface, This);
536 return 0;
539 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetSceneBackgroundDepth(IDirect3DRMFrame2* iface,
540 LPDIRECTDRAWSURFACE * surface)
542 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
544 FIXME("(%p/%p)->(%p): stub\n", iface, This, surface);
546 return E_NOTIMPL;
549 static D3DCOLOR WINAPI IDirect3DRMFrame2Impl_GetSceneFogColor(IDirect3DRMFrame2* iface)
551 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
553 FIXME("(%p/%p)->(): stub\n", iface, This);
555 return 0;
558 static BOOL WINAPI IDirect3DRMFrame2Impl_GetSceneFogEnable(IDirect3DRMFrame2* iface)
560 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
562 FIXME("(%p/%p)->(): stub\n", iface, This);
564 return FALSE;
567 static D3DRMFOGMODE WINAPI IDirect3DRMFrame2Impl_GetSceneFogMode(IDirect3DRMFrame2* iface)
569 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
571 FIXME("(%p/%p)->(): stub\n", iface, This);
573 return D3DRMFOG_LINEAR;
576 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetSceneFogParams(IDirect3DRMFrame2* iface,
577 D3DVALUE *return_start,
578 D3DVALUE *return_end,
579 D3DVALUE *return_density)
581 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
583 FIXME("(%p/%p)->(%p,%p,%p): stub\n", iface, This, return_start, return_end, return_density);
585 return E_NOTIMPL;
588 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSceneBackground(IDirect3DRMFrame2* iface,
589 D3DCOLOR color)
591 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
593 FIXME("(%p/%p)->(%u): stub\n", iface, This, color);
595 return E_NOTIMPL;
598 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSceneBackgroundRGB(IDirect3DRMFrame2* iface,
599 D3DVALUE red, D3DVALUE green,
600 D3DVALUE blue)
602 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
604 FIXME("(%p/%p)->(%f,%f,%f): stub\n", iface, This, red, green, blue);
606 return E_NOTIMPL;
609 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSceneBackgroundDepth(IDirect3DRMFrame2* iface,
610 LPDIRECTDRAWSURFACE surface)
612 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
614 FIXME("(%p/%p)->(%p): stub\n", iface, This, surface);
616 return E_NOTIMPL;
619 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSceneBackgroundImage(IDirect3DRMFrame2* iface,
620 LPDIRECT3DRMTEXTURE texture)
622 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
624 FIXME("(%p/%p)->(%p): stub\n", iface, This, texture);
626 return E_NOTIMPL;
629 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSceneFogEnable(IDirect3DRMFrame2* iface, BOOL enable)
631 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
633 FIXME("(%p/%p)->(%d): stub\n", iface, This, enable);
635 return E_NOTIMPL;
638 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSceneFogColor(IDirect3DRMFrame2* iface,
639 D3DCOLOR color)
641 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
643 FIXME("(%p/%p)->(%u): stub\n", iface, This, color);
645 return E_NOTIMPL;
648 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSceneFogMode(IDirect3DRMFrame2* iface,
649 D3DRMFOGMODE mode)
651 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
653 FIXME("(%p/%p)->(%u): stub\n", iface, This, mode);
655 return E_NOTIMPL;
658 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSceneFogParams(IDirect3DRMFrame2* iface,
659 D3DVALUE start, D3DVALUE end,
660 D3DVALUE density)
662 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
664 FIXME("(%p/%p)->(%f,%f,%f): stub\n", iface, This, start, end, density);
666 return E_NOTIMPL;
669 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetColor(IDirect3DRMFrame2* iface, D3DCOLOR color)
671 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
673 FIXME("(%p/%p)->(%u): stub\n", iface, This, color);
675 return E_NOTIMPL;
678 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetColorRGB(IDirect3DRMFrame2* iface, D3DVALUE red,
679 D3DVALUE green, D3DVALUE blue)
681 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
683 FIXME("(%p/%p)->(%f,%f,%f): stub\n", iface, This, red, green, blue);
685 return E_NOTIMPL;
688 static D3DRMZBUFFERMODE WINAPI IDirect3DRMFrame2Impl_GetZbufferMode(IDirect3DRMFrame2* iface)
690 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
692 FIXME("(%p/%p)->(): stub\n", iface, This);
694 return D3DRMZBUFFER_FROMPARENT;
697 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetMaterialMode(IDirect3DRMFrame2* iface,
698 D3DRMMATERIALMODE mode)
700 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
702 FIXME("(%p/%p)->(%u): stub\n", iface, This, mode);
704 return E_NOTIMPL;
707 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetOrientation(IDirect3DRMFrame2* iface,
708 LPDIRECT3DRMFRAME reference,
709 D3DVALUE dx, D3DVALUE dy, D3DVALUE dz,
710 D3DVALUE ux, D3DVALUE uy, D3DVALUE uz )
712 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
714 FIXME("(%p/%p)->(%p,%f,%f,%f,%f,%f,%f): stub\n", iface, This, reference,
715 dx, dy, dz, ux, uy, uz);
717 return E_NOTIMPL;
720 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetPosition(IDirect3DRMFrame2* iface,
721 LPDIRECT3DRMFRAME reference,
722 D3DVALUE x, D3DVALUE y, D3DVALUE z)
724 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
726 FIXME("(%p/%p)->(%p,%f,%f,%f): stub\n", iface, This, reference, x, y, z);
728 return E_NOTIMPL;
731 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetRotation(IDirect3DRMFrame2* iface,
732 LPDIRECT3DRMFRAME reference,
733 D3DVALUE x, D3DVALUE y, D3DVALUE z,
734 D3DVALUE theta)
736 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
738 FIXME("(%p/%p)->(%p,%f,%f,%f,%f): stub\n", iface, This, reference, x, y, z, theta);
740 return E_NOTIMPL;
743 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSortMode(IDirect3DRMFrame2* iface,
744 D3DRMSORTMODE mode)
746 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
748 FIXME("(%p/%p)->(%u): stub\n", iface, This, mode);
750 return E_NOTIMPL;
753 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetTexture(IDirect3DRMFrame2* iface,
754 LPDIRECT3DRMTEXTURE texture)
756 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
758 FIXME("(%p/%p)->(%p): stub\n", iface, This, texture);
760 return E_NOTIMPL;
763 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetTextureTopology(IDirect3DRMFrame2* iface,
764 BOOL wrap_u, BOOL wrap_v)
766 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
768 FIXME("(%p/%p)->(%d,%d): stub\n", iface, This, wrap_u, wrap_v);
770 return E_NOTIMPL;
773 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetVelocity(IDirect3DRMFrame2* iface,
774 LPDIRECT3DRMFRAME reference,
775 D3DVALUE x, D3DVALUE y, D3DVALUE z,
776 BOOL with_rotation)
778 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
780 FIXME("(%p/%p)->(%p,%f,%f,%f,%d): stub\n", iface, This, reference, x, y, z, with_rotation);
782 return E_NOTIMPL;
785 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetZbufferMode(IDirect3DRMFrame2* iface,
786 D3DRMZBUFFERMODE mode)
788 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
790 FIXME("(%p/%p)->(%u): stub\n", iface, This, mode);
792 return E_NOTIMPL;
795 static HRESULT WINAPI IDirect3DRMFrame2Impl_Transform(IDirect3DRMFrame2* iface, D3DVECTOR *d,
796 D3DVECTOR *s)
798 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
800 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, d, s);
802 return E_NOTIMPL;
805 /*** IDirect3DRMFrame2 methods ***/
806 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddMoveCallback2(IDirect3DRMFrame2* iface,
807 D3DRMFRAMEMOVECALLBACK cb, VOID *arg,
808 DWORD flags)
810 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
812 FIXME("(%p/%p)->(%p,%p,%u): stub\n", iface, This, cb, arg, flags);
814 return E_NOTIMPL;
817 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetBox(IDirect3DRMFrame2* iface, LPD3DRMBOX box)
819 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
821 FIXME("(%p/%p)->(%p): stub\n", iface, This, box);
823 return E_NOTIMPL;
826 static BOOL WINAPI IDirect3DRMFrame2Impl_GetBoxEnable(IDirect3DRMFrame2* iface)
828 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
830 FIXME("(%p/%p)->(): stub\n", iface, This);
832 return E_NOTIMPL;
835 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetAxes(IDirect3DRMFrame2* iface,
836 LPD3DVECTOR dir, LPD3DVECTOR up)
838 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
840 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, dir, up);
842 return E_NOTIMPL;
845 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetMaterial(IDirect3DRMFrame2* iface,
846 LPDIRECT3DRMMATERIAL *material)
848 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
850 FIXME("(%p/%p)->(%p): stub\n", iface, This, material);
852 return E_NOTIMPL;
855 static BOOL WINAPI IDirect3DRMFrame2Impl_GetInheritAxes(IDirect3DRMFrame2* iface)
857 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
859 FIXME("(%p/%p)->(): stub\n", iface, This);
861 return E_NOTIMPL;
864 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetHierarchyBox(IDirect3DRMFrame2* iface,
865 LPD3DRMBOX box)
867 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
869 FIXME("(%p/%p)->(%p): stub\n", iface, This, box);
871 return E_NOTIMPL;
874 static const struct IDirect3DRMFrame2Vtbl Direct3DRMFrame2_Vtbl =
876 /*** IUnknown methods ***/
877 IDirect3DRMFrame2Impl_QueryInterface,
878 IDirect3DRMFrame2Impl_AddRef,
879 IDirect3DRMFrame2Impl_Release,
880 /*** IDirect3DRMObject methods ***/
881 IDirect3DRMFrame2Impl_Clone,
882 IDirect3DRMFrame2Impl_AddDestroyCallback,
883 IDirect3DRMFrame2Impl_DeleteDestroyCallback,
884 IDirect3DRMFrame2Impl_SetAppData,
885 IDirect3DRMFrame2Impl_GetAppData,
886 IDirect3DRMFrame2Impl_SetName,
887 IDirect3DRMFrame2Impl_GetName,
888 IDirect3DRMFrame2Impl_GetClassName,
889 /*** IDirect3DRMFrame methods ***/
890 IDirect3DRMFrame2Impl_AddChild,
891 IDirect3DRMFrame2Impl_AddLight,
892 IDirect3DRMFrame2Impl_AddMoveCallback,
893 IDirect3DRMFrame2Impl_AddTransform,
894 IDirect3DRMFrame2Impl_AddTranslation,
895 IDirect3DRMFrame2Impl_AddScale,
896 IDirect3DRMFrame2Impl_AddRotation,
897 IDirect3DRMFrame2Impl_AddVisual,
898 IDirect3DRMFrame2Impl_GetChildren,
899 IDirect3DRMFrame2Impl_GetColor,
900 IDirect3DRMFrame2Impl_GetLights,
901 IDirect3DRMFrame2Impl_GetMaterialMode,
902 IDirect3DRMFrame2Impl_GetParent,
903 IDirect3DRMFrame2Impl_GetPosition,
904 IDirect3DRMFrame2Impl_GetRotation,
905 IDirect3DRMFrame2Impl_GetScene,
906 IDirect3DRMFrame2Impl_GetSortMode,
907 IDirect3DRMFrame2Impl_GetTexture,
908 IDirect3DRMFrame2Impl_GetTransform,
909 IDirect3DRMFrame2Impl_GetVelocity,
910 IDirect3DRMFrame2Impl_GetOrientation,
911 IDirect3DRMFrame2Impl_GetVisuals,
912 IDirect3DRMFrame2Impl_GetTextureTopology,
913 IDirect3DRMFrame2Impl_InverseTransform,
914 IDirect3DRMFrame2Impl_Load,
915 IDirect3DRMFrame2Impl_LookAt,
916 IDirect3DRMFrame2Impl_Move,
917 IDirect3DRMFrame2Impl_DeleteChild,
918 IDirect3DRMFrame2Impl_DeleteLight,
919 IDirect3DRMFrame2Impl_DeleteMoveCallback,
920 IDirect3DRMFrame2Impl_DeleteVisual,
921 IDirect3DRMFrame2Impl_GetSceneBackground,
922 IDirect3DRMFrame2Impl_GetSceneBackgroundDepth,
923 IDirect3DRMFrame2Impl_GetSceneFogColor,
924 IDirect3DRMFrame2Impl_GetSceneFogEnable,
925 IDirect3DRMFrame2Impl_GetSceneFogMode,
926 IDirect3DRMFrame2Impl_GetSceneFogParams,
927 IDirect3DRMFrame2Impl_SetSceneBackground,
928 IDirect3DRMFrame2Impl_SetSceneBackgroundRGB,
929 IDirect3DRMFrame2Impl_SetSceneBackgroundDepth,
930 IDirect3DRMFrame2Impl_SetSceneBackgroundImage,
931 IDirect3DRMFrame2Impl_SetSceneFogEnable,
932 IDirect3DRMFrame2Impl_SetSceneFogColor,
933 IDirect3DRMFrame2Impl_SetSceneFogMode,
934 IDirect3DRMFrame2Impl_SetSceneFogParams,
935 IDirect3DRMFrame2Impl_SetColor,
936 IDirect3DRMFrame2Impl_SetColorRGB,
937 IDirect3DRMFrame2Impl_GetZbufferMode,
938 IDirect3DRMFrame2Impl_SetMaterialMode,
939 IDirect3DRMFrame2Impl_SetOrientation,
940 IDirect3DRMFrame2Impl_SetPosition,
941 IDirect3DRMFrame2Impl_SetRotation,
942 IDirect3DRMFrame2Impl_SetSortMode,
943 IDirect3DRMFrame2Impl_SetTexture,
944 IDirect3DRMFrame2Impl_SetTextureTopology,
945 IDirect3DRMFrame2Impl_SetVelocity,
946 IDirect3DRMFrame2Impl_SetZbufferMode,
947 IDirect3DRMFrame2Impl_Transform,
948 /*** IDirect3DRMFrame2 methods ***/
949 IDirect3DRMFrame2Impl_AddMoveCallback2,
950 IDirect3DRMFrame2Impl_GetBox,
951 IDirect3DRMFrame2Impl_GetBoxEnable,
952 IDirect3DRMFrame2Impl_GetAxes,
953 IDirect3DRMFrame2Impl_GetMaterial,
954 IDirect3DRMFrame2Impl_GetInheritAxes,
955 IDirect3DRMFrame2Impl_GetHierarchyBox
959 /*** IUnknown methods ***/
960 static HRESULT WINAPI IDirect3DRMFrame3Impl_QueryInterface(IDirect3DRMFrame3* iface,
961 REFIID riid, void** object)
963 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
964 return IDirect3DRMFrame_QueryInterface(&This->IDirect3DRMFrame2_iface, riid, object);
967 static ULONG WINAPI IDirect3DRMFrame3Impl_AddRef(IDirect3DRMFrame3* iface)
969 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
971 TRACE("(%p)\n", This);
973 return InterlockedIncrement(&This->ref);
976 static ULONG WINAPI IDirect3DRMFrame3Impl_Release(IDirect3DRMFrame3* iface)
978 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
979 ULONG ref = InterlockedDecrement(&This->ref);
981 TRACE("(%p)\n", This);
983 if (!ref)
984 HeapFree(GetProcessHeap(), 0, This);
986 return ref;
989 /*** IDirect3DRMObject methods ***/
990 static HRESULT WINAPI IDirect3DRMFrame3Impl_Clone(IDirect3DRMFrame3* iface,
991 LPUNKNOWN unkwn, REFIID riid,
992 LPVOID* object)
994 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
996 FIXME("(%p/%p)->(%p, %s, %p): stub\n", iface, This, unkwn, debugstr_guid(riid), object);
998 return E_NOTIMPL;
1001 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddDestroyCallback(IDirect3DRMFrame3* iface,
1002 D3DRMOBJECTCALLBACK cb,
1003 LPVOID argument)
1005 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1007 FIXME("(%p/%p)->(%p, %p): stub\n", iface, This, cb, argument);
1009 return E_NOTIMPL;
1012 static HRESULT WINAPI IDirect3DRMFrame3Impl_DeleteDestroyCallback(IDirect3DRMFrame3* iface,
1013 D3DRMOBJECTCALLBACK cb,
1014 LPVOID argument)
1016 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1018 FIXME("(%p/%p)->(%p, %p): stub\n", iface, This, cb, argument);
1020 return E_NOTIMPL;
1023 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetAppData(IDirect3DRMFrame3* iface,
1024 DWORD data)
1026 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1028 FIXME("(%p/%p)->(%u): stub\n", iface, This, data);
1030 return E_NOTIMPL;
1033 static DWORD WINAPI IDirect3DRMFrame3Impl_GetAppData(IDirect3DRMFrame3* iface)
1035 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1037 FIXME("(%p/%p)->(): stub\n", iface, This);
1039 return 0;
1042 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetName(IDirect3DRMFrame3* iface, LPCSTR name)
1044 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1046 FIXME("(%p/%p)->(%s): stub\n", iface, This, name);
1048 return E_NOTIMPL;
1051 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetName(IDirect3DRMFrame3* iface,
1052 LPDWORD size, LPSTR name)
1054 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1056 FIXME("(%p/%p)->(%p, %p): stub\n", iface, This, size, name);
1058 return E_NOTIMPL;
1061 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetClassName(IDirect3DRMFrame3* iface,
1062 LPDWORD size, LPSTR name)
1064 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1066 FIXME("(%p/%p)->(%p, %p): stub\n", iface, This, size, name);
1068 return E_NOTIMPL;
1071 /*** IDirect3DRMFrame methods ***/
1072 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddChild(IDirect3DRMFrame3* iface,
1073 LPDIRECT3DRMFRAME3 child)
1075 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1077 FIXME("(%p/%p)->(%p): stub\n", iface, This, child);
1079 return E_NOTIMPL;
1082 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddLight(IDirect3DRMFrame3* iface,
1083 LPDIRECT3DRMLIGHT light)
1085 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1087 FIXME("(%p/%p)->(%p): stub\n", iface, This, light);
1089 return E_NOTIMPL;
1092 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddMoveCallback(IDirect3DRMFrame3* iface,
1093 D3DRMFRAME3MOVECALLBACK cb, VOID *arg,
1094 DWORD flags)
1096 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1098 FIXME("(%p/%p)->(%p,%p,%u): stub\n", iface, This, cb, arg, flags);
1100 return E_NOTIMPL;
1103 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddTransform(IDirect3DRMFrame3* iface,
1104 D3DRMCOMBINETYPE type,
1105 D3DRMMATRIX4D matrix)
1107 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1109 FIXME("(%p/%p)->(%u,%p): stub\n", iface, This, type, matrix);
1111 return E_NOTIMPL;
1114 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddTranslation(IDirect3DRMFrame3* iface,
1115 D3DRMCOMBINETYPE type,
1116 D3DVALUE x, D3DVALUE y, D3DVALUE z)
1118 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1120 FIXME("(%p/%p)->(%u,%f,%f,%f): stub\n", iface, This, type, x, y, z);
1122 return E_NOTIMPL;
1125 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddScale(IDirect3DRMFrame3* iface,
1126 D3DRMCOMBINETYPE type,
1127 D3DVALUE sx, D3DVALUE sy, D3DVALUE sz)
1129 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1131 FIXME("(%p/%p)->(%u,%f,%f,%f): stub\n", iface, This, type, sx, sy, sz);
1133 return E_NOTIMPL;
1136 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddRotation(IDirect3DRMFrame3* iface,
1137 D3DRMCOMBINETYPE type,
1138 D3DVALUE x, D3DVALUE y, D3DVALUE z,
1139 D3DVALUE theta)
1141 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1143 FIXME("(%p/%p)->(%u,%f,%f,%f,%f): stub\n", iface, This, type, x, y, z, theta);
1145 return E_NOTIMPL;
1148 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddVisual(IDirect3DRMFrame3* iface, LPUNKNOWN vis)
1150 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1152 FIXME("(%p/%p)->(%p): stub\n", iface, This, vis);
1154 return E_NOTIMPL;
1157 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetChildren(IDirect3DRMFrame3* iface,
1158 LPDIRECT3DRMFRAMEARRAY *children)
1160 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1162 FIXME("(%p/%p)->(%p): stub\n", iface, This, children);
1164 return E_NOTIMPL;
1167 static D3DCOLOR WINAPI IDirect3DRMFrame3Impl_GetColor(IDirect3DRMFrame3* iface)
1169 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1171 FIXME("(%p/%p)->(): stub\n", iface, This);
1173 return 0;
1176 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetLights(IDirect3DRMFrame3* iface,
1177 LPDIRECT3DRMLIGHTARRAY *lights)
1179 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1181 FIXME("(%p/%p)->(%p): stub\n", iface, This, lights);
1183 return E_NOTIMPL;
1186 static D3DRMMATERIALMODE WINAPI IDirect3DRMFrame3Impl_GetMaterialMode(IDirect3DRMFrame3* iface)
1188 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1190 FIXME("(%p/%p)->(): stub\n", iface, This);
1192 return D3DRMMATERIAL_FROMPARENT;
1195 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetParent(IDirect3DRMFrame3* iface,
1196 LPDIRECT3DRMFRAME3 * frame)
1198 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1200 FIXME("(%p/%p)->(%p): stub\n", iface, This, frame);
1202 return E_NOTIMPL;
1205 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetPosition(IDirect3DRMFrame3* iface,
1206 LPDIRECT3DRMFRAME3 reference,
1207 LPD3DVECTOR return_position)
1209 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1211 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, reference, return_position);
1213 return E_NOTIMPL;
1216 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetRotation(IDirect3DRMFrame3* iface,
1217 LPDIRECT3DRMFRAME3 reference,
1218 LPD3DVECTOR axis, LPD3DVALUE return_theta)
1220 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1222 FIXME("(%p/%p)->(%p,%p,%p): stub\n", iface, This, reference, axis, return_theta);
1224 return E_NOTIMPL;
1227 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetScene(IDirect3DRMFrame3* iface,
1228 LPDIRECT3DRMFRAME3 * frame)
1230 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1232 FIXME("(%p/%p)->(%p): stub\n", iface, This, frame);
1234 return E_NOTIMPL;
1237 static D3DRMSORTMODE WINAPI IDirect3DRMFrame3Impl_GetSortMode(IDirect3DRMFrame3* iface)
1239 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1241 FIXME("(%p/%p)->(): stub\n", iface, This);
1243 return D3DRMSORT_FROMPARENT;
1246 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetTexture(IDirect3DRMFrame3* iface,
1247 LPDIRECT3DRMTEXTURE3 * tex)
1249 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1251 FIXME("(%p/%p)->(%p): stub\n", iface, This, tex);
1253 return E_NOTIMPL;
1256 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetTransform(IDirect3DRMFrame3* iface,
1257 LPDIRECT3DRMFRAME3 reference,
1258 D3DRMMATRIX4D return_matrix)
1260 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1262 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, reference, return_matrix);
1264 return E_NOTIMPL;
1267 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetVelocity(IDirect3DRMFrame3* iface,
1268 LPDIRECT3DRMFRAME3 reference,
1269 LPD3DVECTOR return_velocity,
1270 BOOL with_rotation)
1272 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1274 FIXME("(%p/%p)->(%p,%p,%d): stub\n", iface, This, reference, return_velocity, with_rotation);
1276 return E_NOTIMPL;
1279 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetOrientation(IDirect3DRMFrame3* iface,
1280 LPDIRECT3DRMFRAME3 reference,
1281 LPD3DVECTOR dir, LPD3DVECTOR up)
1283 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1285 FIXME("(%p/%p)->(%p,%p,%p): stub\n", iface, This, reference, dir, up);
1287 return E_NOTIMPL;
1290 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetVisuals(IDirect3DRMFrame3* iface, LPDWORD num,
1291 LPUNKNOWN *visuals)
1293 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1295 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, num, visuals);
1297 return E_NOTIMPL;
1300 static HRESULT WINAPI IDirect3DRMFrame3Impl_InverseTransform(IDirect3DRMFrame3* iface,
1301 D3DVECTOR *d, D3DVECTOR *s)
1303 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1305 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, d, s);
1307 return E_NOTIMPL;
1310 static HRESULT WINAPI IDirect3DRMFrame3Impl_Load(IDirect3DRMFrame3* iface, LPVOID filename,
1311 LPVOID name, D3DRMLOADOPTIONS loadflags,
1312 D3DRMLOADTEXTURE3CALLBACK cb, LPVOID lpArg)
1314 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1316 FIXME("(%p/%p)->(%p,%p,%u,%p,%p): stub\n", iface, This, filename, name, loadflags, cb, lpArg);
1318 return E_NOTIMPL;
1321 static HRESULT WINAPI IDirect3DRMFrame3Impl_LookAt(IDirect3DRMFrame3* iface,
1322 LPDIRECT3DRMFRAME3 target,
1323 LPDIRECT3DRMFRAME3 reference,
1324 D3DRMFRAMECONSTRAINT constraint)
1326 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1328 FIXME("(%p/%p)->(%p,%p,%u): stub\n", iface, This, target, reference, constraint);
1330 return E_NOTIMPL;
1333 static HRESULT WINAPI IDirect3DRMFrame3Impl_Move(IDirect3DRMFrame3* iface, D3DVALUE delta)
1335 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1337 FIXME("(%p/%p)->(%f): stub\n", iface, This, delta);
1339 return E_NOTIMPL;
1342 static HRESULT WINAPI IDirect3DRMFrame3Impl_DeleteChild(IDirect3DRMFrame3* iface,
1343 LPDIRECT3DRMFRAME3 frame)
1345 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1347 FIXME("(%p/%p)->(%p): stub\n", iface, This, frame);
1349 return E_NOTIMPL;
1352 static HRESULT WINAPI IDirect3DRMFrame3Impl_DeleteLight(IDirect3DRMFrame3* iface,
1353 LPDIRECT3DRMLIGHT light)
1355 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1357 FIXME("(%p/%p)->(%p): stub\n", iface, This, light);
1359 return E_NOTIMPL;
1362 static HRESULT WINAPI IDirect3DRMFrame3Impl_DeleteMoveCallback(IDirect3DRMFrame3* iface,
1363 D3DRMFRAME3MOVECALLBACK cb,
1364 VOID *arg)
1366 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1368 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, cb, arg);
1370 return E_NOTIMPL;
1373 static HRESULT WINAPI IDirect3DRMFrame3Impl_DeleteVisual(IDirect3DRMFrame3* iface, LPUNKNOWN vis)
1375 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1377 FIXME("(%p/%p)->(%p): stub\n", iface, This, vis);
1379 return E_NOTIMPL;
1382 static D3DCOLOR WINAPI IDirect3DRMFrame3Impl_GetSceneBackground(IDirect3DRMFrame3* iface)
1384 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1386 FIXME("(%p/%p)->(): stub\n", iface, This);
1388 return 0;
1391 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetSceneBackgroundDepth(IDirect3DRMFrame3* iface,
1392 LPDIRECTDRAWSURFACE * surface)
1394 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1396 FIXME("(%p/%p)->(%p): stub\n", iface, This, surface);
1398 return E_NOTIMPL;
1401 static D3DCOLOR WINAPI IDirect3DRMFrame3Impl_GetSceneFogColor(IDirect3DRMFrame3* iface)
1403 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1405 FIXME("(%p/%p)->(): stub\n", iface, This);
1407 return 0;
1410 static BOOL WINAPI IDirect3DRMFrame3Impl_GetSceneFogEnable(IDirect3DRMFrame3* iface)
1412 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1414 FIXME("(%p/%p)->(): stub\n", iface, This);
1416 return FALSE;
1419 static D3DRMFOGMODE WINAPI IDirect3DRMFrame3Impl_GetSceneFogMode(IDirect3DRMFrame3* iface)
1421 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1423 FIXME("(%p/%p)->(): stub\n", iface, This);
1425 return D3DRMFOG_LINEAR;
1428 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetSceneFogParams(IDirect3DRMFrame3* iface,
1429 D3DVALUE *return_start,
1430 D3DVALUE *return_end,
1431 D3DVALUE *return_density)
1433 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1435 FIXME("(%p/%p)->(%p,%p,%p): stub\n", iface, This, return_start, return_end, return_density);
1437 return E_NOTIMPL;
1440 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneBackground(IDirect3DRMFrame3* iface,
1441 D3DCOLOR color)
1443 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1445 FIXME("(%p/%p)->(%u): stub\n", iface, This, color);
1447 return E_NOTIMPL;
1450 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneBackgroundRGB(IDirect3DRMFrame3* iface,
1451 D3DVALUE red, D3DVALUE green,
1452 D3DVALUE blue)
1454 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1456 FIXME("(%p/%p)->(%f,%f,%f): stub\n", iface, This, red, green, blue);
1458 return E_NOTIMPL;
1461 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneBackgroundDepth(IDirect3DRMFrame3* iface,
1462 LPDIRECTDRAWSURFACE surface)
1464 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1466 FIXME("(%p/%p)->(%p): stub\n", iface, This, surface);
1468 return E_NOTIMPL;
1471 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneBackgroundImage(IDirect3DRMFrame3* iface,
1472 LPDIRECT3DRMTEXTURE3 texture)
1474 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1476 FIXME("(%p/%p)->(%p): stub\n", iface, This, texture);
1478 return E_NOTIMPL;
1481 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneFogEnable(IDirect3DRMFrame3* iface, BOOL enable)
1483 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1485 FIXME("(%p/%p)->(%d): stub\n", iface, This, enable);
1487 return E_NOTIMPL;
1490 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneFogColor(IDirect3DRMFrame3* iface,
1491 D3DCOLOR color)
1493 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1495 FIXME("(%p/%p)->(%u): stub\n", iface, This, color);
1497 return E_NOTIMPL;
1500 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneFogMode(IDirect3DRMFrame3* iface,
1501 D3DRMFOGMODE mode)
1503 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1505 FIXME("(%p/%p)->(%u): stub\n", iface, This, mode);
1507 return E_NOTIMPL;
1510 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneFogParams(IDirect3DRMFrame3* iface,
1511 D3DVALUE start, D3DVALUE end,
1512 D3DVALUE density)
1514 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1516 FIXME("(%p/%p)->(%f,%f,%f): stub\n", iface, This, start, end, density);
1518 return E_NOTIMPL;
1521 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetColor(IDirect3DRMFrame3* iface, D3DCOLOR color)
1523 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1525 FIXME("(%p/%p)->(%u): stub\n", iface, This, color);
1527 return E_NOTIMPL;
1530 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetColorRGB(IDirect3DRMFrame3* iface, D3DVALUE red,
1531 D3DVALUE green, D3DVALUE blue)
1533 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1535 FIXME("(%p/%p)->(%f,%f,%f): stub\n", iface, This, red, green, blue);
1537 return E_NOTIMPL;
1540 static D3DRMZBUFFERMODE WINAPI IDirect3DRMFrame3Impl_GetZbufferMode(IDirect3DRMFrame3* iface)
1542 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1544 FIXME("(%p/%p)->(): stub\n", iface, This);
1546 return D3DRMZBUFFER_FROMPARENT;
1549 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetMaterialMode(IDirect3DRMFrame3* iface,
1550 D3DRMMATERIALMODE mode)
1552 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1554 FIXME("(%p/%p)->(%u): stub\n", iface, This, mode);
1556 return E_NOTIMPL;
1559 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetOrientation(IDirect3DRMFrame3* iface,
1560 LPDIRECT3DRMFRAME3 reference,
1561 D3DVALUE dx, D3DVALUE dy, D3DVALUE dz,
1562 D3DVALUE ux, D3DVALUE uy, D3DVALUE uz )
1564 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1566 FIXME("(%p/%p)->(%p,%f,%f,%f,%f,%f,%f): stub\n", iface, This, reference,
1567 dx, dy, dz, ux, uy, uz);
1569 return E_NOTIMPL;
1572 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetPosition(IDirect3DRMFrame3* iface,
1573 LPDIRECT3DRMFRAME3 reference,
1574 D3DVALUE x, D3DVALUE y, D3DVALUE z)
1576 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1578 FIXME("(%p/%p)->(%p,%f,%f,%f): stub\n", iface, This, reference, x, y, z);
1580 return E_NOTIMPL;
1583 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetRotation(IDirect3DRMFrame3* iface,
1584 LPDIRECT3DRMFRAME3 reference,
1585 D3DVALUE x, D3DVALUE y, D3DVALUE z,
1586 D3DVALUE theta)
1588 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1590 FIXME("(%p/%p)->(%p,%f,%f,%f,%f): stub\n", iface, This, reference, x, y, z, theta);
1592 return E_NOTIMPL;
1595 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSortMode(IDirect3DRMFrame3* iface,
1596 D3DRMSORTMODE mode)
1598 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1600 FIXME("(%p/%p)->(%u): stub\n", iface, This, mode);
1602 return E_NOTIMPL;
1605 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetTexture(IDirect3DRMFrame3* iface,
1606 LPDIRECT3DRMTEXTURE3 texture)
1608 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1610 FIXME("(%p/%p)->(%p): stub\n", iface, This, texture);
1612 return E_NOTIMPL;
1615 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetVelocity(IDirect3DRMFrame3* iface,
1616 LPDIRECT3DRMFRAME3 reference,
1617 D3DVALUE x, D3DVALUE y, D3DVALUE z,
1618 BOOL with_rotation)
1620 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1622 FIXME("(%p/%p)->(%p,%f,%f,%f,%d): stub\n", iface, This, reference, x, y, z, with_rotation);
1624 return E_NOTIMPL;
1627 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetZbufferMode(IDirect3DRMFrame3* iface,
1628 D3DRMZBUFFERMODE mode)
1630 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1632 FIXME("(%p/%p)->(%u): stub\n", iface, This, mode);
1634 return E_NOTIMPL;
1637 static HRESULT WINAPI IDirect3DRMFrame3Impl_Transform(IDirect3DRMFrame3* iface, D3DVECTOR *d,
1638 D3DVECTOR *s)
1640 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1642 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, d, s);
1644 return E_NOTIMPL;
1647 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetBox(IDirect3DRMFrame3* iface, LPD3DRMBOX box)
1649 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1651 FIXME("(%p/%p)->(%p): stub\n", iface, This, box);
1653 return E_NOTIMPL;
1656 static BOOL WINAPI IDirect3DRMFrame3Impl_GetBoxEnable(IDirect3DRMFrame3* iface)
1658 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1660 FIXME("(%p/%p)->(): stub\n", iface, This);
1662 return E_NOTIMPL;
1665 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetAxes(IDirect3DRMFrame3* iface,
1666 LPD3DVECTOR dir, LPD3DVECTOR up)
1668 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1670 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, dir, up);
1672 return E_NOTIMPL;
1675 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetMaterial(IDirect3DRMFrame3* iface,
1676 LPDIRECT3DRMMATERIAL2 *material)
1678 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1680 FIXME("(%p/%p)->(%p): stub\n", iface, This, material);
1682 return E_NOTIMPL;
1685 static BOOL WINAPI IDirect3DRMFrame3Impl_GetInheritAxes(IDirect3DRMFrame3* iface)
1687 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1689 FIXME("(%p/%p)->(): stub\n", iface, This);
1691 return E_NOTIMPL;
1694 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetHierarchyBox(IDirect3DRMFrame3* iface,
1695 LPD3DRMBOX box)
1697 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1699 FIXME("(%p/%p)->(%p): stub\n", iface, This, box);
1701 return E_NOTIMPL;
1704 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetBox(IDirect3DRMFrame3* iface, LPD3DRMBOX box)
1706 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1708 FIXME("(%p/%p)->(%p): stub\n", iface, This, box);
1710 return E_NOTIMPL;
1713 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetBoxEnable(IDirect3DRMFrame3* iface, BOOL enable)
1715 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1717 FIXME("(%p/%p)->(%u): stub\n", iface, This, enable);
1719 return E_NOTIMPL;
1722 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetAxes(IDirect3DRMFrame3* iface,
1723 D3DVALUE dx, D3DVALUE dy, D3DVALUE dz,
1724 D3DVALUE ux, D3DVALUE uy, D3DVALUE uz)
1726 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1728 FIXME("(%p/%p)->(%f,%f,%f,%f,%f,%f): stub\n", iface, This, dx, dy, dz, ux, uy, uz);
1730 return E_NOTIMPL;
1733 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetInheritAxes(IDirect3DRMFrame3* iface,
1734 BOOL inherit_from_parent)
1736 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1738 FIXME("(%p/%p)->(%u): stub\n", iface, This, inherit_from_parent);
1740 return E_NOTIMPL;
1743 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetMaterial(IDirect3DRMFrame3* iface,
1744 LPDIRECT3DRMMATERIAL2 material)
1746 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1748 FIXME("(%p/%p)->(%p): stub\n", iface, This, material);
1750 return E_NOTIMPL;
1753 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetQuaternion(IDirect3DRMFrame3* iface,
1754 LPDIRECT3DRMFRAME3 reference,
1755 D3DRMQUATERNION *q)
1757 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1759 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, reference, q);
1761 return E_NOTIMPL;
1764 static HRESULT WINAPI IDirect3DRMFrame3Impl_RayPick(IDirect3DRMFrame3* iface,
1765 LPDIRECT3DRMFRAME3 reference, LPD3DRMRAY ray,
1766 DWORD flags,
1767 LPDIRECT3DRMPICKED2ARRAY *return_visuals)
1769 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1771 FIXME("(%p/%p)->(%p,%p,%u,%p): stub\n", iface, This, reference, ray, flags, return_visuals);
1773 return E_NOTIMPL;
1776 static HRESULT WINAPI IDirect3DRMFrame3Impl_Save(IDirect3DRMFrame3* iface, LPCSTR filename,
1777 D3DRMXOFFORMAT d3dFormat,
1778 D3DRMSAVEOPTIONS d3dSaveFlags)
1780 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1782 FIXME("(%p/%p)->(%p,%u,%u): stub\n", iface, This, filename, d3dFormat, d3dSaveFlags);
1784 return E_NOTIMPL;
1787 static HRESULT WINAPI IDirect3DRMFrame3Impl_TransformVectors(IDirect3DRMFrame3* iface,
1788 LPDIRECT3DRMFRAME3 reference,
1789 DWORD num, LPD3DVECTOR dst,
1790 LPD3DVECTOR src)
1792 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1794 FIXME("(%p/%p)->(%p,%u,%p,%p): stub\n", iface, This, reference, num, dst, src);
1796 return E_NOTIMPL;
1799 static HRESULT WINAPI IDirect3DRMFrame3Impl_InverseTransformVectors(IDirect3DRMFrame3* iface,
1800 LPDIRECT3DRMFRAME3 reference,
1801 DWORD num, LPD3DVECTOR dst,
1802 LPD3DVECTOR src)
1804 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1806 FIXME("(%p/%p)->(%p,%u,%p,%p): stub\n", iface, This, reference, num, dst, src);
1808 return E_NOTIMPL;
1811 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetTraversalOptions(IDirect3DRMFrame3* iface,
1812 DWORD flags)
1814 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1816 FIXME("(%p/%p)->(%u): stub\n", iface, This, flags);
1818 return E_NOTIMPL;
1821 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetTraversalOptions(IDirect3DRMFrame3* iface,
1822 LPDWORD flags)
1824 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1826 FIXME("(%p/%p)->(%p): stub\n", iface, This, flags);
1828 return E_NOTIMPL;
1831 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneFogMethod(IDirect3DRMFrame3* iface,
1832 DWORD flags)
1834 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1836 FIXME("(%p/%p)->(%u): stub\n", iface, This, flags);
1838 return E_NOTIMPL;
1841 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetSceneFogMethod(IDirect3DRMFrame3* iface,
1842 LPDWORD flags)
1844 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1846 FIXME("(%p/%p)->(%p): stub\n", iface, This, flags);
1848 return E_NOTIMPL;
1851 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetMaterialOverride(IDirect3DRMFrame3* iface,
1852 LPD3DRMMATERIALOVERRIDE override)
1854 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1856 FIXME("(%p/%p)->(%p): stub\n", iface, This, override);
1858 return E_NOTIMPL;
1861 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetMaterialOverride(IDirect3DRMFrame3* iface,
1862 LPD3DRMMATERIALOVERRIDE override)
1864 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1866 FIXME("(%p/%p)->(%p): stub\n", iface, This, override);
1868 return E_NOTIMPL;
1871 static const struct IDirect3DRMFrame3Vtbl Direct3DRMFrame3_Vtbl =
1873 /*** IUnknown methods ***/
1874 IDirect3DRMFrame3Impl_QueryInterface,
1875 IDirect3DRMFrame3Impl_AddRef,
1876 IDirect3DRMFrame3Impl_Release,
1877 /*** IDirect3DRMObject methods ***/
1878 IDirect3DRMFrame3Impl_Clone,
1879 IDirect3DRMFrame3Impl_AddDestroyCallback,
1880 IDirect3DRMFrame3Impl_DeleteDestroyCallback,
1881 IDirect3DRMFrame3Impl_SetAppData,
1882 IDirect3DRMFrame3Impl_GetAppData,
1883 IDirect3DRMFrame3Impl_SetName,
1884 IDirect3DRMFrame3Impl_GetName,
1885 IDirect3DRMFrame3Impl_GetClassName,
1886 /*** IDirect3DRMFrame3 methods ***/
1887 IDirect3DRMFrame3Impl_AddChild,
1888 IDirect3DRMFrame3Impl_AddLight,
1889 IDirect3DRMFrame3Impl_AddMoveCallback,
1890 IDirect3DRMFrame3Impl_AddTransform,
1891 IDirect3DRMFrame3Impl_AddTranslation,
1892 IDirect3DRMFrame3Impl_AddScale,
1893 IDirect3DRMFrame3Impl_AddRotation,
1894 IDirect3DRMFrame3Impl_AddVisual,
1895 IDirect3DRMFrame3Impl_GetChildren,
1896 IDirect3DRMFrame3Impl_GetColor,
1897 IDirect3DRMFrame3Impl_GetLights,
1898 IDirect3DRMFrame3Impl_GetMaterialMode,
1899 IDirect3DRMFrame3Impl_GetParent,
1900 IDirect3DRMFrame3Impl_GetPosition,
1901 IDirect3DRMFrame3Impl_GetRotation,
1902 IDirect3DRMFrame3Impl_GetScene,
1903 IDirect3DRMFrame3Impl_GetSortMode,
1904 IDirect3DRMFrame3Impl_GetTexture,
1905 IDirect3DRMFrame3Impl_GetTransform,
1906 IDirect3DRMFrame3Impl_GetVelocity,
1907 IDirect3DRMFrame3Impl_GetOrientation,
1908 IDirect3DRMFrame3Impl_GetVisuals,
1909 IDirect3DRMFrame3Impl_InverseTransform,
1910 IDirect3DRMFrame3Impl_Load,
1911 IDirect3DRMFrame3Impl_LookAt,
1912 IDirect3DRMFrame3Impl_Move,
1913 IDirect3DRMFrame3Impl_DeleteChild,
1914 IDirect3DRMFrame3Impl_DeleteLight,
1915 IDirect3DRMFrame3Impl_DeleteMoveCallback,
1916 IDirect3DRMFrame3Impl_DeleteVisual,
1917 IDirect3DRMFrame3Impl_GetSceneBackground,
1918 IDirect3DRMFrame3Impl_GetSceneBackgroundDepth,
1919 IDirect3DRMFrame3Impl_GetSceneFogColor,
1920 IDirect3DRMFrame3Impl_GetSceneFogEnable,
1921 IDirect3DRMFrame3Impl_GetSceneFogMode,
1922 IDirect3DRMFrame3Impl_GetSceneFogParams,
1923 IDirect3DRMFrame3Impl_SetSceneBackground,
1924 IDirect3DRMFrame3Impl_SetSceneBackgroundRGB,
1925 IDirect3DRMFrame3Impl_SetSceneBackgroundDepth,
1926 IDirect3DRMFrame3Impl_SetSceneBackgroundImage,
1927 IDirect3DRMFrame3Impl_SetSceneFogEnable,
1928 IDirect3DRMFrame3Impl_SetSceneFogColor,
1929 IDirect3DRMFrame3Impl_SetSceneFogMode,
1930 IDirect3DRMFrame3Impl_SetSceneFogParams,
1931 IDirect3DRMFrame3Impl_SetColor,
1932 IDirect3DRMFrame3Impl_SetColorRGB,
1933 IDirect3DRMFrame3Impl_GetZbufferMode,
1934 IDirect3DRMFrame3Impl_SetMaterialMode,
1935 IDirect3DRMFrame3Impl_SetOrientation,
1936 IDirect3DRMFrame3Impl_SetPosition,
1937 IDirect3DRMFrame3Impl_SetRotation,
1938 IDirect3DRMFrame3Impl_SetSortMode,
1939 IDirect3DRMFrame3Impl_SetTexture,
1940 IDirect3DRMFrame3Impl_SetVelocity,
1941 IDirect3DRMFrame3Impl_SetZbufferMode,
1942 IDirect3DRMFrame3Impl_Transform,
1943 IDirect3DRMFrame3Impl_GetBox,
1944 IDirect3DRMFrame3Impl_GetBoxEnable,
1945 IDirect3DRMFrame3Impl_GetAxes,
1946 IDirect3DRMFrame3Impl_GetMaterial,
1947 IDirect3DRMFrame3Impl_GetInheritAxes,
1948 IDirect3DRMFrame3Impl_GetHierarchyBox,
1949 IDirect3DRMFrame3Impl_SetBox,
1950 IDirect3DRMFrame3Impl_SetBoxEnable,
1951 IDirect3DRMFrame3Impl_SetAxes,
1952 IDirect3DRMFrame3Impl_SetInheritAxes,
1953 IDirect3DRMFrame3Impl_SetMaterial,
1954 IDirect3DRMFrame3Impl_SetQuaternion,
1955 IDirect3DRMFrame3Impl_RayPick,
1956 IDirect3DRMFrame3Impl_Save,
1957 IDirect3DRMFrame3Impl_TransformVectors,
1958 IDirect3DRMFrame3Impl_InverseTransformVectors,
1959 IDirect3DRMFrame3Impl_SetTraversalOptions,
1960 IDirect3DRMFrame3Impl_GetTraversalOptions,
1961 IDirect3DRMFrame3Impl_SetSceneFogMethod,
1962 IDirect3DRMFrame3Impl_GetSceneFogMethod,
1963 IDirect3DRMFrame3Impl_SetMaterialOverride,
1964 IDirect3DRMFrame3Impl_GetMaterialOverride