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
021850c0
Commit
021850c0
authored
Jul 26, 2008
by
Owen Rudge
Committed by
Alexandre Julliard
Jul 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winefile: Fix absolute pidl conversion for non-filesystem shell objects.
parent
2b287a44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
winefile.c
programs/winefile/winefile.c
+6
-12
No files found.
programs/winefile/winefile.c
View file @
021850c0
...
...
@@ -867,20 +867,14 @@ static LPITEMIDLIST get_path_pidl(LPTSTR path, HWND hwnd)
static
LPITEMIDLIST
get_to_absolute_pidl
(
Entry
*
entry
,
HWND
hwnd
)
{
if
(
entry
->
up
&&
entry
->
up
->
etype
==
ET_SHELL
)
{
IShellFolder
*
folder
=
entry
->
up
->
folder
;
WCHAR
buffer
[
MAX_PATH
];
LPITEMIDLIST
idl
=
NULL
;
HRESULT
hr
=
path_from_pidlW
(
folder
,
entry
->
pidl
,
buffer
,
MAX_PATH
);
if
(
SUCCEEDED
(
hr
))
{
LPITEMIDLIST
pidl
;
ULONG
len
;
hr
=
IShellFolder_ParseDisplayName
(
Globals
.
iDesktop
,
hwnd
,
NULL
,
buffer
,
&
len
,
&
pidl
,
NULL
);
if
(
SUCCEEDED
(
hr
))
return
pidl
;
while
(
entry
->
up
)
{
idl
=
ILCombine
(
ILClone
(
entry
->
pidl
),
idl
);
entry
=
entry
->
up
;
}
return
idl
;
}
else
if
(
entry
->
etype
==
ET_WINDOWS
)
{
TCHAR
path
[
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