Commit d98b83be authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

user32: Constify some variables.

parent 106dbd56
...@@ -723,7 +723,7 @@ static BOOL CALLBACK BUTTON_DrawTextCallback(HDC hdc, LPARAM lp, WPARAM wp, int ...@@ -723,7 +723,7 @@ static BOOL CALLBACK BUTTON_DrawTextCallback(HDC hdc, LPARAM lp, WPARAM wp, int
* *
* Common function for drawing button label. * Common function for drawing button label.
*/ */
static void BUTTON_DrawLabel(HWND hwnd, HDC hdc, UINT dtFlags, RECT *rc) static void BUTTON_DrawLabel(HWND hwnd, HDC hdc, UINT dtFlags, const RECT *rc)
{ {
DRAWSTATEPROC lpOutputProc = NULL; DRAWSTATEPROC lpOutputProc = NULL;
LPARAM lp; LPARAM lp;
......
...@@ -835,9 +835,9 @@ static void CBPaintText( ...@@ -835,9 +835,9 @@ static void CBPaintText(
* CBPaintBorder * CBPaintBorder
*/ */
static void CBPaintBorder( static void CBPaintBorder(
HWND hwnd, HWND hwnd,
LPHEADCOMBO lphc, const HEADCOMBO *lphc,
HDC hdc) HDC hdc)
{ {
RECT clientRect; RECT clientRect;
...@@ -1541,8 +1541,8 @@ static LRESULT COMBO_GetTextA( LPHEADCOMBO lphc, INT count, LPSTR buf ) ...@@ -1541,8 +1541,8 @@ static LRESULT COMBO_GetTextA( LPHEADCOMBO lphc, INT count, LPSTR buf )
*/ */
static void CBResetPos( static void CBResetPos(
LPHEADCOMBO lphc, LPHEADCOMBO lphc,
LPRECT rectEdit, const RECT *rectEdit,
LPRECT rectLB, const RECT *rectLB,
BOOL bRedraw) BOOL bRedraw)
{ {
BOOL bDrop = (CB_GETTYPE(lphc) != CBS_SIMPLE); BOOL bDrop = (CB_GETTYPE(lphc) != CBS_SIMPLE);
...@@ -1804,7 +1804,7 @@ static void COMBO_MouseMove( LPHEADCOMBO lphc, WPARAM wParam, LPARAM lParam ) ...@@ -1804,7 +1804,7 @@ static void COMBO_MouseMove( LPHEADCOMBO lphc, WPARAM wParam, LPARAM lParam )
} }
} }
static LRESULT COMBO_GetComboBoxInfo(LPHEADCOMBO lphc, COMBOBOXINFO *pcbi) static LRESULT COMBO_GetComboBoxInfo(const HEADCOMBO *lphc, COMBOBOXINFO *pcbi)
{ {
if (!pcbi || (pcbi->cbSize < sizeof(COMBOBOXINFO))) if (!pcbi || (pcbi->cbSize < sizeof(COMBOBOXINFO)))
return FALSE; return FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment