comdlg32: Constify some variables (3 of 3)

Andrew Talbot Andrew.Talbot at talbotville.com
Wed Apr 4 16:23:04 CDT 2007


Changelog:
    comdlg32: Constify some variables.

diff -urN a/dlls/comdlg32/filedlgbrowser.c b/dlls/comdlg32/filedlgbrowser.c
--- a/dlls/comdlg32/filedlgbrowser.c	2006-12-03 13:31:01.000000000 +0000
+++ b/dlls/comdlg32/filedlgbrowser.c	2007-04-04 21:17:44.000000000 +0100
@@ -76,7 +76,7 @@
 *   Local Prototypes
 */
 
-static HRESULT IShellBrowserImpl_ICommDlgBrowser_OnSelChange(ICommDlgBrowser *iface, IShellView *ppshv);
+static HRESULT IShellBrowserImpl_ICommDlgBrowser_OnSelChange(ICommDlgBrowser *iface, const IShellView *ppshv);
 
 /*
  *   Helper functions
@@ -125,7 +125,7 @@
     }
 }
 
-static void COMDLG32_UpdateCurrentDir(FileOpenDlgInfos *fodInfos)
+static void COMDLG32_UpdateCurrentDir(const FileOpenDlgInfos *fodInfos)
 {
     LPSHELLFOLDER psfDesktop;
     STRRET strret;
@@ -895,7 +895,7 @@
 /**************************************************************************
 *  IShellBrowserImpl_ICommDlgBrowser_OnSelChange
 */
-static HRESULT IShellBrowserImpl_ICommDlgBrowser_OnSelChange(ICommDlgBrowser *iface, IShellView *ppshv)
+static HRESULT IShellBrowserImpl_ICommDlgBrowser_OnSelChange(ICommDlgBrowser *iface, const IShellView *ppshv)
 {
     FileOpenDlgInfos *fodInfos;
 



More information about the wine-patches mailing list