shlwapi: Return E_NOTIMPL for unknown types in StrRetToBuf{A,W}.
Sebastian Lackner
sebastian at fds-team.de
Tue Sep 13 16:20:28 CDT 2016
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---
./dlls/shlwapi/string.c:1512:6: warning: Returning type 'int' in function with HRESULT return type [wine-hresult-check]
return FALSE;
^
./dlls/shlwapi/string.c:1562:6: warning: Returning type 'int' in function with HRESULT return type [wine-hresult-check]
return FALSE;
^
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 4d77c3f..8c4cb71 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;
}
--
2.9.0
More information about the wine-patches
mailing list