comctl32: Never release state image list.
[wine/multimedia.git] / dlls / d3drm / frame.c
blobd91def8adf53b30241a23f7e3154762b4140cdcc
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 inline IDirect3DRMFrameImpl *impl_from_IDirect3DRMFrame2(IDirect3DRMFrame2 *iface)
40 return CONTAINING_RECORD(iface, IDirect3DRMFrameImpl, IDirect3DRMFrame2_iface);
43 static inline IDirect3DRMFrameImpl *impl_from_IDirect3DRMFrame3(IDirect3DRMFrame3 *iface)
45 return CONTAINING_RECORD(iface, IDirect3DRMFrameImpl, IDirect3DRMFrame3_iface);
48 /*** IUnknown methods ***/
49 static HRESULT WINAPI IDirect3DRMFrame2Impl_QueryInterface(IDirect3DRMFrame2* iface,
50 REFIID riid, void** object)
52 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
54 TRACE("(%p/%p)->(%s, %p)\n", iface, This, debugstr_guid(riid), object);
56 *object = NULL;
58 if(IsEqualGUID(riid, &IID_IUnknown) ||
59 IsEqualGUID(riid, &IID_IDirect3DRMFrame) ||
60 IsEqualGUID(riid, &IID_IDirect3DRMFrame2))
62 *object = &This->IDirect3DRMFrame2_iface;
64 else if(IsEqualGUID(riid, &IID_IDirect3DRMFrame3))
66 *object = &This->IDirect3DRMFrame3_iface;
68 else
70 FIXME("interface %s not implemented\n", debugstr_guid(riid));
71 return E_NOINTERFACE;
74 IDirect3DRMFrame2_AddRef(iface);
75 return S_OK;
78 static ULONG WINAPI IDirect3DRMFrame2Impl_AddRef(IDirect3DRMFrame2* iface)
80 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
82 TRACE("(%p)\n", This);
84 return InterlockedIncrement(&This->ref);
87 static ULONG WINAPI IDirect3DRMFrame2Impl_Release(IDirect3DRMFrame2* iface)
89 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
90 ULONG ref = InterlockedDecrement(&This->ref);
92 TRACE("(%p)\n", This);
94 if (!ref)
95 HeapFree(GetProcessHeap(), 0, This);
97 return ref;
100 /*** IDirect3DRMObject methods ***/
101 static HRESULT WINAPI IDirect3DRMFrame2Impl_Clone(IDirect3DRMFrame2* iface,
102 LPUNKNOWN unkwn, REFIID riid,
103 LPVOID* object)
105 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
107 FIXME("(%p/%p)->(%p, %s, %p): stub\n", iface, This, unkwn, debugstr_guid(riid), object);
109 return E_NOTIMPL;
112 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddDestroyCallback(IDirect3DRMFrame2* iface,
113 D3DRMOBJECTCALLBACK cb,
114 LPVOID argument)
116 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
118 FIXME("(%p/%p)->(%p, %p): stub\n", iface, This, cb, argument);
120 return E_NOTIMPL;
123 static HRESULT WINAPI IDirect3DRMFrame2Impl_DeleteDestroyCallback(IDirect3DRMFrame2* iface,
124 D3DRMOBJECTCALLBACK cb,
125 LPVOID argument)
127 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
129 FIXME("(%p/%p)->(%p, %p): stub\n", iface, This, cb, argument);
131 return E_NOTIMPL;
134 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetAppData(IDirect3DRMFrame2* iface,
135 DWORD data)
137 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
139 FIXME("(%p/%p)->(%u): stub\n", iface, This, data);
141 return E_NOTIMPL;
144 static DWORD WINAPI IDirect3DRMFrame2Impl_GetAppData(IDirect3DRMFrame2* iface)
146 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
148 FIXME("(%p/%p)->(): stub\n", iface, This);
150 return 0;
153 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetName(IDirect3DRMFrame2* iface, LPCSTR name)
155 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
157 FIXME("(%p/%p)->(%s): stub\n", iface, This, name);
159 return E_NOTIMPL;
162 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetName(IDirect3DRMFrame2* iface,
163 LPDWORD size, LPSTR name)
165 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
167 FIXME("(%p/%p)->(%p, %p): stub\n", iface, This, size, name);
169 return E_NOTIMPL;
172 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetClassName(IDirect3DRMFrame2* iface,
173 LPDWORD size, LPSTR name)
175 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
177 FIXME("(%p/%p)->(%p, %p): stub\n", iface, This, size, name);
179 return E_NOTIMPL;
182 /*** IDirect3DRMFrame methods ***/
183 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddChild(IDirect3DRMFrame2* iface,
184 LPDIRECT3DRMFRAME child)
186 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
188 FIXME("(%p/%p)->(%p): stub\n", iface, This, child);
190 return E_NOTIMPL;
193 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddLight(IDirect3DRMFrame2* iface,
194 LPDIRECT3DRMLIGHT light)
196 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
198 FIXME("(%p/%p)->(%p): stub\n", iface, This, light);
200 return E_NOTIMPL;
203 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddMoveCallback(IDirect3DRMFrame2* iface,
204 D3DRMFRAMEMOVECALLBACK cb, VOID *arg)
206 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
208 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, cb, arg);
210 return E_NOTIMPL;
213 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddTransform(IDirect3DRMFrame2* iface,
214 D3DRMCOMBINETYPE type,
215 D3DRMMATRIX4D matrix)
217 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
219 FIXME("(%p/%p)->(%u,%p): stub\n", iface, This, type, matrix);
221 return E_NOTIMPL;
224 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddTranslation(IDirect3DRMFrame2* iface,
225 D3DRMCOMBINETYPE type,
226 D3DVALUE x, D3DVALUE y, D3DVALUE z)
228 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
230 FIXME("(%p/%p)->(%u,%f,%f,%f): stub\n", iface, This, type, x, y, z);
232 return E_NOTIMPL;
235 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddScale(IDirect3DRMFrame2* iface,
236 D3DRMCOMBINETYPE type,
237 D3DVALUE sx, D3DVALUE sy, D3DVALUE sz)
239 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
241 FIXME("(%p/%p)->(%u,%f,%f,%f): stub\n", iface, This, type, sx, sy, sz);
243 return E_NOTIMPL;
246 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddRotation(IDirect3DRMFrame2* iface,
247 D3DRMCOMBINETYPE type,
248 D3DVALUE x, D3DVALUE y, D3DVALUE z,
249 D3DVALUE theta)
251 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
253 FIXME("(%p/%p)->(%u,%f,%f,%f,%f): stub\n", iface, This, type, x, y, z, theta);
255 return E_NOTIMPL;
258 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddVisual(IDirect3DRMFrame2* iface,
259 LPDIRECT3DRMVISUAL vis)
261 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
263 FIXME("(%p/%p)->(%p): stub\n", iface, This, vis);
265 return E_NOTIMPL;
268 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetChildren(IDirect3DRMFrame2* iface,
269 LPDIRECT3DRMFRAMEARRAY *children)
271 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
273 FIXME("(%p/%p)->(%p): stub\n", iface, This, children);
275 return E_NOTIMPL;
278 static D3DCOLOR WINAPI IDirect3DRMFrame2Impl_GetColor(IDirect3DRMFrame2* iface)
280 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
282 FIXME("(%p/%p)->(): stub\n", iface, This);
284 return 0;
287 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetLights(IDirect3DRMFrame2* iface,
288 LPDIRECT3DRMLIGHTARRAY *lights)
290 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
292 FIXME("(%p/%p)->(%p): stub\n", iface, This, lights);
294 return E_NOTIMPL;
297 static D3DRMMATERIALMODE WINAPI IDirect3DRMFrame2Impl_GetMaterialMode(IDirect3DRMFrame2* iface)
299 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
301 FIXME("(%p/%p)->(): stub\n", iface, This);
303 return D3DRMMATERIAL_FROMPARENT;
306 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetParent(IDirect3DRMFrame2* iface,
307 LPDIRECT3DRMFRAME * frame)
309 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
311 FIXME("(%p/%p)->(%p): stub\n", iface, This, frame);
313 return E_NOTIMPL;
316 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetPosition(IDirect3DRMFrame2* iface,
317 LPDIRECT3DRMFRAME reference,
318 LPD3DVECTOR return_position)
320 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
322 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, reference, return_position);
324 return E_NOTIMPL;
327 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetRotation(IDirect3DRMFrame2* iface,
328 LPDIRECT3DRMFRAME reference,
329 LPD3DVECTOR axis, LPD3DVALUE return_theta)
331 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
333 FIXME("(%p/%p)->(%p,%p,%p): stub\n", iface, This, reference, axis, return_theta);
335 return E_NOTIMPL;
338 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetScene(IDirect3DRMFrame2* iface,
339 LPDIRECT3DRMFRAME * frame)
341 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
343 FIXME("(%p/%p)->(%p): stub\n", iface, This, frame);
345 return E_NOTIMPL;
348 static D3DRMSORTMODE WINAPI IDirect3DRMFrame2Impl_GetSortMode(IDirect3DRMFrame2* iface)
350 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
352 FIXME("(%p/%p)->(): stub\n", iface, This);
354 return D3DRMSORT_FROMPARENT;
357 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetTexture(IDirect3DRMFrame2* iface,
358 LPDIRECT3DRMTEXTURE * tex)
360 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
362 FIXME("(%p/%p)->(%p): stub\n", iface, This, tex);
364 return E_NOTIMPL;
367 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetTransform(IDirect3DRMFrame2* iface,
368 D3DRMMATRIX4D return_matrix)
370 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
372 FIXME("(%p/%p)->(%p): stub\n", iface, This, return_matrix);
374 return E_NOTIMPL;
377 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetVelocity(IDirect3DRMFrame2* iface,
378 LPDIRECT3DRMFRAME reference,
379 LPD3DVECTOR return_velocity,
380 BOOL with_rotation)
382 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
384 FIXME("(%p/%p)->(%p,%p,%d): stub\n", iface, This, reference, return_velocity, with_rotation);
386 return E_NOTIMPL;
389 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetOrientation(IDirect3DRMFrame2* iface,
390 LPDIRECT3DRMFRAME reference,
391 LPD3DVECTOR dir, LPD3DVECTOR up)
393 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
395 FIXME("(%p/%p)->(%p,%p,%p): stub\n", iface, This, reference, dir, up);
397 return E_NOTIMPL;
400 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetVisuals(IDirect3DRMFrame2* iface,
401 LPDIRECT3DRMVISUALARRAY *visuals)
403 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
405 FIXME("(%p/%p)->(%p): stub\n", iface, This, visuals);
407 return E_NOTIMPL;
410 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetTextureTopology(IDirect3DRMFrame2* iface,
411 BOOL *wrap_u, BOOL *wrap_v)
413 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
415 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, wrap_u, wrap_v);
417 return E_NOTIMPL;
420 static HRESULT WINAPI IDirect3DRMFrame2Impl_InverseTransform(IDirect3DRMFrame2* iface,
421 D3DVECTOR *d, D3DVECTOR *s)
423 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
425 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, d, s);
427 return E_NOTIMPL;
430 static HRESULT WINAPI IDirect3DRMFrame2Impl_Load(IDirect3DRMFrame2* iface, LPVOID filename,
431 LPVOID name, D3DRMLOADOPTIONS loadflags,
432 D3DRMLOADTEXTURECALLBACK cb, LPVOID lpArg)
434 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
436 FIXME("(%p/%p)->(%p,%p,%u,%p,%p): stub\n", iface, This, filename, name, loadflags, cb, lpArg);
438 return E_NOTIMPL;
441 static HRESULT WINAPI IDirect3DRMFrame2Impl_LookAt(IDirect3DRMFrame2* iface,
442 LPDIRECT3DRMFRAME target,
443 LPDIRECT3DRMFRAME reference,
444 D3DRMFRAMECONSTRAINT constraint)
446 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
448 FIXME("(%p/%p)->(%p,%p,%u): stub\n", iface, This, target, reference, constraint);
450 return E_NOTIMPL;
453 static HRESULT WINAPI IDirect3DRMFrame2Impl_Move(IDirect3DRMFrame2* iface, D3DVALUE delta)
455 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
457 FIXME("(%p/%p)->(%f): stub\n", iface, This, delta);
459 return E_NOTIMPL;
462 static HRESULT WINAPI IDirect3DRMFrame2Impl_DeleteChild(IDirect3DRMFrame2* iface,
463 LPDIRECT3DRMFRAME frame)
465 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
467 FIXME("(%p/%p)->(%p): stub\n", iface, This, frame);
469 return E_NOTIMPL;
472 static HRESULT WINAPI IDirect3DRMFrame2Impl_DeleteLight(IDirect3DRMFrame2* iface,
473 LPDIRECT3DRMLIGHT light)
475 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
477 FIXME("(%p/%p)->(%p): stub\n", iface, This, light);
479 return E_NOTIMPL;
482 static HRESULT WINAPI IDirect3DRMFrame2Impl_DeleteMoveCallback(IDirect3DRMFrame2* iface,
483 D3DRMFRAMEMOVECALLBACK cb, VOID *arg)
485 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
487 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, cb, arg);
489 return E_NOTIMPL;
492 static HRESULT WINAPI IDirect3DRMFrame2Impl_DeleteVisual(IDirect3DRMFrame2* iface,
493 LPDIRECT3DRMVISUAL vis)
495 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
497 FIXME("(%p/%p)->(%p): stub\n", iface, This, vis);
499 return E_NOTIMPL;
502 static D3DCOLOR WINAPI IDirect3DRMFrame2Impl_GetSceneBackground(IDirect3DRMFrame2* iface)
504 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
506 FIXME("(%p/%p)->(): stub\n", iface, This);
508 return 0;
511 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetSceneBackgroundDepth(IDirect3DRMFrame2* iface,
512 LPDIRECTDRAWSURFACE * surface)
514 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
516 FIXME("(%p/%p)->(%p): stub\n", iface, This, surface);
518 return E_NOTIMPL;
521 static D3DCOLOR WINAPI IDirect3DRMFrame2Impl_GetSceneFogColor(IDirect3DRMFrame2* iface)
523 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
525 FIXME("(%p/%p)->(): stub\n", iface, This);
527 return 0;
530 static BOOL WINAPI IDirect3DRMFrame2Impl_GetSceneFogEnable(IDirect3DRMFrame2* iface)
532 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
534 FIXME("(%p/%p)->(): stub\n", iface, This);
536 return FALSE;
539 static D3DRMFOGMODE WINAPI IDirect3DRMFrame2Impl_GetSceneFogMode(IDirect3DRMFrame2* iface)
541 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
543 FIXME("(%p/%p)->(): stub\n", iface, This);
545 return D3DRMFOG_LINEAR;
548 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetSceneFogParams(IDirect3DRMFrame2* iface,
549 D3DVALUE *return_start,
550 D3DVALUE *return_end,
551 D3DVALUE *return_density)
553 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
555 FIXME("(%p/%p)->(%p,%p,%p): stub\n", iface, This, return_start, return_end, return_density);
557 return E_NOTIMPL;
560 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSceneBackground(IDirect3DRMFrame2* iface,
561 D3DCOLOR color)
563 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
565 FIXME("(%p/%p)->(%u): stub\n", iface, This, color);
567 return E_NOTIMPL;
570 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSceneBackgroundRGB(IDirect3DRMFrame2* iface,
571 D3DVALUE red, D3DVALUE green,
572 D3DVALUE blue)
574 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
576 FIXME("(%p/%p)->(%f,%f,%f): stub\n", iface, This, red, green, blue);
578 return E_NOTIMPL;
581 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSceneBackgroundDepth(IDirect3DRMFrame2* iface,
582 LPDIRECTDRAWSURFACE surface)
584 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
586 FIXME("(%p/%p)->(%p): stub\n", iface, This, surface);
588 return E_NOTIMPL;
591 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSceneBackgroundImage(IDirect3DRMFrame2* iface,
592 LPDIRECT3DRMTEXTURE texture)
594 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
596 FIXME("(%p/%p)->(%p): stub\n", iface, This, texture);
598 return E_NOTIMPL;
601 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSceneFogEnable(IDirect3DRMFrame2* iface, BOOL enable)
603 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
605 FIXME("(%p/%p)->(%d): stub\n", iface, This, enable);
607 return E_NOTIMPL;
610 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSceneFogColor(IDirect3DRMFrame2* iface,
611 D3DCOLOR color)
613 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
615 FIXME("(%p/%p)->(%u): stub\n", iface, This, color);
617 return E_NOTIMPL;
620 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSceneFogMode(IDirect3DRMFrame2* iface,
621 D3DRMFOGMODE mode)
623 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
625 FIXME("(%p/%p)->(%u): stub\n", iface, This, mode);
627 return E_NOTIMPL;
630 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSceneFogParams(IDirect3DRMFrame2* iface,
631 D3DVALUE start, D3DVALUE end,
632 D3DVALUE density)
634 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
636 FIXME("(%p/%p)->(%f,%f,%f): stub\n", iface, This, start, end, density);
638 return E_NOTIMPL;
641 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetColor(IDirect3DRMFrame2* iface, D3DCOLOR color)
643 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
645 FIXME("(%p/%p)->(%u): stub\n", iface, This, color);
647 return E_NOTIMPL;
650 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetColorRGB(IDirect3DRMFrame2* iface, D3DVALUE red,
651 D3DVALUE green, D3DVALUE blue)
653 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
655 FIXME("(%p/%p)->(%f,%f,%f): stub\n", iface, This, red, green, blue);
657 return E_NOTIMPL;
660 static D3DRMZBUFFERMODE WINAPI IDirect3DRMFrame2Impl_GetZbufferMode(IDirect3DRMFrame2* iface)
662 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
664 FIXME("(%p/%p)->(): stub\n", iface, This);
666 return D3DRMZBUFFER_FROMPARENT;
669 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetMaterialMode(IDirect3DRMFrame2* iface,
670 D3DRMMATERIALMODE mode)
672 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
674 FIXME("(%p/%p)->(%u): stub\n", iface, This, mode);
676 return E_NOTIMPL;
679 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetOrientation(IDirect3DRMFrame2* iface,
680 LPDIRECT3DRMFRAME reference,
681 D3DVALUE dx, D3DVALUE dy, D3DVALUE dz,
682 D3DVALUE ux, D3DVALUE uy, D3DVALUE uz )
684 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
686 FIXME("(%p/%p)->(%p,%f,%f,%f,%f,%f,%f): stub\n", iface, This, reference,
687 dx, dy, dz, ux, uy, uz);
689 return E_NOTIMPL;
692 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetPosition(IDirect3DRMFrame2* iface,
693 LPDIRECT3DRMFRAME reference,
694 D3DVALUE x, D3DVALUE y, D3DVALUE z)
696 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
698 FIXME("(%p/%p)->(%p,%f,%f,%f): stub\n", iface, This, reference, x, y, z);
700 return E_NOTIMPL;
703 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetRotation(IDirect3DRMFrame2* iface,
704 LPDIRECT3DRMFRAME reference,
705 D3DVALUE x, D3DVALUE y, D3DVALUE z,
706 D3DVALUE theta)
708 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
710 FIXME("(%p/%p)->(%p,%f,%f,%f,%f): stub\n", iface, This, reference, x, y, z, theta);
712 return E_NOTIMPL;
715 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetSortMode(IDirect3DRMFrame2* iface,
716 D3DRMSORTMODE mode)
718 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
720 FIXME("(%p/%p)->(%u): stub\n", iface, This, mode);
722 return E_NOTIMPL;
725 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetTexture(IDirect3DRMFrame2* iface,
726 LPDIRECT3DRMTEXTURE texture)
728 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
730 FIXME("(%p/%p)->(%p): stub\n", iface, This, texture);
732 return E_NOTIMPL;
735 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetTextureTopology(IDirect3DRMFrame2* iface,
736 BOOL wrap_u, BOOL wrap_v)
738 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
740 FIXME("(%p/%p)->(%d,%d): stub\n", iface, This, wrap_u, wrap_v);
742 return E_NOTIMPL;
745 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetVelocity(IDirect3DRMFrame2* iface,
746 LPDIRECT3DRMFRAME reference,
747 D3DVALUE x, D3DVALUE y, D3DVALUE z,
748 BOOL with_rotation)
750 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
752 FIXME("(%p/%p)->(%p,%f,%f,%f,%d): stub\n", iface, This, reference, x, y, z, with_rotation);
754 return E_NOTIMPL;
757 static HRESULT WINAPI IDirect3DRMFrame2Impl_SetZbufferMode(IDirect3DRMFrame2* iface,
758 D3DRMZBUFFERMODE mode)
760 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
762 FIXME("(%p/%p)->(%u): stub\n", iface, This, mode);
764 return E_NOTIMPL;
767 static HRESULT WINAPI IDirect3DRMFrame2Impl_Transform(IDirect3DRMFrame2* iface, D3DVECTOR *d,
768 D3DVECTOR *s)
770 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
772 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, d, s);
774 return E_NOTIMPL;
777 /*** IDirect3DRMFrame2 methods ***/
778 static HRESULT WINAPI IDirect3DRMFrame2Impl_AddMoveCallback2(IDirect3DRMFrame2* iface,
779 D3DRMFRAMEMOVECALLBACK cb, VOID *arg,
780 DWORD flags)
782 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
784 FIXME("(%p/%p)->(%p,%p,%u): stub\n", iface, This, cb, arg, flags);
786 return E_NOTIMPL;
789 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetBox(IDirect3DRMFrame2* iface, LPD3DRMBOX box)
791 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
793 FIXME("(%p/%p)->(%p): stub\n", iface, This, box);
795 return E_NOTIMPL;
798 static BOOL WINAPI IDirect3DRMFrame2Impl_GetBoxEnable(IDirect3DRMFrame2* iface)
800 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
802 FIXME("(%p/%p)->(): stub\n", iface, This);
804 return E_NOTIMPL;
807 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetAxes(IDirect3DRMFrame2* iface,
808 LPD3DVECTOR dir, LPD3DVECTOR up)
810 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
812 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, dir, up);
814 return E_NOTIMPL;
817 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetMaterial(IDirect3DRMFrame2* iface,
818 LPDIRECT3DRMMATERIAL *material)
820 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
822 FIXME("(%p/%p)->(%p): stub\n", iface, This, material);
824 return E_NOTIMPL;
827 static BOOL WINAPI IDirect3DRMFrame2Impl_GetInheritAxes(IDirect3DRMFrame2* iface)
829 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
831 FIXME("(%p/%p)->(): stub\n", iface, This);
833 return E_NOTIMPL;
836 static HRESULT WINAPI IDirect3DRMFrame2Impl_GetHierarchyBox(IDirect3DRMFrame2* iface,
837 LPD3DRMBOX box)
839 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame2(iface);
841 FIXME("(%p/%p)->(%p): stub\n", iface, This, box);
843 return E_NOTIMPL;
846 static const struct IDirect3DRMFrame2Vtbl Direct3DRMFrame2_Vtbl =
848 /*** IUnknown methods ***/
849 IDirect3DRMFrame2Impl_QueryInterface,
850 IDirect3DRMFrame2Impl_AddRef,
851 IDirect3DRMFrame2Impl_Release,
852 /*** IDirect3DRMObject methods ***/
853 IDirect3DRMFrame2Impl_Clone,
854 IDirect3DRMFrame2Impl_AddDestroyCallback,
855 IDirect3DRMFrame2Impl_DeleteDestroyCallback,
856 IDirect3DRMFrame2Impl_SetAppData,
857 IDirect3DRMFrame2Impl_GetAppData,
858 IDirect3DRMFrame2Impl_SetName,
859 IDirect3DRMFrame2Impl_GetName,
860 IDirect3DRMFrame2Impl_GetClassName,
861 /*** IDirect3DRMFrame methods ***/
862 IDirect3DRMFrame2Impl_AddChild,
863 IDirect3DRMFrame2Impl_AddLight,
864 IDirect3DRMFrame2Impl_AddMoveCallback,
865 IDirect3DRMFrame2Impl_AddTransform,
866 IDirect3DRMFrame2Impl_AddTranslation,
867 IDirect3DRMFrame2Impl_AddScale,
868 IDirect3DRMFrame2Impl_AddRotation,
869 IDirect3DRMFrame2Impl_AddVisual,
870 IDirect3DRMFrame2Impl_GetChildren,
871 IDirect3DRMFrame2Impl_GetColor,
872 IDirect3DRMFrame2Impl_GetLights,
873 IDirect3DRMFrame2Impl_GetMaterialMode,
874 IDirect3DRMFrame2Impl_GetParent,
875 IDirect3DRMFrame2Impl_GetPosition,
876 IDirect3DRMFrame2Impl_GetRotation,
877 IDirect3DRMFrame2Impl_GetScene,
878 IDirect3DRMFrame2Impl_GetSortMode,
879 IDirect3DRMFrame2Impl_GetTexture,
880 IDirect3DRMFrame2Impl_GetTransform,
881 IDirect3DRMFrame2Impl_GetVelocity,
882 IDirect3DRMFrame2Impl_GetOrientation,
883 IDirect3DRMFrame2Impl_GetVisuals,
884 IDirect3DRMFrame2Impl_GetTextureTopology,
885 IDirect3DRMFrame2Impl_InverseTransform,
886 IDirect3DRMFrame2Impl_Load,
887 IDirect3DRMFrame2Impl_LookAt,
888 IDirect3DRMFrame2Impl_Move,
889 IDirect3DRMFrame2Impl_DeleteChild,
890 IDirect3DRMFrame2Impl_DeleteLight,
891 IDirect3DRMFrame2Impl_DeleteMoveCallback,
892 IDirect3DRMFrame2Impl_DeleteVisual,
893 IDirect3DRMFrame2Impl_GetSceneBackground,
894 IDirect3DRMFrame2Impl_GetSceneBackgroundDepth,
895 IDirect3DRMFrame2Impl_GetSceneFogColor,
896 IDirect3DRMFrame2Impl_GetSceneFogEnable,
897 IDirect3DRMFrame2Impl_GetSceneFogMode,
898 IDirect3DRMFrame2Impl_GetSceneFogParams,
899 IDirect3DRMFrame2Impl_SetSceneBackground,
900 IDirect3DRMFrame2Impl_SetSceneBackgroundRGB,
901 IDirect3DRMFrame2Impl_SetSceneBackgroundDepth,
902 IDirect3DRMFrame2Impl_SetSceneBackgroundImage,
903 IDirect3DRMFrame2Impl_SetSceneFogEnable,
904 IDirect3DRMFrame2Impl_SetSceneFogColor,
905 IDirect3DRMFrame2Impl_SetSceneFogMode,
906 IDirect3DRMFrame2Impl_SetSceneFogParams,
907 IDirect3DRMFrame2Impl_SetColor,
908 IDirect3DRMFrame2Impl_SetColorRGB,
909 IDirect3DRMFrame2Impl_GetZbufferMode,
910 IDirect3DRMFrame2Impl_SetMaterialMode,
911 IDirect3DRMFrame2Impl_SetOrientation,
912 IDirect3DRMFrame2Impl_SetPosition,
913 IDirect3DRMFrame2Impl_SetRotation,
914 IDirect3DRMFrame2Impl_SetSortMode,
915 IDirect3DRMFrame2Impl_SetTexture,
916 IDirect3DRMFrame2Impl_SetTextureTopology,
917 IDirect3DRMFrame2Impl_SetVelocity,
918 IDirect3DRMFrame2Impl_SetZbufferMode,
919 IDirect3DRMFrame2Impl_Transform,
920 /*** IDirect3DRMFrame2 methods ***/
921 IDirect3DRMFrame2Impl_AddMoveCallback2,
922 IDirect3DRMFrame2Impl_GetBox,
923 IDirect3DRMFrame2Impl_GetBoxEnable,
924 IDirect3DRMFrame2Impl_GetAxes,
925 IDirect3DRMFrame2Impl_GetMaterial,
926 IDirect3DRMFrame2Impl_GetInheritAxes,
927 IDirect3DRMFrame2Impl_GetHierarchyBox
931 /*** IUnknown methods ***/
932 static HRESULT WINAPI IDirect3DRMFrame3Impl_QueryInterface(IDirect3DRMFrame3* iface,
933 REFIID riid, void** object)
935 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
936 return IDirect3DRMFrame_QueryInterface(&This->IDirect3DRMFrame2_iface, riid, object);
939 static ULONG WINAPI IDirect3DRMFrame3Impl_AddRef(IDirect3DRMFrame3* iface)
941 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
942 return IDirect3DRMFrame2_AddRef(&This->IDirect3DRMFrame2_iface);
945 static ULONG WINAPI IDirect3DRMFrame3Impl_Release(IDirect3DRMFrame3* iface)
947 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
948 return IDirect3DRMFrame2_Release(&This->IDirect3DRMFrame2_iface);
951 /*** IDirect3DRMObject methods ***/
952 static HRESULT WINAPI IDirect3DRMFrame3Impl_Clone(IDirect3DRMFrame3* iface,
953 LPUNKNOWN unkwn, REFIID riid,
954 LPVOID* object)
956 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
958 FIXME("(%p/%p)->(%p, %s, %p): stub\n", iface, This, unkwn, debugstr_guid(riid), object);
960 return E_NOTIMPL;
963 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddDestroyCallback(IDirect3DRMFrame3* iface,
964 D3DRMOBJECTCALLBACK cb,
965 LPVOID argument)
967 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
969 FIXME("(%p/%p)->(%p, %p): stub\n", iface, This, cb, argument);
971 return E_NOTIMPL;
974 static HRESULT WINAPI IDirect3DRMFrame3Impl_DeleteDestroyCallback(IDirect3DRMFrame3* iface,
975 D3DRMOBJECTCALLBACK cb,
976 LPVOID argument)
978 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
980 FIXME("(%p/%p)->(%p, %p): stub\n", iface, This, cb, argument);
982 return E_NOTIMPL;
985 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetAppData(IDirect3DRMFrame3* iface,
986 DWORD data)
988 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
990 FIXME("(%p/%p)->(%u): stub\n", iface, This, data);
992 return E_NOTIMPL;
995 static DWORD WINAPI IDirect3DRMFrame3Impl_GetAppData(IDirect3DRMFrame3* iface)
997 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
999 FIXME("(%p/%p)->(): stub\n", iface, This);
1001 return 0;
1004 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetName(IDirect3DRMFrame3* iface, LPCSTR name)
1006 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1008 FIXME("(%p/%p)->(%s): stub\n", iface, This, name);
1010 return E_NOTIMPL;
1013 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetName(IDirect3DRMFrame3* iface,
1014 LPDWORD size, LPSTR name)
1016 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1018 FIXME("(%p/%p)->(%p, %p): stub\n", iface, This, size, name);
1020 return E_NOTIMPL;
1023 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetClassName(IDirect3DRMFrame3* iface,
1024 LPDWORD size, LPSTR name)
1026 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1028 FIXME("(%p/%p)->(%p, %p): stub\n", iface, This, size, name);
1030 return E_NOTIMPL;
1033 /*** IDirect3DRMFrame methods ***/
1034 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddChild(IDirect3DRMFrame3* iface,
1035 LPDIRECT3DRMFRAME3 child)
1037 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1039 FIXME("(%p/%p)->(%p): stub\n", iface, This, child);
1041 return E_NOTIMPL;
1044 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddLight(IDirect3DRMFrame3* iface,
1045 LPDIRECT3DRMLIGHT light)
1047 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1049 FIXME("(%p/%p)->(%p): stub\n", iface, This, light);
1051 return E_NOTIMPL;
1054 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddMoveCallback(IDirect3DRMFrame3* iface,
1055 D3DRMFRAME3MOVECALLBACK cb, VOID *arg,
1056 DWORD flags)
1058 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1060 FIXME("(%p/%p)->(%p,%p,%u): stub\n", iface, This, cb, arg, flags);
1062 return E_NOTIMPL;
1065 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddTransform(IDirect3DRMFrame3* iface,
1066 D3DRMCOMBINETYPE type,
1067 D3DRMMATRIX4D matrix)
1069 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1071 FIXME("(%p/%p)->(%u,%p): stub\n", iface, This, type, matrix);
1073 return E_NOTIMPL;
1076 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddTranslation(IDirect3DRMFrame3* iface,
1077 D3DRMCOMBINETYPE type,
1078 D3DVALUE x, D3DVALUE y, D3DVALUE z)
1080 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1082 FIXME("(%p/%p)->(%u,%f,%f,%f): stub\n", iface, This, type, x, y, z);
1084 return E_NOTIMPL;
1087 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddScale(IDirect3DRMFrame3* iface,
1088 D3DRMCOMBINETYPE type,
1089 D3DVALUE sx, D3DVALUE sy, D3DVALUE sz)
1091 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1093 FIXME("(%p/%p)->(%u,%f,%f,%f): stub\n", iface, This, type, sx, sy, sz);
1095 return E_NOTIMPL;
1098 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddRotation(IDirect3DRMFrame3* iface,
1099 D3DRMCOMBINETYPE type,
1100 D3DVALUE x, D3DVALUE y, D3DVALUE z,
1101 D3DVALUE theta)
1103 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1105 FIXME("(%p/%p)->(%u,%f,%f,%f,%f): stub\n", iface, This, type, x, y, z, theta);
1107 return E_NOTIMPL;
1110 static HRESULT WINAPI IDirect3DRMFrame3Impl_AddVisual(IDirect3DRMFrame3* iface, LPUNKNOWN vis)
1112 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1114 FIXME("(%p/%p)->(%p): stub\n", iface, This, vis);
1116 return E_NOTIMPL;
1119 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetChildren(IDirect3DRMFrame3* iface,
1120 LPDIRECT3DRMFRAMEARRAY *children)
1122 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1124 FIXME("(%p/%p)->(%p): stub\n", iface, This, children);
1126 return E_NOTIMPL;
1129 static D3DCOLOR WINAPI IDirect3DRMFrame3Impl_GetColor(IDirect3DRMFrame3* iface)
1131 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1133 FIXME("(%p/%p)->(): stub\n", iface, This);
1135 return 0;
1138 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetLights(IDirect3DRMFrame3* iface,
1139 LPDIRECT3DRMLIGHTARRAY *lights)
1141 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1143 FIXME("(%p/%p)->(%p): stub\n", iface, This, lights);
1145 return E_NOTIMPL;
1148 static D3DRMMATERIALMODE WINAPI IDirect3DRMFrame3Impl_GetMaterialMode(IDirect3DRMFrame3* iface)
1150 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1152 FIXME("(%p/%p)->(): stub\n", iface, This);
1154 return D3DRMMATERIAL_FROMPARENT;
1157 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetParent(IDirect3DRMFrame3* iface,
1158 LPDIRECT3DRMFRAME3 * frame)
1160 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1162 FIXME("(%p/%p)->(%p): stub\n", iface, This, frame);
1164 return E_NOTIMPL;
1167 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetPosition(IDirect3DRMFrame3* iface,
1168 LPDIRECT3DRMFRAME3 reference,
1169 LPD3DVECTOR return_position)
1171 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1173 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, reference, return_position);
1175 return E_NOTIMPL;
1178 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetRotation(IDirect3DRMFrame3* iface,
1179 LPDIRECT3DRMFRAME3 reference,
1180 LPD3DVECTOR axis, LPD3DVALUE return_theta)
1182 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1184 FIXME("(%p/%p)->(%p,%p,%p): stub\n", iface, This, reference, axis, return_theta);
1186 return E_NOTIMPL;
1189 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetScene(IDirect3DRMFrame3* iface,
1190 LPDIRECT3DRMFRAME3 * frame)
1192 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1194 FIXME("(%p/%p)->(%p): stub\n", iface, This, frame);
1196 return E_NOTIMPL;
1199 static D3DRMSORTMODE WINAPI IDirect3DRMFrame3Impl_GetSortMode(IDirect3DRMFrame3* iface)
1201 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1203 FIXME("(%p/%p)->(): stub\n", iface, This);
1205 return D3DRMSORT_FROMPARENT;
1208 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetTexture(IDirect3DRMFrame3* iface,
1209 LPDIRECT3DRMTEXTURE3 * tex)
1211 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1213 FIXME("(%p/%p)->(%p): stub\n", iface, This, tex);
1215 return E_NOTIMPL;
1218 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetTransform(IDirect3DRMFrame3* iface,
1219 LPDIRECT3DRMFRAME3 reference,
1220 D3DRMMATRIX4D return_matrix)
1222 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1224 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, reference, return_matrix);
1226 return E_NOTIMPL;
1229 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetVelocity(IDirect3DRMFrame3* iface,
1230 LPDIRECT3DRMFRAME3 reference,
1231 LPD3DVECTOR return_velocity,
1232 BOOL with_rotation)
1234 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1236 FIXME("(%p/%p)->(%p,%p,%d): stub\n", iface, This, reference, return_velocity, with_rotation);
1238 return E_NOTIMPL;
1241 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetOrientation(IDirect3DRMFrame3* iface,
1242 LPDIRECT3DRMFRAME3 reference,
1243 LPD3DVECTOR dir, LPD3DVECTOR up)
1245 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1247 FIXME("(%p/%p)->(%p,%p,%p): stub\n", iface, This, reference, dir, up);
1249 return E_NOTIMPL;
1252 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetVisuals(IDirect3DRMFrame3* iface, LPDWORD num,
1253 LPUNKNOWN *visuals)
1255 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1257 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, num, visuals);
1259 return E_NOTIMPL;
1262 static HRESULT WINAPI IDirect3DRMFrame3Impl_InverseTransform(IDirect3DRMFrame3* iface,
1263 D3DVECTOR *d, D3DVECTOR *s)
1265 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1267 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, d, s);
1269 return E_NOTIMPL;
1272 static HRESULT WINAPI IDirect3DRMFrame3Impl_Load(IDirect3DRMFrame3* iface, LPVOID filename,
1273 LPVOID name, D3DRMLOADOPTIONS loadflags,
1274 D3DRMLOADTEXTURE3CALLBACK cb, LPVOID lpArg)
1276 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1278 FIXME("(%p/%p)->(%p,%p,%u,%p,%p): stub\n", iface, This, filename, name, loadflags, cb, lpArg);
1280 return E_NOTIMPL;
1283 static HRESULT WINAPI IDirect3DRMFrame3Impl_LookAt(IDirect3DRMFrame3* iface,
1284 LPDIRECT3DRMFRAME3 target,
1285 LPDIRECT3DRMFRAME3 reference,
1286 D3DRMFRAMECONSTRAINT constraint)
1288 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1290 FIXME("(%p/%p)->(%p,%p,%u): stub\n", iface, This, target, reference, constraint);
1292 return E_NOTIMPL;
1295 static HRESULT WINAPI IDirect3DRMFrame3Impl_Move(IDirect3DRMFrame3* iface, D3DVALUE delta)
1297 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1299 FIXME("(%p/%p)->(%f): stub\n", iface, This, delta);
1301 return E_NOTIMPL;
1304 static HRESULT WINAPI IDirect3DRMFrame3Impl_DeleteChild(IDirect3DRMFrame3* iface,
1305 LPDIRECT3DRMFRAME3 frame)
1307 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1309 FIXME("(%p/%p)->(%p): stub\n", iface, This, frame);
1311 return E_NOTIMPL;
1314 static HRESULT WINAPI IDirect3DRMFrame3Impl_DeleteLight(IDirect3DRMFrame3* iface,
1315 LPDIRECT3DRMLIGHT light)
1317 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1319 FIXME("(%p/%p)->(%p): stub\n", iface, This, light);
1321 return E_NOTIMPL;
1324 static HRESULT WINAPI IDirect3DRMFrame3Impl_DeleteMoveCallback(IDirect3DRMFrame3* iface,
1325 D3DRMFRAME3MOVECALLBACK cb,
1326 VOID *arg)
1328 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1330 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, cb, arg);
1332 return E_NOTIMPL;
1335 static HRESULT WINAPI IDirect3DRMFrame3Impl_DeleteVisual(IDirect3DRMFrame3* iface, LPUNKNOWN vis)
1337 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1339 FIXME("(%p/%p)->(%p): stub\n", iface, This, vis);
1341 return E_NOTIMPL;
1344 static D3DCOLOR WINAPI IDirect3DRMFrame3Impl_GetSceneBackground(IDirect3DRMFrame3* iface)
1346 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1348 FIXME("(%p/%p)->(): stub\n", iface, This);
1350 return 0;
1353 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetSceneBackgroundDepth(IDirect3DRMFrame3* iface,
1354 LPDIRECTDRAWSURFACE * surface)
1356 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1358 FIXME("(%p/%p)->(%p): stub\n", iface, This, surface);
1360 return E_NOTIMPL;
1363 static D3DCOLOR WINAPI IDirect3DRMFrame3Impl_GetSceneFogColor(IDirect3DRMFrame3* iface)
1365 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1367 FIXME("(%p/%p)->(): stub\n", iface, This);
1369 return 0;
1372 static BOOL WINAPI IDirect3DRMFrame3Impl_GetSceneFogEnable(IDirect3DRMFrame3* iface)
1374 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1376 FIXME("(%p/%p)->(): stub\n", iface, This);
1378 return FALSE;
1381 static D3DRMFOGMODE WINAPI IDirect3DRMFrame3Impl_GetSceneFogMode(IDirect3DRMFrame3* iface)
1383 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1385 FIXME("(%p/%p)->(): stub\n", iface, This);
1387 return D3DRMFOG_LINEAR;
1390 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetSceneFogParams(IDirect3DRMFrame3* iface,
1391 D3DVALUE *return_start,
1392 D3DVALUE *return_end,
1393 D3DVALUE *return_density)
1395 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1397 FIXME("(%p/%p)->(%p,%p,%p): stub\n", iface, This, return_start, return_end, return_density);
1399 return E_NOTIMPL;
1402 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneBackground(IDirect3DRMFrame3* iface,
1403 D3DCOLOR color)
1405 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1407 FIXME("(%p/%p)->(%u): stub\n", iface, This, color);
1409 return E_NOTIMPL;
1412 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneBackgroundRGB(IDirect3DRMFrame3* iface,
1413 D3DVALUE red, D3DVALUE green,
1414 D3DVALUE blue)
1416 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1418 FIXME("(%p/%p)->(%f,%f,%f): stub\n", iface, This, red, green, blue);
1420 return E_NOTIMPL;
1423 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneBackgroundDepth(IDirect3DRMFrame3* iface,
1424 LPDIRECTDRAWSURFACE surface)
1426 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1428 FIXME("(%p/%p)->(%p): stub\n", iface, This, surface);
1430 return E_NOTIMPL;
1433 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneBackgroundImage(IDirect3DRMFrame3* iface,
1434 LPDIRECT3DRMTEXTURE3 texture)
1436 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1438 FIXME("(%p/%p)->(%p): stub\n", iface, This, texture);
1440 return E_NOTIMPL;
1443 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneFogEnable(IDirect3DRMFrame3* iface, BOOL enable)
1445 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1447 FIXME("(%p/%p)->(%d): stub\n", iface, This, enable);
1449 return E_NOTIMPL;
1452 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneFogColor(IDirect3DRMFrame3* iface,
1453 D3DCOLOR color)
1455 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1457 FIXME("(%p/%p)->(%u): stub\n", iface, This, color);
1459 return E_NOTIMPL;
1462 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneFogMode(IDirect3DRMFrame3* iface,
1463 D3DRMFOGMODE mode)
1465 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1467 FIXME("(%p/%p)->(%u): stub\n", iface, This, mode);
1469 return E_NOTIMPL;
1472 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneFogParams(IDirect3DRMFrame3* iface,
1473 D3DVALUE start, D3DVALUE end,
1474 D3DVALUE density)
1476 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1478 FIXME("(%p/%p)->(%f,%f,%f): stub\n", iface, This, start, end, density);
1480 return E_NOTIMPL;
1483 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetColor(IDirect3DRMFrame3* iface, D3DCOLOR color)
1485 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1487 FIXME("(%p/%p)->(%u): stub\n", iface, This, color);
1489 return E_NOTIMPL;
1492 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetColorRGB(IDirect3DRMFrame3* iface, D3DVALUE red,
1493 D3DVALUE green, D3DVALUE blue)
1495 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1497 FIXME("(%p/%p)->(%f,%f,%f): stub\n", iface, This, red, green, blue);
1499 return E_NOTIMPL;
1502 static D3DRMZBUFFERMODE WINAPI IDirect3DRMFrame3Impl_GetZbufferMode(IDirect3DRMFrame3* iface)
1504 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1506 FIXME("(%p/%p)->(): stub\n", iface, This);
1508 return D3DRMZBUFFER_FROMPARENT;
1511 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetMaterialMode(IDirect3DRMFrame3* iface,
1512 D3DRMMATERIALMODE mode)
1514 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1516 FIXME("(%p/%p)->(%u): stub\n", iface, This, mode);
1518 return E_NOTIMPL;
1521 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetOrientation(IDirect3DRMFrame3* iface,
1522 LPDIRECT3DRMFRAME3 reference,
1523 D3DVALUE dx, D3DVALUE dy, D3DVALUE dz,
1524 D3DVALUE ux, D3DVALUE uy, D3DVALUE uz )
1526 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1528 FIXME("(%p/%p)->(%p,%f,%f,%f,%f,%f,%f): stub\n", iface, This, reference,
1529 dx, dy, dz, ux, uy, uz);
1531 return E_NOTIMPL;
1534 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetPosition(IDirect3DRMFrame3* iface,
1535 LPDIRECT3DRMFRAME3 reference,
1536 D3DVALUE x, D3DVALUE y, D3DVALUE z)
1538 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1540 FIXME("(%p/%p)->(%p,%f,%f,%f): stub\n", iface, This, reference, x, y, z);
1542 return E_NOTIMPL;
1545 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetRotation(IDirect3DRMFrame3* iface,
1546 LPDIRECT3DRMFRAME3 reference,
1547 D3DVALUE x, D3DVALUE y, D3DVALUE z,
1548 D3DVALUE theta)
1550 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1552 FIXME("(%p/%p)->(%p,%f,%f,%f,%f): stub\n", iface, This, reference, x, y, z, theta);
1554 return E_NOTIMPL;
1557 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSortMode(IDirect3DRMFrame3* iface,
1558 D3DRMSORTMODE mode)
1560 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1562 FIXME("(%p/%p)->(%u): stub\n", iface, This, mode);
1564 return E_NOTIMPL;
1567 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetTexture(IDirect3DRMFrame3* iface,
1568 LPDIRECT3DRMTEXTURE3 texture)
1570 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1572 FIXME("(%p/%p)->(%p): stub\n", iface, This, texture);
1574 return E_NOTIMPL;
1577 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetVelocity(IDirect3DRMFrame3* iface,
1578 LPDIRECT3DRMFRAME3 reference,
1579 D3DVALUE x, D3DVALUE y, D3DVALUE z,
1580 BOOL with_rotation)
1582 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1584 FIXME("(%p/%p)->(%p,%f,%f,%f,%d): stub\n", iface, This, reference, x, y, z, with_rotation);
1586 return E_NOTIMPL;
1589 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetZbufferMode(IDirect3DRMFrame3* iface,
1590 D3DRMZBUFFERMODE mode)
1592 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1594 FIXME("(%p/%p)->(%u): stub\n", iface, This, mode);
1596 return E_NOTIMPL;
1599 static HRESULT WINAPI IDirect3DRMFrame3Impl_Transform(IDirect3DRMFrame3* iface, D3DVECTOR *d,
1600 D3DVECTOR *s)
1602 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1604 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, d, s);
1606 return E_NOTIMPL;
1609 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetBox(IDirect3DRMFrame3* iface, LPD3DRMBOX box)
1611 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1613 FIXME("(%p/%p)->(%p): stub\n", iface, This, box);
1615 return E_NOTIMPL;
1618 static BOOL WINAPI IDirect3DRMFrame3Impl_GetBoxEnable(IDirect3DRMFrame3* iface)
1620 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1622 FIXME("(%p/%p)->(): stub\n", iface, This);
1624 return E_NOTIMPL;
1627 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetAxes(IDirect3DRMFrame3* iface,
1628 LPD3DVECTOR dir, LPD3DVECTOR up)
1630 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1632 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, dir, up);
1634 return E_NOTIMPL;
1637 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetMaterial(IDirect3DRMFrame3* iface,
1638 LPDIRECT3DRMMATERIAL2 *material)
1640 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1642 FIXME("(%p/%p)->(%p): stub\n", iface, This, material);
1644 return E_NOTIMPL;
1647 static BOOL WINAPI IDirect3DRMFrame3Impl_GetInheritAxes(IDirect3DRMFrame3* iface)
1649 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1651 FIXME("(%p/%p)->(): stub\n", iface, This);
1653 return E_NOTIMPL;
1656 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetHierarchyBox(IDirect3DRMFrame3* iface,
1657 LPD3DRMBOX box)
1659 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1661 FIXME("(%p/%p)->(%p): stub\n", iface, This, box);
1663 return E_NOTIMPL;
1666 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetBox(IDirect3DRMFrame3* iface, LPD3DRMBOX box)
1668 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1670 FIXME("(%p/%p)->(%p): stub\n", iface, This, box);
1672 return E_NOTIMPL;
1675 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetBoxEnable(IDirect3DRMFrame3* iface, BOOL enable)
1677 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1679 FIXME("(%p/%p)->(%u): stub\n", iface, This, enable);
1681 return E_NOTIMPL;
1684 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetAxes(IDirect3DRMFrame3* iface,
1685 D3DVALUE dx, D3DVALUE dy, D3DVALUE dz,
1686 D3DVALUE ux, D3DVALUE uy, D3DVALUE uz)
1688 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1690 FIXME("(%p/%p)->(%f,%f,%f,%f,%f,%f): stub\n", iface, This, dx, dy, dz, ux, uy, uz);
1692 return E_NOTIMPL;
1695 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetInheritAxes(IDirect3DRMFrame3* iface,
1696 BOOL inherit_from_parent)
1698 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1700 FIXME("(%p/%p)->(%u): stub\n", iface, This, inherit_from_parent);
1702 return E_NOTIMPL;
1705 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetMaterial(IDirect3DRMFrame3* iface,
1706 LPDIRECT3DRMMATERIAL2 material)
1708 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1710 FIXME("(%p/%p)->(%p): stub\n", iface, This, material);
1712 return E_NOTIMPL;
1715 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetQuaternion(IDirect3DRMFrame3* iface,
1716 LPDIRECT3DRMFRAME3 reference,
1717 D3DRMQUATERNION *q)
1719 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1721 FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, reference, q);
1723 return E_NOTIMPL;
1726 static HRESULT WINAPI IDirect3DRMFrame3Impl_RayPick(IDirect3DRMFrame3* iface,
1727 LPDIRECT3DRMFRAME3 reference, LPD3DRMRAY ray,
1728 DWORD flags,
1729 LPDIRECT3DRMPICKED2ARRAY *return_visuals)
1731 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1733 FIXME("(%p/%p)->(%p,%p,%u,%p): stub\n", iface, This, reference, ray, flags, return_visuals);
1735 return E_NOTIMPL;
1738 static HRESULT WINAPI IDirect3DRMFrame3Impl_Save(IDirect3DRMFrame3* iface, LPCSTR filename,
1739 D3DRMXOFFORMAT d3dFormat,
1740 D3DRMSAVEOPTIONS d3dSaveFlags)
1742 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1744 FIXME("(%p/%p)->(%p,%u,%u): stub\n", iface, This, filename, d3dFormat, d3dSaveFlags);
1746 return E_NOTIMPL;
1749 static HRESULT WINAPI IDirect3DRMFrame3Impl_TransformVectors(IDirect3DRMFrame3* iface,
1750 LPDIRECT3DRMFRAME3 reference,
1751 DWORD num, LPD3DVECTOR dst,
1752 LPD3DVECTOR src)
1754 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1756 FIXME("(%p/%p)->(%p,%u,%p,%p): stub\n", iface, This, reference, num, dst, src);
1758 return E_NOTIMPL;
1761 static HRESULT WINAPI IDirect3DRMFrame3Impl_InverseTransformVectors(IDirect3DRMFrame3* iface,
1762 LPDIRECT3DRMFRAME3 reference,
1763 DWORD num, LPD3DVECTOR dst,
1764 LPD3DVECTOR src)
1766 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1768 FIXME("(%p/%p)->(%p,%u,%p,%p): stub\n", iface, This, reference, num, dst, src);
1770 return E_NOTIMPL;
1773 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetTraversalOptions(IDirect3DRMFrame3* iface,
1774 DWORD flags)
1776 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1778 FIXME("(%p/%p)->(%u): stub\n", iface, This, flags);
1780 return E_NOTIMPL;
1783 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetTraversalOptions(IDirect3DRMFrame3* iface,
1784 LPDWORD flags)
1786 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1788 FIXME("(%p/%p)->(%p): stub\n", iface, This, flags);
1790 return E_NOTIMPL;
1793 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetSceneFogMethod(IDirect3DRMFrame3* iface,
1794 DWORD flags)
1796 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1798 FIXME("(%p/%p)->(%u): stub\n", iface, This, flags);
1800 return E_NOTIMPL;
1803 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetSceneFogMethod(IDirect3DRMFrame3* iface,
1804 LPDWORD flags)
1806 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1808 FIXME("(%p/%p)->(%p): stub\n", iface, This, flags);
1810 return E_NOTIMPL;
1813 static HRESULT WINAPI IDirect3DRMFrame3Impl_SetMaterialOverride(IDirect3DRMFrame3* iface,
1814 LPD3DRMMATERIALOVERRIDE override)
1816 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1818 FIXME("(%p/%p)->(%p): stub\n", iface, This, override);
1820 return E_NOTIMPL;
1823 static HRESULT WINAPI IDirect3DRMFrame3Impl_GetMaterialOverride(IDirect3DRMFrame3* iface,
1824 LPD3DRMMATERIALOVERRIDE override)
1826 IDirect3DRMFrameImpl *This = impl_from_IDirect3DRMFrame3(iface);
1828 FIXME("(%p/%p)->(%p): stub\n", iface, This, override);
1830 return E_NOTIMPL;
1833 static const struct IDirect3DRMFrame3Vtbl Direct3DRMFrame3_Vtbl =
1835 /*** IUnknown methods ***/
1836 IDirect3DRMFrame3Impl_QueryInterface,
1837 IDirect3DRMFrame3Impl_AddRef,
1838 IDirect3DRMFrame3Impl_Release,
1839 /*** IDirect3DRMObject methods ***/
1840 IDirect3DRMFrame3Impl_Clone,
1841 IDirect3DRMFrame3Impl_AddDestroyCallback,
1842 IDirect3DRMFrame3Impl_DeleteDestroyCallback,
1843 IDirect3DRMFrame3Impl_SetAppData,
1844 IDirect3DRMFrame3Impl_GetAppData,
1845 IDirect3DRMFrame3Impl_SetName,
1846 IDirect3DRMFrame3Impl_GetName,
1847 IDirect3DRMFrame3Impl_GetClassName,
1848 /*** IDirect3DRMFrame3 methods ***/
1849 IDirect3DRMFrame3Impl_AddChild,
1850 IDirect3DRMFrame3Impl_AddLight,
1851 IDirect3DRMFrame3Impl_AddMoveCallback,
1852 IDirect3DRMFrame3Impl_AddTransform,
1853 IDirect3DRMFrame3Impl_AddTranslation,
1854 IDirect3DRMFrame3Impl_AddScale,
1855 IDirect3DRMFrame3Impl_AddRotation,
1856 IDirect3DRMFrame3Impl_AddVisual,
1857 IDirect3DRMFrame3Impl_GetChildren,
1858 IDirect3DRMFrame3Impl_GetColor,
1859 IDirect3DRMFrame3Impl_GetLights,
1860 IDirect3DRMFrame3Impl_GetMaterialMode,
1861 IDirect3DRMFrame3Impl_GetParent,
1862 IDirect3DRMFrame3Impl_GetPosition,
1863 IDirect3DRMFrame3Impl_GetRotation,
1864 IDirect3DRMFrame3Impl_GetScene,
1865 IDirect3DRMFrame3Impl_GetSortMode,
1866 IDirect3DRMFrame3Impl_GetTexture,
1867 IDirect3DRMFrame3Impl_GetTransform,
1868 IDirect3DRMFrame3Impl_GetVelocity,
1869 IDirect3DRMFrame3Impl_GetOrientation,
1870 IDirect3DRMFrame3Impl_GetVisuals,
1871 IDirect3DRMFrame3Impl_InverseTransform,
1872 IDirect3DRMFrame3Impl_Load,
1873 IDirect3DRMFrame3Impl_LookAt,
1874 IDirect3DRMFrame3Impl_Move,
1875 IDirect3DRMFrame3Impl_DeleteChild,
1876 IDirect3DRMFrame3Impl_DeleteLight,
1877 IDirect3DRMFrame3Impl_DeleteMoveCallback,
1878 IDirect3DRMFrame3Impl_DeleteVisual,
1879 IDirect3DRMFrame3Impl_GetSceneBackground,
1880 IDirect3DRMFrame3Impl_GetSceneBackgroundDepth,
1881 IDirect3DRMFrame3Impl_GetSceneFogColor,
1882 IDirect3DRMFrame3Impl_GetSceneFogEnable,
1883 IDirect3DRMFrame3Impl_GetSceneFogMode,
1884 IDirect3DRMFrame3Impl_GetSceneFogParams,
1885 IDirect3DRMFrame3Impl_SetSceneBackground,
1886 IDirect3DRMFrame3Impl_SetSceneBackgroundRGB,
1887 IDirect3DRMFrame3Impl_SetSceneBackgroundDepth,
1888 IDirect3DRMFrame3Impl_SetSceneBackgroundImage,
1889 IDirect3DRMFrame3Impl_SetSceneFogEnable,
1890 IDirect3DRMFrame3Impl_SetSceneFogColor,
1891 IDirect3DRMFrame3Impl_SetSceneFogMode,
1892 IDirect3DRMFrame3Impl_SetSceneFogParams,
1893 IDirect3DRMFrame3Impl_SetColor,
1894 IDirect3DRMFrame3Impl_SetColorRGB,
1895 IDirect3DRMFrame3Impl_GetZbufferMode,
1896 IDirect3DRMFrame3Impl_SetMaterialMode,
1897 IDirect3DRMFrame3Impl_SetOrientation,
1898 IDirect3DRMFrame3Impl_SetPosition,
1899 IDirect3DRMFrame3Impl_SetRotation,
1900 IDirect3DRMFrame3Impl_SetSortMode,
1901 IDirect3DRMFrame3Impl_SetTexture,
1902 IDirect3DRMFrame3Impl_SetVelocity,
1903 IDirect3DRMFrame3Impl_SetZbufferMode,
1904 IDirect3DRMFrame3Impl_Transform,
1905 IDirect3DRMFrame3Impl_GetBox,
1906 IDirect3DRMFrame3Impl_GetBoxEnable,
1907 IDirect3DRMFrame3Impl_GetAxes,
1908 IDirect3DRMFrame3Impl_GetMaterial,
1909 IDirect3DRMFrame3Impl_GetInheritAxes,
1910 IDirect3DRMFrame3Impl_GetHierarchyBox,
1911 IDirect3DRMFrame3Impl_SetBox,
1912 IDirect3DRMFrame3Impl_SetBoxEnable,
1913 IDirect3DRMFrame3Impl_SetAxes,
1914 IDirect3DRMFrame3Impl_SetInheritAxes,
1915 IDirect3DRMFrame3Impl_SetMaterial,
1916 IDirect3DRMFrame3Impl_SetQuaternion,
1917 IDirect3DRMFrame3Impl_RayPick,
1918 IDirect3DRMFrame3Impl_Save,
1919 IDirect3DRMFrame3Impl_TransformVectors,
1920 IDirect3DRMFrame3Impl_InverseTransformVectors,
1921 IDirect3DRMFrame3Impl_SetTraversalOptions,
1922 IDirect3DRMFrame3Impl_GetTraversalOptions,
1923 IDirect3DRMFrame3Impl_SetSceneFogMethod,
1924 IDirect3DRMFrame3Impl_GetSceneFogMethod,
1925 IDirect3DRMFrame3Impl_SetMaterialOverride,
1926 IDirect3DRMFrame3Impl_GetMaterialOverride
1929 HRESULT Direct3DRMFrame_create(REFIID riid, IUnknown** ppObj)
1931 IDirect3DRMFrameImpl* object;
1933 TRACE("(%p)\n", ppObj);
1935 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirect3DRMFrameImpl));
1936 if (!object)
1938 ERR("Out of memory\n");
1939 return E_OUTOFMEMORY;
1942 object->IDirect3DRMFrame2_iface.lpVtbl = &Direct3DRMFrame2_Vtbl;
1943 object->IDirect3DRMFrame3_iface.lpVtbl = &Direct3DRMFrame3_Vtbl;
1944 object->ref = 1;
1946 if (IsEqualGUID(riid, &IID_IDirect3DRMFrame3))
1947 *ppObj = (IUnknown*)&object->IDirect3DRMFrame3_iface;
1948 else
1949 *ppObj = (IUnknown*)&object->IDirect3DRMFrame2_iface;
1951 return S_OK;