[SHELL32] Allow creation of an empty CFileSysEnum

CORE-16908
This commit is contained in:
Mark Jansen 2020-05-19 20:35:52 +02:00
parent 4cbb21761c
commit 83a9f71690
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -460,8 +460,8 @@ public:
if (!sPathTarget || !sPathTarget[0])
{
FAILED_UNEXPECTEDLY(E_INVALIDARG);
return E_INVALIDARG;
WARN("No path for CFileSysEnum, empty result!\n");
return S_FALSE;
}
WCHAR szFindPattern[MAX_PATH];