mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-07 10:24:18 +00:00
shell32/ebrowser: Respond to IOleWindow from IExplorerBrowser.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6eeb389d15
commit
5badc91a0f
|
@ -782,7 +782,8 @@ static HRESULT WINAPI IExplorerBrowser_fnQueryInterface(IExplorerBrowser *iface,
|
|||
{
|
||||
*ppvObject = &This->IExplorerBrowser_iface;
|
||||
}
|
||||
else if(IsEqualIID(riid, &IID_IShellBrowser))
|
||||
else if(IsEqualIID(riid, &IID_IShellBrowser) ||
|
||||
IsEqualIID(riid, &IID_IOleWindow))
|
||||
{
|
||||
*ppvObject = &This->IShellBrowser_iface;
|
||||
}
|
||||
|
|
|
@ -575,7 +575,7 @@ static void test_QueryInterface(void)
|
|||
test_qinterface(IID_IUnknown, S_OK);
|
||||
test_qinterface(IID_IExplorerBrowser, S_OK);
|
||||
test_qinterface(IID_IShellBrowser, S_OK);
|
||||
todo_wine test_qinterface(IID_IOleWindow, S_OK);
|
||||
test_qinterface(IID_IOleWindow, S_OK);
|
||||
test_qinterface(IID_ICommDlgBrowser, S_OK);
|
||||
test_qinterface(IID_ICommDlgBrowser2, S_OK);
|
||||
test_qinterface(IID_ICommDlgBrowser3, S_OK);
|
||||
|
|
Loading…
Reference in a new issue