shell32: Implement IShellFolderView::QuerySupport no-op method.
This commit is contained in:
parent
9958b80e9d
commit
01ebc66535
|
@ -3188,8 +3188,8 @@ static HRESULT WINAPI IShellFolderView_fnQuerySupport(
|
||||||
UINT *support)
|
UINT *support)
|
||||||
{
|
{
|
||||||
IShellViewImpl *This = impl_from_IShellFolderView(iface);
|
IShellViewImpl *This = impl_from_IShellFolderView(iface);
|
||||||
FIXME("(%p)->(%p) stub\n", This, support);
|
TRACE("(%p)->(%p)\n", This, support);
|
||||||
return E_NOTIMPL;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IShellFolderView_fnSetAutomationObject(
|
static HRESULT WINAPI IShellFolderView_fnSetAutomationObject(
|
||||||
|
|
|
@ -547,6 +547,7 @@ static void test_IShellFolderView(void)
|
||||||
IShellFolderView *folderview;
|
IShellFolderView *folderview;
|
||||||
IShellFolder *desktop;
|
IShellFolder *desktop;
|
||||||
IShellView *view;
|
IShellView *view;
|
||||||
|
UINT i;
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
||||||
hr = SHGetDesktopFolder(&desktop);
|
hr = SHGetDesktopFolder(&desktop);
|
||||||
|
@ -572,6 +573,14 @@ static void test_IShellFolderView(void)
|
||||||
hr = IShellFolderView_SetRedraw(folderview, TRUE);
|
hr = IShellFolderView_SetRedraw(folderview, TRUE);
|
||||||
ok(hr == S_OK, "got (0x%08x)\n", hr);
|
ok(hr == S_OK, "got (0x%08x)\n", hr);
|
||||||
|
|
||||||
|
/* ::QuerySupport */
|
||||||
|
hr = IShellFolderView_QuerySupport(folderview, NULL);
|
||||||
|
ok(hr == S_OK, "got (0x%08x)\n", hr);
|
||||||
|
i = 0xdeadbeef;
|
||||||
|
hr = IShellFolderView_QuerySupport(folderview, &i);
|
||||||
|
ok(hr == S_OK, "got (0x%08x)\n", hr);
|
||||||
|
ok(i == 0xdeadbeef, "got %d\n", i);
|
||||||
|
|
||||||
IShellFolderView_Release(folderview);
|
IShellFolderView_Release(folderview);
|
||||||
|
|
||||||
IShellView_Release(view);
|
IShellView_Release(view);
|
||||||
|
|
Loading…
Reference in New Issue