ole32: Implement ParseDisplayName() for class moniker.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
04439b7cfc
commit
7013f068f3
|
@ -512,18 +512,21 @@ static HRESULT WINAPI ClassMoniker_GetDisplayName(IMoniker *iface,
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
static HRESULT WINAPI ClassMoniker_ParseDisplayName(IMoniker *iface, IBindCtx *pbc,
|
||||||
* ClassMoniker_ParseDisplayName
|
IMoniker *pmkToLeft, LPOLESTR display_name, ULONG *eaten, IMoniker **result)
|
||||||
******************************************************************************/
|
|
||||||
static HRESULT WINAPI ClassMoniker_ParseDisplayName(IMoniker* iface,
|
|
||||||
IBindCtx* pbc,
|
|
||||||
IMoniker* pmkToLeft,
|
|
||||||
LPOLESTR pszDisplayName,
|
|
||||||
ULONG* pchEaten,
|
|
||||||
IMoniker** ppmkOut)
|
|
||||||
{
|
{
|
||||||
FIXME("(%p, %p, %s, %p, %p)\n", pbc, pmkToLeft, debugstr_w(pszDisplayName), pchEaten, ppmkOut);
|
IParseDisplayName *parser;
|
||||||
return E_NOTIMPL;
|
HRESULT hr;
|
||||||
|
|
||||||
|
TRACE("%p, %p, %p, %s, %p, %p\n", iface, pbc, pmkToLeft, debugstr_w(display_name), eaten, result);
|
||||||
|
|
||||||
|
if (SUCCEEDED(hr = IMoniker_BindToObject(iface, pbc, pmkToLeft, &IID_IParseDisplayName, (void **)&parser)))
|
||||||
|
{
|
||||||
|
hr = IParseDisplayName_ParseDisplayName(parser, pbc, display_name, eaten, result);
|
||||||
|
IParseDisplayName_Release(parser);
|
||||||
|
}
|
||||||
|
|
||||||
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
Loading…
Reference in New Issue