Commit c0cd7dc6 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

Implement GetContainingTypelib_{Proxy,Stub}.

parent 284687a6
......@@ -967,8 +967,24 @@ HRESULT CALLBACK ITypeInfo_GetContainingTypeLib_Proxy(
ITypeLib** ppTLib,
UINT* pIndex)
{
FIXME("not implemented\n");
return E_FAIL;
ITypeLib *pTL;
UINT index;
HRESULT hr;
TRACE("(%p, %p, %p)\n", This, ppTLib, pIndex );
hr = ITypeInfo_RemoteGetContainingTypeLib_Proxy(This, &pTL, &index);
if(SUCCEEDED(hr))
{
if(pIndex)
*pIndex = index;
if(ppTLib)
*ppTLib = pTL;
else
ITypeLib_Release(pTL);
}
return hr;
}
HRESULT __RPC_STUB ITypeInfo_GetContainingTypeLib_Stub(
......@@ -976,8 +992,8 @@ HRESULT __RPC_STUB ITypeInfo_GetContainingTypeLib_Stub(
ITypeLib** ppTLib,
UINT* pIndex)
{
FIXME("not implemented\n");
return E_FAIL;
TRACE("(%p, %p, %p)\n", This, ppTLib, pIndex );
return ITypeInfo_GetContainingTypeLib(This, ppTLib, pIndex);
}
void CALLBACK ITypeInfo_ReleaseTypeAttr_Proxy(
......
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