[FONTEXT] Return the correct error in GetDisplayNameOf

This commit is contained in:
Mark Jansen 2019-10-19 23:55:39 +02:00
parent 2ed4b3f780
commit 87fa11f54b
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

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);