Module: wine Branch: master Commit: a8e1ab6422f6028a260fafde40ddfdc24f334a61 URL: https://gitlab.winehq.org/wine/wine/-/commit/a8e1ab6422f6028a260fafde40ddfdc...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Tue Oct 4 11:11:04 2022 +0300
shell32: Improve FolderView2::GetViewModeAndIconSize() stub.
Signed-off-by: Dmitry Timoshkov dmitry@baikal.ru
---
dlls/shell32/shlview.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/dlls/shell32/shlview.c b/dlls/shell32/shlview.c index d6b917496c2..83fb206af52 100644 --- a/dlls/shell32/shlview.c +++ b/dlls/shell32/shlview.c @@ -3038,8 +3038,13 @@ static HRESULT WINAPI FolderView2_GetViewModeAndIconSize(IFolderView2 *iface, FO int *size) { IShellViewImpl *This = impl_from_IFolderView2(iface); + FIXME("(%p)->(%p %p), stub\n", This, mode, size); - return E_NOTIMPL; + + *size = 16; /* FIXME */ + *mode = This->FolderSettings.ViewMode; + + return S_OK; }
static HRESULT WINAPI FolderView2_SetGroupSubsetCount(IFolderView2 *iface, UINT visible_rows)