Commit 7013f068 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

ole32: Implement ParseDisplayName() for class moniker.

parent 04439b7c
...@@ -512,18 +512,21 @@ static HRESULT WINAPI ClassMoniker_GetDisplayName(IMoniker *iface, ...@@ -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, IParseDisplayName *parser;
IBindCtx* pbc, HRESULT hr;
IMoniker* pmkToLeft,
LPOLESTR pszDisplayName, TRACE("%p, %p, %p, %s, %p, %p\n", iface, pbc, pmkToLeft, debugstr_w(display_name), eaten, result);
ULONG* pchEaten,
IMoniker** ppmkOut) if (SUCCEEDED(hr = IMoniker_BindToObject(iface, pbc, pmkToLeft, &IID_IParseDisplayName, (void **)&parser)))
{ {
FIXME("(%p, %p, %s, %p, %p)\n", pbc, pmkToLeft, debugstr_w(pszDisplayName), pchEaten, ppmkOut); hr = IParseDisplayName_ParseDisplayName(parser, pbc, display_name, eaten, result);
return E_NOTIMPL; IParseDisplayName_Release(parser);
}
return hr;
} }
/****************************************************************************** /******************************************************************************
......
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