mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
shell32: Stub IShellView2::SelectAndPositionItem() over IFolderView::SelectAndPositionItems().
This commit is contained in:
parent
04e527b31b
commit
072951e2f8
1 changed files with 19 additions and 3 deletions
|
@ -2111,10 +2111,26 @@ static HRESULT WINAPI IShellView2_fnHandleRename(IShellView2* iface, LPCITEMIDLI
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IShellView2_fnSelectAndPositionItem(IShellView2* iface, LPCITEMIDLIST item, UINT flags, POINT *point)
|
||||
static HRESULT WINAPI IShellView2_fnSelectAndPositionItem(
|
||||
IShellView2* iface,
|
||||
LPCITEMIDLIST item,
|
||||
UINT flags,
|
||||
POINT *point)
|
||||
{
|
||||
FIXME("(%p)->(item %p, flags %#x, point %p) stub!\n", iface, item, flags, point);
|
||||
return E_NOTIMPL;
|
||||
IShellViewImpl *This = (IShellViewImpl *)iface;
|
||||
IFolderView *view;
|
||||
HRESULT hr;
|
||||
|
||||
TRACE("(%p)->(item %p, flags %#x, point %p)\n", This, item, flags, point);
|
||||
|
||||
hr = IShellView2_QueryInterface(iface, &IID_IFolderView, (void**)&view);
|
||||
if (hr == S_OK)
|
||||
{
|
||||
hr = IFolderView_SelectAndPositionItems(view, 1, &item, point, flags);
|
||||
IFolderView_Release(view);
|
||||
}
|
||||
|
||||
return hr;
|
||||
}
|
||||
|
||||
static const IShellView2Vtbl svvt =
|
||||
|
|
Loading…
Reference in a new issue