[PATCH] shell32: Implement knownfolder_GetRedirectionCapabilities somewhat

Enrico Horn farmboy0 at googlemail.com
Mon Jan 23 14:10:31 CST 2017


This is the one thing missing to get the config app for Temple+, a
Temple of Elemental Evil Mod, starting.
---
 dlls/shell32/shellpath.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c
index 92306239db7..3c44ecb393a 100644
--- a/dlls/shell32/shellpath.c
+++ b/dlls/shell32/shellpath.c
@@ -5396,8 +5396,9 @@ static HRESULT WINAPI knownfolder_GetRedirectionCapabilities(
     IKnownFolder *iface,
     KF_REDIRECTION_CAPABILITIES *pCapabilities)
 {
-    FIXME("%p\n", pCapabilities);
-    return E_NOTIMPL;
+    FIXME("%p - always denied\n", pCapabilities);
+    *pCapabilities = KF_REDIRECTION_CAPABILITIES_DENY_ALL;
+    return S_OK;
 }
 
 static HRESULT WINAPI knownfolder_GetFolderDefinition(
-- 
2.11.0




More information about the wine-patches mailing list