https://git.reactos.org/?p=reactos.git;a=commitdiff;h=87fa11f54ba5453c97a72…
commit 87fa11f54ba5453c97a72daa0c58d58a8ed170dc
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Sat Oct 19 23:55:39 2019 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Oct 20 17:10:04 2019 +0200
[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);