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

comctl32: Various const qualifier fixes.

parent f9ecd739
...@@ -183,15 +183,15 @@ DWORD WINAPI GetSize (LPVOID); ...@@ -183,15 +183,15 @@ DWORD WINAPI GetSize (LPVOID);
INT WINAPI Str_GetPtrA (LPCSTR, LPSTR, INT); INT WINAPI Str_GetPtrA (LPCSTR, LPSTR, INT);
INT WINAPI Str_GetPtrW (LPCWSTR, LPWSTR, INT); INT WINAPI Str_GetPtrW (LPCWSTR, LPWSTR, INT);
INT WINAPI DPA_GetPtrIndex (const HDPA, LPVOID); INT WINAPI DPA_GetPtrIndex (HDPA, LPCVOID);
BOOL WINAPI DPA_Grow (const HDPA, INT); BOOL WINAPI DPA_Grow (HDPA, INT);
#define DPAM_NOSORT 0x0001 #define DPAM_NOSORT 0x0001
#define DPAM_INSERT 0x0004 #define DPAM_INSERT 0x0004
#define DPAM_DELETE 0x0008 #define DPAM_DELETE 0x0008
typedef PVOID (CALLBACK *PFNDPAMERGE)(DWORD,PVOID,PVOID,LPARAM); typedef PVOID (CALLBACK *PFNDPAMERGE)(DWORD,PVOID,PVOID,LPARAM);
BOOL WINAPI DPA_Merge (const HDPA, const HDPA, DWORD, PFNDPACOMPARE, PFNDPAMERGE, LPARAM); BOOL WINAPI DPA_Merge (HDPA, HDPA, DWORD, PFNDPACOMPARE, PFNDPAMERGE, LPARAM);
#define DPA_GetPtrCount(hdpa) (*(INT*)(hdpa)) #define DPA_GetPtrCount(hdpa) (*(INT*)(hdpa))
......
...@@ -217,7 +217,7 @@ HRESULT WINAPI DPA_SaveStream (const HDPA hDpa, DPALOADPROC loadProc, ...@@ -217,7 +217,7 @@ HRESULT WINAPI DPA_SaveStream (const HDPA hDpa, DPALOADPROC loadProc,
* NOTES * NOTES
* No more information available yet! * No more information available yet!
*/ */
BOOL WINAPI DPA_Merge (const HDPA hdpa1, const HDPA hdpa2, DWORD dwFlags, BOOL WINAPI DPA_Merge (HDPA hdpa1, HDPA hdpa2, DWORD dwFlags,
PFNDPACOMPARE pfnCompare, PFNDPAMERGE pfnMerge, PFNDPACOMPARE pfnCompare, PFNDPAMERGE pfnMerge,
LPARAM lParam) LPARAM lParam)
{ {
...@@ -381,7 +381,7 @@ BOOL WINAPI DPA_Destroy (const HDPA hdpa) ...@@ -381,7 +381,7 @@ BOOL WINAPI DPA_Destroy (const HDPA hdpa)
* Success: TRUE * Success: TRUE
* Failure: FALSE * Failure: FALSE
*/ */
BOOL WINAPI DPA_Grow (const HDPA hdpa, INT nGrow) BOOL WINAPI DPA_Grow (HDPA hdpa, INT nGrow)
{ {
TRACE("(%p %d)\n", hdpa, nGrow); TRACE("(%p %d)\n", hdpa, nGrow);
...@@ -504,7 +504,7 @@ LPVOID WINAPI DPA_GetPtr (const HDPA hdpa, INT nIndex) ...@@ -504,7 +504,7 @@ LPVOID WINAPI DPA_GetPtr (const HDPA hdpa, INT nIndex)
* Success: index of the specified pointer * Success: index of the specified pointer
* Failure: -1 * Failure: -1
*/ */
INT WINAPI DPA_GetPtrIndex (const HDPA hdpa, LPVOID p) INT WINAPI DPA_GetPtrIndex (HDPA hdpa, LPCVOID p)
{ {
INT i; INT i;
......
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