shell32: Stub GetRedirectionCapabilities with S_OK.

Signed-off-by: Lucian Poston <lucian.poston@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Lucian Poston 2017-11-22 12:20:46 -08:00 committed by Alexandre Julliard
parent cf415c62ed
commit 349064216a
2 changed files with 4 additions and 3 deletions

View File

@ -5555,8 +5555,10 @@ static HRESULT WINAPI knownfolder_GetRedirectionCapabilities(
IKnownFolder *iface,
KF_REDIRECTION_CAPABILITIES *pCapabilities)
{
FIXME("%p\n", pCapabilities);
return E_NOTIMPL;
FIXME("%p stub\n", pCapabilities);
if(!pCapabilities) return E_INVALIDARG;
*pCapabilities = KF_REDIRECTION_CAPABILITIES_DENY_ALL;
return S_OK;
}
static HRESULT WINAPI knownfolder_GetFolderDefinition(

View File

@ -2121,7 +2121,6 @@ static void test_knownFolders(void)
CoTaskMemFree(folderPath);
hr = IKnownFolder_GetRedirectionCapabilities(folder, &redirectionCapabilities);
todo_wine
ok(hr == S_OK, "failed to get redirection capabilities: 0x%08x\n", hr);
todo_wine
ok(redirectionCapabilities==0, "invalid redirection capabilities returned: %d\n", redirectionCapabilities);