Commit 5badc91a authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

shell32/ebrowser: Respond to IOleWindow from IExplorerBrowser.

parent 6eeb389d
...@@ -782,7 +782,8 @@ static HRESULT WINAPI IExplorerBrowser_fnQueryInterface(IExplorerBrowser *iface, ...@@ -782,7 +782,8 @@ static HRESULT WINAPI IExplorerBrowser_fnQueryInterface(IExplorerBrowser *iface,
{ {
*ppvObject = &This->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; *ppvObject = &This->IShellBrowser_iface;
} }
......
...@@ -575,7 +575,7 @@ static void test_QueryInterface(void) ...@@ -575,7 +575,7 @@ static void test_QueryInterface(void)
test_qinterface(IID_IUnknown, S_OK); test_qinterface(IID_IUnknown, S_OK);
test_qinterface(IID_IExplorerBrowser, S_OK); test_qinterface(IID_IExplorerBrowser, S_OK);
test_qinterface(IID_IShellBrowser, 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_ICommDlgBrowser, S_OK);
test_qinterface(IID_ICommDlgBrowser2, S_OK); test_qinterface(IID_ICommDlgBrowser2, S_OK);
test_qinterface(IID_ICommDlgBrowser3, S_OK); test_qinterface(IID_ICommDlgBrowser3, S_OK);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment