Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b898f8dd
Commit
b898f8dd
authored
Jun 03, 2009
by
Andrew Talbot
Committed by
Alexandre Julliard
Jun 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Various const qualifier fixes.
parent
f9ecd739
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
comctl32.h
dlls/comctl32/comctl32.h
+3
-3
dpa.c
dlls/comctl32/dpa.c
+3
-3
No files found.
dlls/comctl32/comctl32.h
View file @
b898f8dd
...
@@ -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
,
LP
VOID
);
INT
WINAPI
DPA_GetPtrIndex
(
HDPA
,
LPC
VOID
);
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))
...
...
dlls/comctl32/dpa.c
View file @
b898f8dd
...
@@ -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
,
LP
VOID
p
)
INT
WINAPI
DPA_GetPtrIndex
(
HDPA
hdpa
,
LPC
VOID
p
)
{
{
INT
i
;
INT
i
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment