Commit 9dcdbfab authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

d3drm: Add IDirect3DRMFace2 interface.

parent 9bce3a92
......@@ -165,7 +165,7 @@ static HRESULT WINAPI IDirect3DRMImpl_CreateFace(IDirect3DRM* iface, IDirect3DRM
{
TRACE("iface %p, face %p.\n", iface, face);
return Direct3DRMFace_create((IUnknown **)face);
return Direct3DRMFace_create(&IID_IDirect3DRMFace, (IUnknown **)face);
}
static HRESULT WINAPI IDirect3DRMImpl_CreateAnimation(IDirect3DRM* iface, LPDIRECT3DRMANIMATION * ppAnimation)
......@@ -544,7 +544,7 @@ static HRESULT WINAPI IDirect3DRM2Impl_CreateFace(IDirect3DRM2 *iface, IDirect3D
{
TRACE("iface %p, face %p.\n", iface, face);
return Direct3DRMFace_create((IUnknown **)face);
return Direct3DRMFace_create(&IID_IDirect3DRMFace, (IUnknown **)face);
}
static HRESULT WINAPI IDirect3DRM2Impl_CreateAnimation(IDirect3DRM2* iface,
......@@ -936,9 +936,9 @@ static HRESULT WINAPI IDirect3DRM3Impl_CreateMeshBuilder(IDirect3DRM3 *iface, ID
static HRESULT WINAPI IDirect3DRM3Impl_CreateFace(IDirect3DRM3 *iface, IDirect3DRMFace2 **face)
{
FIXME("iface %p, face %p stub!\n", iface, face);
TRACE("iface %p, face %p.\n", iface, face);
return E_NOTIMPL;
return Direct3DRMFace_create(&IID_IDirect3DRMFace2, (IUnknown **)face);
}
static HRESULT WINAPI IDirect3DRM3Impl_CreateAnimation(IDirect3DRM3* iface,
......
......@@ -25,7 +25,7 @@
#include "dxfile.h"
HRESULT Direct3DRMDevice_create(REFIID riid, IUnknown** ppObj) DECLSPEC_HIDDEN;
HRESULT Direct3DRMFace_create(IUnknown** ret_iface) DECLSPEC_HIDDEN;
HRESULT Direct3DRMFace_create(REFIID riid, IUnknown** ret_iface) DECLSPEC_HIDDEN;
HRESULT Direct3DRMFrame_create(REFIID riid, IUnknown* parent_frame, IUnknown** ret_iface) DECLSPEC_HIDDEN;
HRESULT Direct3DRMLight_create(IUnknown** ppObj) DECLSPEC_HIDDEN;
HRESULT Direct3DRMMesh_create(IDirect3DRMMesh** obj) DECLSPEC_HIDDEN;
......
......@@ -850,7 +850,7 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder2Impl_CreateFace(IDirect3DRMMeshBuil
{
TRACE("iface %p, face %p.\n", iface, face);
return Direct3DRMFace_create((IUnknown **)face);
return Direct3DRMFace_create(&IID_IDirect3DRMFace, (IUnknown **)face);
}
static D3DRMRENDERQUALITY WINAPI IDirect3DRMMeshBuilder2Impl_GetQuality(IDirect3DRMMeshBuilder2* iface)
......@@ -2002,9 +2002,9 @@ static int WINAPI IDirect3DRMMeshBuilder3Impl_AddNormal(IDirect3DRMMeshBuilder3*
static HRESULT WINAPI IDirect3DRMMeshBuilder3Impl_CreateFace(IDirect3DRMMeshBuilder3 *iface, IDirect3DRMFace2 **face)
{
FIXME("iface %p, face %p stub!\n", iface, face);
TRACE("iface %p, face %p.\n", iface, face);
return E_NOTIMPL;
return Direct3DRMFace_create(&IID_IDirect3DRMFace2, (IUnknown **)face);
}
static D3DRMRENDERQUALITY WINAPI IDirect3DRMMeshBuilder3Impl_GetQuality(IDirect3DRMMeshBuilder3* iface)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment