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:
parent
cf415c62ed
commit
349064216a
|
@ -5555,8 +5555,10 @@ static HRESULT WINAPI knownfolder_GetRedirectionCapabilities(
|
||||||
IKnownFolder *iface,
|
IKnownFolder *iface,
|
||||||
KF_REDIRECTION_CAPABILITIES *pCapabilities)
|
KF_REDIRECTION_CAPABILITIES *pCapabilities)
|
||||||
{
|
{
|
||||||
FIXME("%p\n", pCapabilities);
|
FIXME("%p stub\n", pCapabilities);
|
||||||
return E_NOTIMPL;
|
if(!pCapabilities) return E_INVALIDARG;
|
||||||
|
*pCapabilities = KF_REDIRECTION_CAPABILITIES_DENY_ALL;
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI knownfolder_GetFolderDefinition(
|
static HRESULT WINAPI knownfolder_GetFolderDefinition(
|
||||||
|
|
|
@ -2121,7 +2121,6 @@ static void test_knownFolders(void)
|
||||||
CoTaskMemFree(folderPath);
|
CoTaskMemFree(folderPath);
|
||||||
|
|
||||||
hr = IKnownFolder_GetRedirectionCapabilities(folder, &redirectionCapabilities);
|
hr = IKnownFolder_GetRedirectionCapabilities(folder, &redirectionCapabilities);
|
||||||
todo_wine
|
|
||||||
ok(hr == S_OK, "failed to get redirection capabilities: 0x%08x\n", hr);
|
ok(hr == S_OK, "failed to get redirection capabilities: 0x%08x\n", hr);
|
||||||
todo_wine
|
todo_wine
|
||||||
ok(redirectionCapabilities==0, "invalid redirection capabilities returned: %d\n", redirectionCapabilities);
|
ok(redirectionCapabilities==0, "invalid redirection capabilities returned: %d\n", redirectionCapabilities);
|
||||||
|
|
Loading…
Reference in New Issue