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
a3aa7cf0
Commit
a3aa7cf0
authored
Jun 01, 2006
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Jun 02, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Add Fonts to user's shell folders list.
parent
d7e7242a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
shellpath.c
dlls/shell32/shellpath.c
+5
-2
No files found.
dlls/shell32/shellpath.c
View file @
a3aa7cf0
...
...
@@ -932,7 +932,7 @@ static const CSIDL_DATA CSIDL_Data[] =
},
{
/* 0x14 - CSIDL_FONTS */
CSIDL_Type_WindowsPath
,
NULL
,
FontsW
,
FontsW
},
{
/* 0x15 - CSIDL_TEMPLATES */
...
...
@@ -1818,6 +1818,8 @@ static HRESULT _SHRegisterFolders(HKEY hRootKey, HANDLE hToken,
path
);
else
if
(
CSIDL_Data
[
folders
[
i
]].
type
==
CSIDL_Type_AllUsers
)
_SHGetAllUsersProfilePath
(
SHGFP_TYPE_DEFAULT
,
folders
[
i
],
path
);
else
if
(
CSIDL_Data
[
folders
[
i
]].
type
==
CSIDL_Type_WindowsPath
)
GetWindowsDirectoryW
(
path
,
MAX_PATH
);
else
hr
=
E_FAIL
;
if
(
*
path
)
...
...
@@ -1870,7 +1872,8 @@ static HRESULT _SHRegisterUserShellFolders(BOOL bDefault)
CSIDL_INTERNET_CACHE
,
CSIDL_COOKIES
,
CSIDL_HISTORY
,
CSIDL_MYPICTURES
CSIDL_MYPICTURES
,
CSIDL_FONTS
};
WCHAR
userShellFolderPath
[
MAX_PATH
],
shellFolderPath
[
MAX_PATH
];
LPCWSTR
pUserShellFolderPath
,
pShellFolderPath
;
...
...
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