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
30dd37ed
Commit
30dd37ed
authored
Oct 19, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Cast-qual warnings fix.
parent
49e8797d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
comctl32undoc.c
dlls/comctl32/comctl32undoc.c
+6
-6
No files found.
dlls/comctl32/comctl32undoc.c
View file @
30dd37ed
...
...
@@ -174,7 +174,7 @@ DWORD WINAPI GetSize (LPVOID lpMem)
*| DWORD nMaxItems;
*| DWORD dwFlags;
*| HKEY hKey;
*| LP
CTSTR
lpszSubKey;
*| LP
TSTR
lpszSubKey;
*| PROC lpfnCompare;
*|} CREATEMRULIST, *LPCREATEMRULIST;
*
...
...
@@ -212,7 +212,7 @@ typedef struct tagCREATEMRULISTA
DWORD
nMaxItems
;
DWORD
dwFlags
;
HKEY
hKey
;
LP
CSTR
lpszSubKey
;
LP
STR
lpszSubKey
;
PROC
lpfnCompare
;
}
CREATEMRULISTA
,
*
LPCREATEMRULISTA
;
...
...
@@ -222,7 +222,7 @@ typedef struct tagCREATEMRULISTW
DWORD
nMaxItems
;
DWORD
dwFlags
;
HKEY
hKey
;
LP
CWSTR
lpszSubKey
;
LP
WSTR
lpszSubKey
;
PROC
lpfnCompare
;
}
CREATEMRULISTW
,
*
LPCREATEMRULISTW
;
...
...
@@ -357,7 +357,7 @@ void WINAPI FreeMRUList (HANDLE hMRUList)
}
Free
(
mp
->
realMRU
);
Free
(
mp
->
array
);
Free
(
(
LPWSTR
)
mp
->
extview
.
lpszSubKey
);
Free
(
mp
->
extview
.
lpszSubKey
);
Free
(
mp
);
}
...
...
@@ -742,7 +742,7 @@ HANDLE WINAPI CreateMRUListLazyW (LPCREATEMRULISTW lpcml, DWORD dwParam2,
mp
=
Alloc
(
sizeof
(
WINEMRULIST
));
memcpy
(
&
mp
->
extview
,
lpcml
,
sizeof
(
CREATEMRULISTW
));
mp
->
extview
.
lpszSubKey
=
Alloc
((
strlenW
(
lpcml
->
lpszSubKey
)
+
1
)
*
sizeof
(
WCHAR
));
strcpyW
(
(
LPWSTR
)
mp
->
extview
.
lpszSubKey
,
lpcml
->
lpszSubKey
);
strcpyW
(
mp
->
extview
.
lpszSubKey
,
lpcml
->
lpszSubKey
);
mp
->
isUnicode
=
TRUE
;
return
CreateMRUListLazy_common
(
mp
);
...
...
@@ -779,7 +779,7 @@ HANDLE WINAPI CreateMRUListLazyA (LPCREATEMRULISTA lpcml, DWORD dwParam2,
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
lpcml
->
lpszSubKey
,
-
1
,
NULL
,
0
);
mp
->
extview
.
lpszSubKey
=
Alloc
(
len
*
sizeof
(
WCHAR
));
MultiByteToWideChar
(
CP_ACP
,
0
,
lpcml
->
lpszSubKey
,
-
1
,
(
LPWSTR
)
mp
->
extview
.
lpszSubKey
,
len
);
mp
->
extview
.
lpszSubKey
,
len
);
mp
->
isUnicode
=
FALSE
;
return
CreateMRUListLazy_common
(
mp
);
}
...
...
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