From 87fa11f54ba5453c97a72daa0c58d58a8ed170dc Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Sat, 19 Oct 2019 23:55:39 +0200 Subject: [PATCH] [FONTEXT] Return the correct error in GetDisplayNameOf --- dll/shellext/fontext/CFontExt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/shellext/fontext/CFontExt.cpp b/dll/shellext/fontext/CFontExt.cpp index 298c6b84c9f..de502a43fdb 100644 --- a/dll/shellext/fontext/CFontExt.cpp +++ b/dll/shellext/fontext/CFontExt.cpp @@ -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); -- 2.17.1