From 0198d0d56a47e22d7d08c72ffb262183e57b2070 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Tue, 13 Sep 2016 23:20:28 +0200 Subject: [PATCH] shlwapi: Return E_NOTIMPL for unknown types in StrRetToBuf{A,W}. Signed-off-by: Sebastian Lackner Signed-off-by: Alexandre Julliard --- dlls/shlwapi/string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/shlwapi/string.c b/dlls/shlwapi/string.c index 4d77c3f2e99..8c4cb711ea5 100644 --- a/dlls/shlwapi/string.c +++ b/dlls/shlwapi/string.c @@ -1509,7 +1509,7 @@ HRESULT WINAPI StrRetToBufA (LPSTRRET src, const ITEMIDLIST *pidl, LPSTR dest, U default: FIXME("unknown type!\n"); - return FALSE; + return E_NOTIMPL; } return S_OK; } @@ -1559,7 +1559,7 @@ HRESULT WINAPI StrRetToBufW (LPSTRRET src, const ITEMIDLIST *pidl, LPWSTR dest, default: FIXME("unknown type!\n"); - return FALSE; + return E_NOTIMPL; } return S_OK; }