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
f8782733
Commit
f8782733
authored
Jan 16, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Jan 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell: Convert the filesystem shell folder to Unicode.
parent
50c1e46d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
75 additions
and
60 deletions
+75
-60
shfldr.h
dlls/shell32/shfldr.h
+1
-1
shfldr_desktop.c
dlls/shell32/shfldr_desktop.c
+10
-8
shfldr_fs.c
dlls/shell32/shfldr_fs.c
+64
-51
No files found.
dlls/shell32/shfldr.h
View file @
f8782733
...
...
@@ -69,5 +69,5 @@ static inline int SHELL32_GUIDToStringW (REFGUID guid, LPWSTR str)
guid
->
Data4
[
4
],
guid
->
Data4
[
5
],
guid
->
Data4
[
6
],
guid
->
Data4
[
7
]);
}
void
SHELL_FS_ProcessDisplayFilename
(
LPSTR
szPath
,
DWORD
dwFlags
);
void
SHELL_FS_ProcessDisplayFilename
(
LP
W
STR
szPath
,
DWORD
dwFlags
);
BOOL
SHELL_FS_HideExtension
(
LPWSTR
pwszPath
);
dlls/shell32/shfldr_desktop.c
View file @
f8782733
...
...
@@ -677,21 +677,23 @@ static HRESULT WINAPI ISF_Desktop_fnGetDisplayNameOf (IShellFolder2 * iface,
else
{
int
cLen
=
0
;
/* file system folder or file rooted at the desktop */
if
((
GET_SHGDN_FOR
(
dwFlags
)
==
SHGDN_FORPARSING
)
&&
(
GET_SHGDN_RELATION
(
dwFlags
)
!=
SHGDN_INFOLDER
))
{
WideCharToMultiByte
(
CP_ACP
,
0
,
This
->
sPathTarget
,
-
1
,
strRet
->
u
.
cStr
,
MAX_PATH
,
NULL
,
NULL
);
PathAddBackslashA
(
strRet
->
u
.
cStr
);
cLen
=
lstrlenA
(
strRet
->
u
.
cStr
);
lstrcpynW
(
wszPath
,
This
->
sPathTarget
,
MAX_PATH
-
1
);
PathAddBackslashW
(
wszPath
);
cLen
=
lstrlenW
(
wszPath
);
}
_ILSimpleGetText
(
pidl
,
strRet
->
u
.
cStr
+
cLen
,
MAX_PATH
-
cLen
);
_ILSimpleGetText
W
(
pidl
,
wszPath
+
cLen
,
MAX_PATH
-
cLen
);
if
(
!
_ILIsFolder
(
pidl
))
SHELL_FS_ProcessDisplayFilename
(
strRet
->
u
.
cStr
,
dwFlags
);
SHELL_FS_ProcessDisplayFilename
(
wszPath
,
dwFlags
);
WideCharToMultiByte
(
CP_ACP
,
0
,
wszPath
,
-
1
,
strRet
->
u
.
cStr
,
MAX_PATH
,
NULL
,
NULL
);
}
}
else
...
...
dlls/shell32/shfldr_fs.c
View file @
f8782733
This diff is collapsed.
Click to expand it.
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