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
193a80a7
Commit
193a80a7
authored
Nov 08, 2010
by
David Hedberg
Committed by
Alexandre Julliard
Nov 08, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Remove reliance on the ability to bind to files in UnixFolder CompareIDs.
parent
c9372a1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
shfldr_unixfs.c
dlls/shell32/shfldr_unixfs.c
+11
-3
No files found.
dlls/shell32/shfldr_unixfs.c
View file @
193a80a7
...
...
@@ -1023,9 +1023,17 @@ static HRESULT WINAPI UnixFolder_IShellFolder2_CompareIDs(IShellFolder2* iface,
firstpidl
=
ILCloneFirst
(
pidl1
);
pidl1
=
ILGetNext
(
pidl1
);
pidl2
=
ILGetNext
(
pidl2
);
hr
=
IShellFolder2_BindToObject
(
iface
,
firstpidl
,
NULL
,
&
IID_IShellFolder
,
(
LPVOID
*
)
&
psf
);
if
(
SUCCEEDED
(
hr
))
{
isEmpty1
=
_ILIsEmpty
(
pidl1
);
isEmpty2
=
_ILIsEmpty
(
pidl2
);
if
(
isEmpty1
&&
isEmpty2
)
return
MAKE_HRESULT
(
SEVERITY_SUCCESS
,
0
,
0
);
else
if
(
isEmpty1
)
return
MAKE_HRESULT
(
SEVERITY_SUCCESS
,
0
,
(
WORD
)
-
1
);
else
if
(
isEmpty2
)
return
MAKE_HRESULT
(
SEVERITY_SUCCESS
,
0
,
(
WORD
)
1
);
else
if
(
SUCCEEDED
(
IShellFolder2_BindToObject
(
iface
,
firstpidl
,
NULL
,
&
IID_IShellFolder
,
(
void
**
)
&
psf
)))
{
hr
=
IShellFolder_CompareIDs
(
psf
,
lParam
,
pidl1
,
pidl2
);
IShellFolder2_Release
(
psf
);
}
...
...
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