[FONTEXT] Return the correct error in GetDisplayNameOf

This commit is contained in:
Mark Jansen
2019-10-20 17:10:04 +02:00
parent 2ed4b3f780
commit 87fa11f54b
+1 -1
View File
@@ -291,7 +291,7 @@ STDMETHODIMP CFontExt::GetUIObjectOf(HWND hwndOwner, UINT cidl, PCUITEMID_CHILD_
STDMETHODIMP CFontExt::GetDisplayNameOf(PCUITEMID_CHILD pidl, DWORD dwFlags, LPSTRRET strRet)
{
if (!pidl)
return S_FALSE;
return E_NOTIMPL;
// Validate that this pidl is the last one
PCUIDLIST_RELATIVE curpidl = ILGetNext(pidl);