[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-patches
Subject:    comctl32: Constify some variables (2 of 2)
From:       Andrew Talbot <andrew.talbot () talbotville ! com>
Date:       2010-07-31 21:54:06
Message-ID: 201007312254.06676.andrew.talbot () talbotville ! com
[Download RAW message or body]

Changelog:
    comctl32: Constify some variables.

diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index 4e13577..efc200f 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -3704,7 +3704,9 @@ static LRESULT LISTVIEW_MouseHover(LISTVIEW_INFO *infoPtr, INT \
                x, INT y)
  * RETURN:
  *   None.
  */
-static void LISTVIEW_MarqueeHighlight(LISTVIEW_INFO *infoPtr, LPPOINT coords_orig, \
LPPOINT coords_offs, LPPOINT offset, INT scroll) +static void \
LISTVIEW_MarqueeHighlight(LISTVIEW_INFO *infoPtr, const POINT *coords_orig, +         \
const POINT *coords_offs, const POINT *offset, +                                      \
INT scroll)  {
     BOOL controlDown = FALSE;
     LVITEMW item;
@@ -8677,7 +8679,7 @@ static BOOL LISTVIEW_SetItemCount(LISTVIEW_INFO *infoPtr, INT \
                nItems, DWORD dwFl
  *   SUCCESS : TRUE
  *   FAILURE : FALSE
  */
-static BOOL LISTVIEW_SetItemPosition(LISTVIEW_INFO *infoPtr, INT nItem, POINT *pt)
+static BOOL LISTVIEW_SetItemPosition(LISTVIEW_INFO *infoPtr, INT nItem, const POINT \
*pt)  {
     POINT Origin, Pt;
 
diff --git a/dlls/comctl32/rebar.c b/dlls/comctl32/rebar.c
index c254e34..354ab66 100644
--- a/dlls/comctl32/rebar.c
+++ b/dlls/comctl32/rebar.c
@@ -2397,7 +2397,7 @@ REBAR_IdToIndex (const REBAR_INFO *infoPtr, UINT uId)
 
 
 static LRESULT
-REBAR_InsertBandT(REBAR_INFO *infoPtr, INT iIndex, LPREBARBANDINFOW lprbbi, BOOL \
bUnicode) +REBAR_InsertBandT(REBAR_INFO *infoPtr, INT iIndex, const REBARBANDINFOW \
*lprbbi, BOOL bUnicode)  {
     REBAR_BAND *lpBand;
 
@@ -2613,7 +2613,7 @@ REBAR_strdifW( LPCWSTR a, LPCWSTR b )
 }
 
 static LRESULT
-REBAR_SetBandInfoT(REBAR_INFO *infoPtr, INT iBand, LPREBARBANDINFOW lprbbi, BOOL \
bUnicode) +REBAR_SetBandInfoT(REBAR_INFO *infoPtr, INT iBand, const REBARBANDINFOW \
*lprbbi, BOOL bUnicode)  {
     REBAR_BAND *lpBand;
     UINT uChanged;
@@ -3126,7 +3126,7 @@ REBAR_NCCalcSize (const REBAR_INFO *infoPtr, RECT *rect)
 
 
 static LRESULT
-REBAR_NCCreate (HWND hwnd, LPCREATESTRUCTW cs)
+REBAR_NCCreate (HWND hwnd, const CREATESTRUCTW *cs)
 {
     REBAR_INFO *infoPtr = REBAR_GetInfoPtr (hwnd);
     RECT wnrc1, clrc1;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic