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