explorerframe: Constify some variables
Andrew Talbot
andrew.talbot at talbotville.com
Sat Oct 2 13:41:04 CDT 2010
Changelog:
explorerframe: Constify some variables.
diff --git a/dlls/explorerframe/explorerframe_main.c b/dlls/explorerframe/explorerframe_main.c
index dd3c0cf..cc535e7 100644
--- a/dlls/explorerframe/explorerframe_main.c
+++ b/dlls/explorerframe/explorerframe_main.c
@@ -211,7 +211,7 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv)
/*************************************************************************
* Register/Unregister DLL, based on shdocvw/factory.c
*/
-static HRESULT reg_install(LPCSTR section, STRTABLEA *strtable)
+static HRESULT reg_install(LPCSTR section, const STRTABLEA *strtable)
{
HRESULT (WINAPI *pRegInstall)(HMODULE hm, LPCSTR pszSection, const STRTABLEA* pstTable);
HMODULE hadvpack;
diff --git a/dlls/explorerframe/nstc.c b/dlls/explorerframe/nstc.c
index 02633b0..6ae1458 100644
--- a/dlls/explorerframe/nstc.c
+++ b/dlls/explorerframe/nstc.c
@@ -422,7 +422,7 @@ static void collapse_all(NSTC2Impl *This, HTREEITEM node)
if(next) collapse_all(This, next);
}
-static HTREEITEM treeitem_from_point(NSTC2Impl *This, POINT *pt, UINT *hitflag)
+static HTREEITEM treeitem_from_point(NSTC2Impl *This, const POINT *pt, UINT *hitflag)
{
TVHITTESTINFO tviht;
tviht.pt.x = pt->x;
More information about the wine-patches
mailing list