Proxies and stubs for GetTypeInfoCont, GetLibAttr and ReleaseLibAttr.

This commit is contained in:
Huw Davies 2005-10-20 11:35:30 +00:00 committed by Alexandre Julliard
parent 6650abcdc4
commit f630f97842
1 changed files with 18 additions and 11 deletions

View File

@ -1071,24 +1071,30 @@ HRESULT __RPC_STUB ITypeInfo2_GetDocumentation2_Stub(
UINT CALLBACK ITypeLib_GetTypeInfoCount_Proxy( UINT CALLBACK ITypeLib_GetTypeInfoCount_Proxy(
ITypeLib* This) ITypeLib* This)
{ {
FIXME("not implemented\n"); UINT count = 0;
return E_FAIL; TRACE("(%p)\n", This);
ITypeLib_RemoteGetTypeInfoCount_Proxy(This, &count);
return count;
} }
HRESULT __RPC_STUB ITypeLib_GetTypeInfoCount_Stub( HRESULT __RPC_STUB ITypeLib_GetTypeInfoCount_Stub(
ITypeLib* This, ITypeLib* This,
UINT* pcTInfo) UINT* pcTInfo)
{ {
FIXME("not implemented\n"); TRACE("(%p, %p)\n", This, pcTInfo);
return E_FAIL; *pcTInfo = ITypeLib_GetTypeInfoCount(This);
return S_OK;
} }
HRESULT CALLBACK ITypeLib_GetLibAttr_Proxy( HRESULT CALLBACK ITypeLib_GetLibAttr_Proxy(
ITypeLib* This, ITypeLib* This,
TLIBATTR** ppTLibAttr) TLIBATTR** ppTLibAttr)
{ {
FIXME("not implemented\n"); CLEANLOCALSTORAGE stg;
return E_FAIL; TRACE("(%p, %p)\n", This, ppTLibAttr);
return ITypeLib_RemoteGetLibAttr_Proxy(This, ppTLibAttr, &stg);
} }
HRESULT __RPC_STUB ITypeLib_GetLibAttr_Stub( HRESULT __RPC_STUB ITypeLib_GetLibAttr_Stub(
@ -1096,8 +1102,8 @@ HRESULT __RPC_STUB ITypeLib_GetLibAttr_Stub(
LPTLIBATTR* ppTLibAttr, LPTLIBATTR* ppTLibAttr,
CLEANLOCALSTORAGE* pDummy) CLEANLOCALSTORAGE* pDummy)
{ {
FIXME("not implemented\n"); TRACE("(%p, %p)\n", This, ppTLibAttr);
return E_FAIL; return ITypeLib_GetLibAttr(This, ppTLibAttr);
} }
HRESULT CALLBACK ITypeLib_GetDocumentation_Proxy( HRESULT CALLBACK ITypeLib_GetDocumentation_Proxy(
@ -1175,14 +1181,15 @@ void CALLBACK ITypeLib_ReleaseTLibAttr_Proxy(
ITypeLib* This, ITypeLib* This,
TLIBATTR* pTLibAttr) TLIBATTR* pTLibAttr)
{ {
FIXME("not implemented\n"); TRACE("(%p, %p)\n", This, pTLibAttr);
CoTaskMemFree(pTLibAttr);
} }
HRESULT __RPC_STUB ITypeLib_ReleaseTLibAttr_Stub( HRESULT __RPC_STUB ITypeLib_ReleaseTLibAttr_Stub(
ITypeLib* This) ITypeLib* This)
{ {
FIXME("not implemented\n"); TRACE("nothing to do\n");
return E_FAIL; return S_OK;
} }