mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +00:00
[FONTEXT] Return the correct error in GetDisplayNameOf
This commit is contained in:
parent
2ed4b3f780
commit
87fa11f54b
|
@ -291,7 +291,7 @@ STDMETHODIMP CFontExt::GetUIObjectOf(HWND hwndOwner, UINT cidl, PCUITEMID_CHILD_
|
||||||
STDMETHODIMP CFontExt::GetDisplayNameOf(PCUITEMID_CHILD pidl, DWORD dwFlags, LPSTRRET strRet)
|
STDMETHODIMP CFontExt::GetDisplayNameOf(PCUITEMID_CHILD pidl, DWORD dwFlags, LPSTRRET strRet)
|
||||||
{
|
{
|
||||||
if (!pidl)
|
if (!pidl)
|
||||||
return S_FALSE;
|
return E_NOTIMPL;
|
||||||
|
|
||||||
// Validate that this pidl is the last one
|
// Validate that this pidl is the last one
|
||||||
PCUIDLIST_RELATIVE curpidl = ILGetNext(pidl);
|
PCUIDLIST_RELATIVE curpidl = ILGetNext(pidl);
|
||||||
|
|
Loading…
Reference in a new issue