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(
HRESULT CALLBACK ITypeComp_BindType_Proxy(
ITypeComp* This,
LPOLESTR szName,
LPOLESTR name,
ULONG lHashVal,
ITypeInfo** ppTInfo,
ITypeComp** ppTComp)
ITypeInfo **ti,
ITypeComp **typecomp)
{
FIXME("not implemented\n");
return E_FAIL;
HRESULT hr;
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(
ITypeComp* This,
LPOLESTR szName,
LPOLESTR name,
ULONG lHashVal,
ITypeInfo** ppTInfo)
ITypeInfo **ti)
{
FIXME("not implemented\n");
return E_FAIL;
ITypeComp *typecomp = NULL;
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 */
......
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