comctl32: Constify some variables.

This commit is contained in:
Andrew Talbot 2007-04-02 17:49:44 +01:00 committed by Alexandre Julliard
parent 8366dd1703
commit 13cd63af43
2 changed files with 6 additions and 6 deletions

View File

@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(themingcombo);
#define EDIT_CONTROL_PADDING 1 #define EDIT_CONTROL_PADDING 1
/* paint text of combobox, needed for read-only drop downs. */ /* paint text of combobox, needed for read-only drop downs. */
static void paint_text (HWND hwnd, HDC hdc, DWORD dwStyle, COMBOBOXINFO* cbi) static void paint_text (HWND hwnd, HDC hdc, DWORD dwStyle, const COMBOBOXINFO *cbi)
{ {
INT id, size = 0; INT id, size = 0;
LPWSTR pText = NULL; LPWSTR pText = NULL;

View File

@ -435,7 +435,7 @@ TOOLTIPS_GetTipText (HWND hwnd, TOOLTIPS_INFO *infoPtr, INT nTool)
static void static void
TOOLTIPS_CalcTipSize (HWND hwnd, TOOLTIPS_INFO *infoPtr, LPSIZE lpSize) TOOLTIPS_CalcTipSize (HWND hwnd, const TOOLTIPS_INFO *infoPtr, LPSIZE lpSize)
{ {
HDC hdc; HDC hdc;
HFONT hOldFont; HFONT hOldFont;
@ -816,7 +816,7 @@ TOOLTIPS_TrackShow (HWND hwnd, TOOLTIPS_INFO *infoPtr)
static void static void
TOOLTIPS_TrackHide (HWND hwnd, TOOLTIPS_INFO *infoPtr) TOOLTIPS_TrackHide (HWND hwnd, const TOOLTIPS_INFO *infoPtr)
{ {
TTTOOL_INFO *toolPtr; TTTOOL_INFO *toolPtr;
NMHDR hdr; NMHDR hdr;
@ -840,7 +840,7 @@ TOOLTIPS_TrackHide (HWND hwnd, TOOLTIPS_INFO *infoPtr)
static INT static INT
TOOLTIPS_GetToolFromInfoA (TOOLTIPS_INFO *infoPtr, LPTTTOOLINFOA lpToolInfo) TOOLTIPS_GetToolFromInfoA (const TOOLTIPS_INFO *infoPtr, const TTTOOLINFOA *lpToolInfo)
{ {
TTTOOL_INFO *toolPtr; TTTOOL_INFO *toolPtr;
INT nTool; INT nTool;
@ -867,7 +867,7 @@ TOOLTIPS_GetToolFromInfoA (TOOLTIPS_INFO *infoPtr, LPTTTOOLINFOA lpToolInfo)
static INT static INT
TOOLTIPS_GetToolFromInfoW (TOOLTIPS_INFO *infoPtr, LPTTTOOLINFOW lpToolInfo) TOOLTIPS_GetToolFromInfoW (const TOOLTIPS_INFO *infoPtr, const TTTOOLINFOW *lpToolInfo)
{ {
TTTOOL_INFO *toolPtr; TTTOOL_INFO *toolPtr;
INT nTool; INT nTool;
@ -894,7 +894,7 @@ TOOLTIPS_GetToolFromInfoW (TOOLTIPS_INFO *infoPtr, LPTTTOOLINFOW lpToolInfo)
static INT static INT
TOOLTIPS_GetToolFromPoint (TOOLTIPS_INFO *infoPtr, HWND hwnd, LPPOINT lpPt) TOOLTIPS_GetToolFromPoint (const TOOLTIPS_INFO *infoPtr, HWND hwnd, const POINT *lpPt)
{ {
TTTOOL_INFO *toolPtr; TTTOOL_INFO *toolPtr;
INT nTool; INT nTool;