d3dx9: Implement ID3DXEffect::GetStateManager().

This commit is contained in:
Rico Schüller 2011-05-11 16:47:06 +02:00 committed by Alexandre Julliard
parent cd121b10d6
commit 72d3ee3ab6
1 changed files with 12 additions and 3 deletions

View File

@ -2445,13 +2445,22 @@ static HRESULT WINAPI ID3DXEffectImpl_SetStateManager(ID3DXEffect *iface, LPD3DX
return D3D_OK;
}
static HRESULT WINAPI ID3DXEffectImpl_GetStateManager(ID3DXEffect* iface, LPD3DXEFFECTSTATEMANAGER* manager)
static HRESULT WINAPI ID3DXEffectImpl_GetStateManager(ID3DXEffect *iface, LPD3DXEFFECTSTATEMANAGER *manager)
{
struct ID3DXEffectImpl *This = impl_from_ID3DXEffect(iface);
FIXME("(%p)->(%p): stub\n", This, manager);
TRACE("iface %p, manager %p\n", This, manager);
return E_NOTIMPL;
if (!manager)
{
WARN("Invalid argument supplied.\n");
return D3DERR_INVALIDCALL;
}
if (This->manager) IUnknown_AddRef(This->manager);
*manager = This->manager;
return D3D_OK;
}
static HRESULT WINAPI ID3DXEffectImpl_BeginParameterBlock(ID3DXEffect* iface)