Jay Yang : shell32: Make IExplorerBrowser respond to CWM_GETISHELLBROWSER.
Alexandre Julliard
julliard at winehq.org
Tue Jul 12 13:47:10 CDT 2011
Module: wine
Branch: master
Commit: 481dcb4b4bc8c8fbdb27cd0b1f482a60ee34d3c7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=481dcb4b4bc8c8fbdb27cd0b1f482a60ee34d3c7
Author: Jay Yang <jkelleyy at gmail.com>
Date: Mon Jul 11 17:35:31 2011 -0400
shell32: Make IExplorerBrowser respond to CWM_GETISHELLBROWSER.
---
dlls/shell32/ebrowser.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/ebrowser.c b/dlls/shell32/ebrowser.c
index aee1804..f398228 100644
--- a/dlls/shell32/ebrowser.c
+++ b/dlls/shell32/ebrowser.c
@@ -743,6 +743,11 @@ static LRESULT main_on_wm_size(ExplorerBrowserImpl *This)
return TRUE;
}
+static LRESULT main_on_cwm_getishellbrowser(ExplorerBrowserImpl *This)
+{
+ return (LRESULT)&This->IShellBrowser_iface;
+}
+
static LRESULT CALLBACK main_wndproc(HWND hWnd, UINT uMessage, WPARAM wParam, LPARAM lParam)
{
ExplorerBrowserImpl *This = (ExplorerBrowserImpl*)GetWindowLongPtrW(hWnd, GWLP_USERDATA);
@@ -751,6 +756,7 @@ static LRESULT CALLBACK main_wndproc(HWND hWnd, UINT uMessage, WPARAM wParam, LP
{
case WM_CREATE: return main_on_wm_create(hWnd, (CREATESTRUCTW*)lParam);
case WM_SIZE: return main_on_wm_size(This);
+ case CWM_GETISHELLBROWSER: return main_on_cwm_getishellbrowser(This);
default: return DefWindowProcW(hWnd, uMessage, wParam, lParam);
}
More information about the wine-cvs
mailing list