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
47c09063
Commit
47c09063
authored
Jul 20, 2005
by
Michael Jung
Committed by
Alexandre Julliard
Jul 20, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only initialize shell folders via the IPersistFolder3 interface in
SHELL32_CoCreateInitSF if the pidl which specifies the child is of type 'Folder'. Otherwise fall back to IPersistFolder.
parent
68709f1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
shlfolder.c
dlls/shell32/shlfolder.c
+3
-1
No files found.
dlls/shell32/shlfolder.c
View file @
47c09063
...
@@ -204,7 +204,9 @@ HRESULT SHELL32_CoCreateInitSF (LPCITEMIDLIST pidlRoot, LPCSTR pathRoot,
...
@@ -204,7 +204,9 @@ HRESULT SHELL32_CoCreateInitSF (LPCITEMIDLIST pidlRoot, LPCSTR pathRoot,
IPersistFolder
*
pPF
;
IPersistFolder
*
pPF
;
IPersistFolder3
*
ppf
;
IPersistFolder3
*
ppf
;
if
(
SUCCEEDED
(
IUnknown_QueryInterface
((
IUnknown
*
)
*
ppvOut
,
&
IID_IPersistFolder3
,
(
LPVOID
*
)
&
ppf
)))
{
if
(
_ILIsFolder
(
pidlChild
)
&&
SUCCEEDED
(
IUnknown_QueryInterface
((
IUnknown
*
)
*
ppvOut
,
&
IID_IPersistFolder3
,
(
LPVOID
*
)
&
ppf
)))
{
PERSIST_FOLDER_TARGET_INFO
ppfti
;
PERSIST_FOLDER_TARGET_INFO
ppfti
;
char
szDestPath
[
MAX_PATH
];
char
szDestPath
[
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