Commit 43319717 authored by Michael Jung's avatar Michael Jung Committed by Alexandre Julliard

Fail in SHGetDataFromIDList when called on special folder.

parent 8b87bdd7
......@@ -1113,7 +1113,7 @@ HRESULT WINAPI SHGetDataFromIDListA(LPSHELLFOLDER psf, LPCITEMIDLIST pidl,
case SHGDFIL_FINDDATA:
pfd = dest;
if (_ILIsDrive(pidl))
if (_ILIsDrive(pidl) || _ILIsSpecialFolder(pidl))
return E_INVALIDARG;
if (len < sizeof(WIN32_FIND_DATAA))
......
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