comctl32: Constify some variables (1 of 12)
Andrew Talbot
Andrew.Talbot at talbotville.com
Sat Mar 31 11:42:01 CDT 2007
Changelog:
comctl32: Constify some variables.
diff -urN a/dlls/comctl32/animate.c b/dlls/comctl32/animate.c
--- a/dlls/comctl32/animate.c 2007-03-21 17:26:14.000000000 +0000
+++ b/dlls/comctl32/animate.c 2007-03-31 14:22:45.000000000 +0100
@@ -93,7 +93,7 @@
#define ANIMATE_COLOR_NONE 0xffffffff
-static void ANIMATE_Notify(ANIMATE_INFO *infoPtr, UINT notif)
+static void ANIMATE_Notify(const ANIMATE_INFO *infoPtr, UINT notif)
{
SendMessageW(infoPtr->hwndNotify, WM_COMMAND,
MAKEWPARAM(GetDlgCtrlID(infoPtr->hwndSelf), notif),
@@ -772,7 +772,7 @@
}
-static BOOL ANIMATE_Create(HWND hWnd, LPCREATESTRUCTW lpcs)
+static BOOL ANIMATE_Create(HWND hWnd, const CREATESTRUCTW *lpcs)
{
static const WCHAR msvfw32W[] = { 'm', 's', 'v', 'f', 'w', '3', '2', '.', 'd', 'l', 'l', 0 };
ANIMATE_INFO *infoPtr;
@@ -843,7 +843,7 @@
}
-static LRESULT ANIMATE_StyleChanged(ANIMATE_INFO *infoPtr, WPARAM wStyleType, LPSTYLESTRUCT lpss)
+static LRESULT ANIMATE_StyleChanged(ANIMATE_INFO *infoPtr, WPARAM wStyleType, const STYLESTRUCT *lpss)
{
TRACE("(styletype=%x, styleOld=0x%08x, styleNew=0x%08x)\n",
wStyleType, lpss->styleOld, lpss->styleNew);
More information about the wine-patches
mailing list