Commit 2bc66dc0 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

oleaut32: Added proxy/stub for BindType.

parent a1b07525
...@@ -1515,23 +1515,41 @@ HRESULT __RPC_STUB ITypeComp_Bind_Stub( ...@@ -1515,23 +1515,41 @@ HRESULT __RPC_STUB ITypeComp_Bind_Stub(
HRESULT CALLBACK ITypeComp_BindType_Proxy( HRESULT CALLBACK ITypeComp_BindType_Proxy(
ITypeComp* This, ITypeComp* This,
LPOLESTR szName, LPOLESTR name,
ULONG lHashVal, ULONG lHashVal,
ITypeInfo** ppTInfo, ITypeInfo **ti,
ITypeComp** ppTComp) ITypeComp **typecomp)
{ {
FIXME("not implemented\n"); HRESULT hr;
return E_FAIL;
TRACE("(%p, %s, %#x, %p, %p)\n", This, debugstr_w(name), lHashVal, ti, typecomp);
hr = ITypeComp_RemoteBindType_Proxy(This, name, lHashVal, ti);
if (hr == S_OK)
ITypeInfo_GetTypeComp(*ti, typecomp);
else if (typecomp)
*typecomp = NULL;
return hr;
} }
HRESULT __RPC_STUB ITypeComp_BindType_Stub( HRESULT __RPC_STUB ITypeComp_BindType_Stub(
ITypeComp* This, ITypeComp* This,
LPOLESTR szName, LPOLESTR name,
ULONG lHashVal, ULONG lHashVal,
ITypeInfo** ppTInfo) ITypeInfo **ti)
{ {
FIXME("not implemented\n"); ITypeComp *typecomp = NULL;
return E_FAIL; HRESULT hr;
TRACE("(%p, %s, %#x, %p)\n", This, debugstr_w(name), lHashVal, ti);
hr = ITypeComp_BindType(This, name, lHashVal, ti, &typecomp);
if (typecomp)
ITypeComp_Release(typecomp);
return hr;
} }
/* ITypeInfo */ /* ITypeInfo */
......
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