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

comctl32: Constify some variables.

parent 307f39c0
...@@ -100,7 +100,7 @@ static void ANIMATE_Notify(ANIMATE_INFO *infoPtr, UINT notif) ...@@ -100,7 +100,7 @@ static void ANIMATE_Notify(ANIMATE_INFO *infoPtr, UINT notif)
(LPARAM)infoPtr->hwndSelf); (LPARAM)infoPtr->hwndSelf);
} }
static BOOL ANIMATE_LoadResW(ANIMATE_INFO *infoPtr, HINSTANCE hInst, LPWSTR lpName) static BOOL ANIMATE_LoadResW(ANIMATE_INFO *infoPtr, HINSTANCE hInst, LPCWSTR lpName)
{ {
static const WCHAR aviW[] = { 'A', 'V', 'I', 0 }; static const WCHAR aviW[] = { 'A', 'V', 'I', 0 };
HRSRC hrsrc; HRSRC hrsrc;
...@@ -217,7 +217,7 @@ static void ANIMATE_Free(ANIMATE_INFO *infoPtr) ...@@ -217,7 +217,7 @@ static void ANIMATE_Free(ANIMATE_INFO *infoPtr)
infoPtr->transparentColor = ANIMATE_COLOR_NONE; infoPtr->transparentColor = ANIMATE_COLOR_NONE;
} }
static void ANIMATE_TransparentBlt(ANIMATE_INFO *infoPtr, HDC hdcDest, HDC hdcSource) static void ANIMATE_TransparentBlt(ANIMATE_INFO const *infoPtr, HDC hdcDest, HDC hdcSource)
{ {
HDC hdcMask; HDC hdcMask;
HBITMAP hbmMask; HBITMAP hbmMask;
...@@ -251,8 +251,8 @@ static void ANIMATE_TransparentBlt(ANIMATE_INFO *infoPtr, HDC hdcDest, HDC hdcSo ...@@ -251,8 +251,8 @@ static void ANIMATE_TransparentBlt(ANIMATE_INFO *infoPtr, HDC hdcDest, HDC hdcSo
static BOOL ANIMATE_PaintFrame(ANIMATE_INFO* infoPtr, HDC hDC) static BOOL ANIMATE_PaintFrame(ANIMATE_INFO* infoPtr, HDC hDC)
{ {
void *pBitmapData; void const *pBitmapData;
LPBITMAPINFO pBitmapInfo; BITMAPINFO const *pBitmapInfo;
HDC hdcMem; HDC hdcMem;
HBITMAP hbmOld; HBITMAP hbmOld;
int nOffsetX = 0; int nOffsetX = 0;
...@@ -825,7 +825,7 @@ static LRESULT ANIMATE_Destroy(ANIMATE_INFO *infoPtr) ...@@ -825,7 +825,7 @@ static LRESULT ANIMATE_Destroy(ANIMATE_INFO *infoPtr)
} }
static BOOL ANIMATE_EraseBackground(ANIMATE_INFO *infoPtr, HDC hdc) static BOOL ANIMATE_EraseBackground(ANIMATE_INFO const *infoPtr, HDC hdc)
{ {
RECT rect; RECT rect;
HBRUSH hBrush = 0; HBRUSH hBrush = 0;
......
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