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
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
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
54 deletions
+69
-54
shfldr.h
dlls/shell32/shfldr.h
+1
-1
shfldr_desktop.c
dlls/shell32/shfldr_desktop.c
+8
-6
shfldr_fs.c
dlls/shell32/shfldr_fs.c
+60
-47
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
...
...
@@ -682,16 +682,18 @@ static HRESULT WINAPI ISF_Desktop_fnGetDisplayNameOf (IShellFolder2 * iface,
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