Author: tfaber
Date: Wed Mar 30 09:35:04 2016
New Revision: 71079
URL:
http://svn.reactos.org/svn/reactos?rev=71079&view=rev
Log:
[SHELL32]
- Treat psfgaoOut as optional in SHParseDisplayName. Patch by Sylvain Deverre.
CORE-10747
Modified:
trunk/reactos/dll/win32/shell32/wine/pidl.c
Modified: trunk/reactos/dll/win32/shell32/wine/pidl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/wine/pid…
==============================================================================
--- trunk/reactos/dll/win32/shell32/wine/pidl.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/wine/pidl.c [iso-8859-1] Wed Mar 30 09:35:04 2016
@@ -1338,7 +1338,7 @@
if(!ppidl)
return E_INVALIDARG;
- if (!pszName || !psfgaoOut)
+ if (!pszName)
{
*ppidl = NULL;
return E_INVALIDARG;
@@ -1356,9 +1356,13 @@
IShellFolder_Release(psfDesktop);
if (SUCCEEDED(hr))
- *psfgaoOut = dwAttr;
+ {
+ if (psfgaoOut) *psfgaoOut = dwAttr;
+ }
else
+ {
*ppidl = NULL;
+ }
return hr;
}