Commit 92246095 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

shell32: Handle shell: urls internal in ParseDisplayName instead of passing them to shdocvw.

parent b44596ff
...@@ -187,6 +187,18 @@ static HRESULT WINAPI ISF_Desktop_fnParseDisplayName (IShellFolder2 * iface, ...@@ -187,6 +187,18 @@ static HRESULT WINAPI ISF_Desktop_fnParseDisplayName (IShellFolder2 * iface,
} }
else if (strchrW(lpszDisplayName,':')) else if (strchrW(lpszDisplayName,':'))
{ {
PARSEDURLW urldata;
urldata.cbSize = sizeof(urldata);
ParseURLW(lpszDisplayName,&urldata);
if (urldata.nScheme == URL_SCHEME_SHELL) /* handle shell: urls */
{
TRACE ("-- shell url: %s\n", debugstr_w(urldata.pszSuffix));
SHCLSIDFromStringW (urldata.pszSuffix+2, &clsid);
pidlTemp = _ILCreateGuid (PT_GUID, &clsid);
}
else
return IEParseDisplayNameWithBCW(CP_ACP,lpszDisplayName,pbc,ppidl); return IEParseDisplayNameWithBCW(CP_ACP,lpszDisplayName,pbc,ppidl);
} }
else else
......
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