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
b9a8437d
Commit
b9a8437d
authored
Mar 24, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Use nameless unions.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1610c80a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Makefile.in
dlls/shell32/Makefile.in
+1
-1
shellole.c
dlls/shell32/shellole.c
+4
-4
No files found.
dlls/shell32/Makefile.in
View file @
b9a8437d
EXTRADEFS
=
-D_SHELL32_
-DWINE_NO_NAMELESS_EXTENSION
EXTRADEFS
=
-D_SHELL32_
MODULE
=
shell32.dll
IMPORTLIB
=
shell32
IMPORTS
=
uuid shlwapi user32 gdi32 advapi32
...
...
dlls/shell32/shellole.c
View file @
b9a8437d
...
...
@@ -718,7 +718,7 @@ HRESULT WINAPI SHPropStgCreate(IPropertySetStorage *psstg, REFFMTID fmtid,
if
(
FAILED
(
hres
)
||
ret
.
vt
!=
VT_I2
)
*
puCodePage
=
0
;
else
*
puCodePage
=
ret
.
u
.
iVal
;
*
puCodePage
=
ret
.
iVal
;
}
}
...
...
@@ -751,7 +751,7 @@ HRESULT WINAPI SHPropStgReadMultiple(IPropertyStorage *pps, UINT uCodePage,
if
(
FAILED
(
hres
)
||
ret
.
vt
!=
VT_I2
)
return
S_OK
;
uCodePage
=
ret
.
u
.
iVal
;
uCodePage
=
ret
.
iVal
;
}
hres
=
IPropertyStorage_Stat
(
pps
,
&
stat
);
...
...
@@ -789,10 +789,10 @@ HRESULT WINAPI SHPropStgWriteMultiple(IPropertyStorage *pps, UINT *uCodePage,
hres
=
IPropertyStorage_ReadMultiple
(
pps
,
1
,
&
prop
,
&
ret
);
if
(
FAILED
(
hres
))
return
hres
;
if
(
ret
.
vt
!=
VT_I2
||
!
ret
.
u
.
iVal
)
if
(
ret
.
vt
!=
VT_I2
||
!
ret
.
iVal
)
return
E_FAIL
;
codepage
=
ret
.
u
.
iVal
;
codepage
=
ret
.
iVal
;
if
(
uCodePage
)
*
uCodePage
=
codepage
;
}
...
...
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