Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
f63233d6
Commit
f63233d6
authored
Mar 22, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Mar 23, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Constify some variables.
parent
eafbf45f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
comctl32undoc.c
dlls/comctl32/comctl32undoc.c
+8
-8
No files found.
dlls/comctl32/comctl32undoc.c
View file @
f63233d6
...
...
@@ -380,7 +380,7 @@ void WINAPI FreeMRUList (HANDLE hMRUList)
INT
WINAPI
FindMRUData
(
HANDLE
hList
,
LPCVOID
lpData
,
DWORD
cbData
,
LPINT
lpRegNum
)
{
LPWINEMRULIST
mp
=
(
LPWINEMRULIST
)
hList
;
const
WINEMRULIST
*
mp
=
(
LPWINEMRULIST
)
hList
;
INT
ret
;
UINT
i
;
LPSTR
dataA
=
NULL
;
...
...
@@ -726,7 +726,7 @@ static HANDLE CreateMRUListLazy_common(LPWINEMRULIST mp)
*
* See CreateMRUListLazyA.
*/
HANDLE
WINAPI
CreateMRUListLazyW
(
LPCREATEMRULISTW
lpcml
,
DWORD
dwParam2
,
HANDLE
WINAPI
CreateMRUListLazyW
(
const
CREATEMRULISTW
*
lpcml
,
DWORD
dwParam2
,
DWORD
dwParam3
,
DWORD
dwParam4
)
{
LPWINEMRULIST
mp
;
...
...
@@ -760,7 +760,7 @@ HANDLE WINAPI CreateMRUListLazyW (LPCREATEMRULISTW lpcml, DWORD dwParam2,
* RETURNS
* Handle to MRU list.
*/
HANDLE
WINAPI
CreateMRUListLazyA
(
LPCREATEMRULISTA
lpcml
,
DWORD
dwParam2
,
HANDLE
WINAPI
CreateMRUListLazyA
(
const
CREATEMRULISTA
*
lpcml
,
DWORD
dwParam2
,
DWORD
dwParam3
,
DWORD
dwParam4
)
{
LPWINEMRULIST
mp
;
...
...
@@ -787,7 +787,7 @@ HANDLE WINAPI CreateMRUListLazyA (LPCREATEMRULISTA lpcml, DWORD dwParam2,
*
* See CreateMRUListA.
*/
HANDLE
WINAPI
CreateMRUListW
(
LPCREATEMRULISTW
lpcml
)
HANDLE
WINAPI
CreateMRUListW
(
const
CREATEMRULISTW
*
lpcml
)
{
return
CreateMRUListLazyW
(
lpcml
,
0
,
0
,
0
);
}
...
...
@@ -803,7 +803,7 @@ HANDLE WINAPI CreateMRUListW (LPCREATEMRULISTW lpcml)
* RETURNS
* Handle to MRU list.
*/
HANDLE
WINAPI
CreateMRUListA
(
LPCREATEMRULISTA
lpcml
)
HANDLE
WINAPI
CreateMRUListA
(
const
CREATEMRULISTA
*
lpcml
)
{
return
CreateMRUListLazyA
(
lpcml
,
0
,
0
,
0
);
}
...
...
@@ -830,8 +830,8 @@ HANDLE WINAPI CreateMRUListA (LPCREATEMRULISTA lpcml)
INT
WINAPI
EnumMRUListW
(
HANDLE
hList
,
INT
nItemPos
,
LPVOID
lpBuffer
,
DWORD
nBufferSize
)
{
LPWINEMRULIST
mp
=
(
LPWINEMRULIST
)
hList
;
LPWINEMRUITEM
witem
;
const
WINEMRULIST
*
mp
=
(
LPWINEMRULIST
)
hList
;
const
WINEMRUITEM
*
witem
;
INT
desired
,
datasize
;
if
(
nItemPos
>=
mp
->
cursize
)
return
-
1
;
...
...
@@ -855,7 +855,7 @@ INT WINAPI EnumMRUListW (HANDLE hList, INT nItemPos, LPVOID lpBuffer,
INT
WINAPI
EnumMRUListA
(
HANDLE
hList
,
INT
nItemPos
,
LPVOID
lpBuffer
,
DWORD
nBufferSize
)
{
LPWINEMRULIST
mp
=
(
LPWINEMRULIST
)
hList
;
const
WINEMRULIST
*
mp
=
(
LPWINEMRULIST
)
hList
;
LPWINEMRUITEM
witem
;
INT
desired
,
datasize
;
DWORD
lenA
;
...
...
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