[SHELL32] Mark an unexpected failure as unexpected

This commit is contained in:
Mark Jansen 2019-10-20 00:42:16 +02:00
parent 2318bda651
commit f9d3c2c608
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -1190,7 +1190,7 @@ CFileDefExt::Initialize(PCIDLIST_ABSOLUTE pidlFolder, IDataObject *pDataObj, HKE
format.tymed = TYMED_HGLOBAL;
hr = pDataObj->GetData(&format, &stgm);
if (FAILED(hr))
if (FAILED_UNEXPECTEDLY(hr))
return hr;
if (!DragQueryFileW((HDROP)stgm.hGlobal, 0, m_wszPath, _countof(m_wszPath)))