Author: janderwald
Date: Sat Jan 7 15:40:27 2012
New Revision: 54860
URL:
http://svn.reactos.org/svn/reactos?rev=54860&view=rev
Log:
[SHELL32]
- Check if querying shell details failed
Modified:
trunk/reactos/dll/win32/shell32/shlview.cpp
Modified: trunk/reactos/dll/win32/shell32/shlview.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shlview.…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shlview.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shlview.cpp [iso-8859-1] Sat Jan 7 15:40:27 2012
@@ -1682,7 +1682,12 @@
if (pSF2Parent)
{
SHELLDETAILS sd;
- pSF2Parent->GetDetailsOf(pidl, lpdi->item.iSubItem, &sd);
+ if (FAILED(pSF2Parent->GetDetailsOf(pidl, lpdi->item.iSubItem,
&sd)))
+ {
+ FIXME("failed to get details\n");
+ break;
+ }
+
if (lpnmh->code == LVN_GETDISPINFOA)
{
/* shouldn't happen */