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
610fba75
Commit
610fba75
authored
Dec 27, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 28, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledlg: Remove some explicit WPARAM casts.
parent
9dd502a3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
insobjdlg.c
dlls/oledlg/insobjdlg.c
+4
-4
No files found.
dlls/oledlg/insobjdlg.c
View file @
610fba75
...
...
@@ -380,7 +380,7 @@ static BOOL UIINSERTOBJECTDLG_PopulateObjectTypes(InsertObjectDlgInfo* pdlgInfo)
*
lpclsid
=
clsid
;
len
=
SendMessageW
(
pdlgInfo
->
hwndObjTypeLB
,
LB_ADDSTRING
,
0
,
(
LPARAM
)
keydesc
);
SendMessageW
(
pdlgInfo
->
hwndObjTypeLB
,
LB_SETITEMDATA
,
(
WPARAM
)
len
,
(
LPARAM
)
lpclsid
);
SendMessageW
(
pdlgInfo
->
hwndObjTypeLB
,
LB_SETITEMDATA
,
len
,
(
LPARAM
)
lpclsid
);
}
}
...
...
@@ -426,7 +426,7 @@ static void UIINSERTOBJECTDLG_SelChange(InsertObjectDlgInfo* pdlgInfo)
if
(
LoadStringW
(
OLEDLG_hInstance
,
IDS_RESULTOBJDESC
,
resstr
,
MAX_PATH
)
&&
((
index
=
SendMessageW
(
pdlgInfo
->
hwndObjTypeLB
,
LB_GETCURSEL
,
0
,
0
))
>=
0
)
&&
SendMessageW
(
pdlgInfo
->
hwndObjTypeLB
,
LB_GETTEXT
,
(
WPARAM
)
index
,
(
LPARAM
)
objname
))
SendMessageW
(
pdlgInfo
->
hwndObjTypeLB
,
LB_GETTEXT
,
index
,
(
LPARAM
)
objname
))
wsprintfW
(
objdesc
,
resstr
,
objname
);
else
objdesc
[
0
]
=
0
;
...
...
@@ -452,7 +452,7 @@ static BOOL UIINSERTOBJECTDLG_OnOpen(InsertObjectDlgInfo* pdlgInfo)
if
(
index
>=
0
)
{
CLSID
*
clsid
=
(
CLSID
*
)
SendMessageA
(
pdlgInfo
->
hwndObjTypeLB
,
LB_GETITEMDATA
,
(
WPARAM
)
index
,
0
);
LB_GETITEMDATA
,
index
,
0
);
pdlgInfo
->
lpOleUIInsertObject
->
clsid
=
*
clsid
;
if
(
pdlgInfo
->
lpOleUIInsertObject
->
dwFlags
&
IOF_CREATENEWOBJECT
)
...
...
@@ -525,7 +525,7 @@ static void UIINSERTOBJECTDLG_BrowseFile(InsertObjectDlgInfo* pdlgInfo)
fn
.
nMaxCustFilter
=
0
;
fn
.
nFilterIndex
=
0
;
SendMessageA
(
pdlgInfo
->
hwndFileTB
,
WM_GETTEXT
,
(
WPARAM
)
MAX_PATH
,
(
LPARAM
)
fname
);
SendMessageA
(
pdlgInfo
->
hwndFileTB
,
WM_GETTEXT
,
MAX_PATH
,
(
LPARAM
)
fname
);
fn
.
lpstrFile
=
fname
;
fn
.
nMaxFile
=
MAX_PATH
;
...
...
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