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
cd1abd68
Commit
cd1abd68
authored
Oct 30, 2013
by
Vincent Povirk
Committed by
Alexandre Julliard
Nov 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorer: Use StrRetToStrW to convert STRRET result.
parent
1202e9af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
explorer.c
programs/explorer/explorer.c
+2
-9
No files found.
programs/explorer/explorer.c
View file @
cd1abd68
...
...
@@ -118,20 +118,13 @@ static BOOL create_combobox_item(IShellFolder *folder, LPCITEMIDLIST pidl, IImag
HICON
icon
;
strret
.
uType
=
STRRET_WSTR
;
hres
=
IShellFolder_GetDisplayNameOf
(
folder
,
pidl
,
SHGDN_FORADDRESSBAR
,
&
strret
);
if
(
SUCCEEDED
(
hres
))
hres
=
StrRetToStrW
(
&
strret
,
pidl
,
&
item
->
pszText
);
if
(
FAILED
(
hres
))
{
WINE_WARN
(
"Could not get name for pidl
\n
"
);
return
FALSE
;
}
switch
(
strret
.
uType
)
{
case
STRRET_WSTR
:
item
->
pszText
=
strret
.
u
.
pOleStr
;
break
;
default:
WINE_FIXME
(
"Unimplemented STRRET type:%u
\n
"
,
strret
.
uType
);
break
;
}
hres
=
IShellFolder_GetUIObjectOf
(
folder
,
NULL
,
1
,
&
pidl
,
&
IID_IExtractIconW
,
&
reserved
,(
void
**
)
&
extract_icon
);
if
(
SUCCEEDED
(
hres
))
...
...
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