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
8016f6cc
Commit
8016f6cc
authored
May 23, 2005
by
Michael Jung
Committed by
Alexandre Julliard
May 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More robustly query the SHGDN_FORPARSING flag in the shell32's folders
GetDisplayNameOf methods.
parent
4f14044f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
shfldr_desktop.c
dlls/shell32/shfldr_desktop.c
+2
-2
shfldr_fs.c
dlls/shell32/shfldr_fs.c
+2
-2
shfldr_mycomp.c
dlls/shell32/shfldr_mycomp.c
+1
-1
shfldr_unixfs.c
dlls/shell32/shfldr_unixfs.c
+1
-1
No files found.
dlls/shell32/shfldr_desktop.c
View file @
8016f6cc
...
...
@@ -559,7 +559,7 @@ static HRESULT WINAPI ISF_Desktop_fnGetDisplayNameOf (IShellFolder2 * iface,
if
(
_ILIsDesktop
(
pidl
))
{
if
((
GET_SHGDN_RELATION
(
dwFlags
)
==
SHGDN_NORMAL
)
&&
(
GET_SHGDN_FOR
(
dwFlags
)
==
SHGDN_FORPARSING
))
(
GET_SHGDN_FOR
(
dwFlags
)
&
SHGDN_FORPARSING
))
{
BOOL
defCharUsed
;
...
...
@@ -589,7 +589,7 @@ static HRESULT WINAPI ISF_Desktop_fnGetDisplayNameOf (IShellFolder2 * iface,
if
((
clsid
=
_ILGetGUIDPointer
(
pidl
)))
{
if
(
GET_SHGDN_FOR
(
dwFlags
)
==
SHGDN_FORPARSING
)
if
(
GET_SHGDN_FOR
(
dwFlags
)
&
SHGDN_FORPARSING
)
{
int
bWantsForParsing
;
...
...
dlls/shell32/shfldr_fs.c
View file @
8016f6cc
...
...
@@ -764,7 +764,7 @@ IShellFolder_fnGetDisplayNameOf (IShellFolder2 * iface, LPCITEMIDLIST pidl,
strRet
->
uType
=
STRRET_CSTR
;
if
(
_ILIsDesktop
(
pidl
))
{
/* empty pidl */
if
((
GET_SHGDN_FOR
(
dwFlags
)
==
SHGDN_FORPARSING
)
&&
if
((
GET_SHGDN_FOR
(
dwFlags
)
&
SHGDN_FORPARSING
)
&&
(
GET_SHGDN_RELATION
(
dwFlags
)
!=
SHGDN_INFOLDER
))
{
if
(
This
->
sPathTarget
)
...
...
@@ -774,7 +774,7 @@ IShellFolder_fnGetDisplayNameOf (IShellFolder2 * iface, LPCITEMIDLIST pidl,
hr
=
E_INVALIDARG
;
}
}
else
if
(
_ILIsPidlSimple
(
pidl
))
{
if
((
GET_SHGDN_FOR
(
dwFlags
)
==
SHGDN_FORPARSING
)
&&
if
((
GET_SHGDN_FOR
(
dwFlags
)
&
SHGDN_FORPARSING
)
&&
(
GET_SHGDN_RELATION
(
dwFlags
)
!=
SHGDN_INFOLDER
)
&&
This
->
sPathTarget
)
{
...
...
dlls/shell32/shfldr_mycomp.c
View file @
8016f6cc
...
...
@@ -567,7 +567,7 @@ static HRESULT WINAPI ISF_MyComputer_fnGetDisplayNameOf (IShellFolder2 *iface,
clsid
=
_ILGetGUIDPointer
(
pidl
);
if
(
clsid
)
{
if
(
GET_SHGDN_FOR
(
dwFlags
)
==
SHGDN_FORPARSING
)
if
(
GET_SHGDN_FOR
(
dwFlags
)
&
SHGDN_FORPARSING
)
{
static
const
WCHAR
clsidW
[]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
'\\'
,
0
};
...
...
dlls/shell32/shfldr_unixfs.c
View file @
8016f6cc
...
...
@@ -793,7 +793,7 @@ static HRESULT WINAPI UnixFolder_IShellFolder2_GetDisplayNameOf(IShellFolder2* i
TRACE
(
"(iface=%p, pidl=%p, uFlags=%lx, lpName=%p)
\n
"
,
iface
,
pidl
,
uFlags
,
lpName
);
if
((
GET_SHGDN_FOR
(
uFlags
)
==
SHGDN_FORPARSING
)
&&
if
((
GET_SHGDN_FOR
(
uFlags
)
&
SHGDN_FORPARSING
)
&&
(
GET_SHGDN_RELATION
(
uFlags
)
!=
SHGDN_INFOLDER
))
{
if
(
!
pidl
->
mkid
.
cb
)
{
...
...
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