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
7eb0d62b
Commit
7eb0d62b
authored
Sep 19, 2012
by
Erich Hoover
Committed by
Alexandre Julliard
Sep 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Create the All Users Microsoft directory.
parent
6e0d4381
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
shellpath.c
dlls/shell32/shellpath.c
+7
-0
No files found.
dlls/shell32/shellpath.c
View file @
7eb0d62b
...
...
@@ -2722,6 +2722,7 @@ static void _SHCreateSymbolicLinks(void)
static
HRESULT
create_extra_folders
(
void
)
{
static
const
WCHAR
environW
[]
=
{
'E'
,
'n'
,
'v'
,
'i'
,
'r'
,
'o'
,
'n'
,
'm'
,
'e'
,
'n'
,
't'
,
0
};
static
const
WCHAR
microsoftW
[]
=
{
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
0
};
static
const
WCHAR
TempW
[]
=
{
'T'
,
'e'
,
'm'
,
'p'
,
0
};
static
const
WCHAR
TEMPW
[]
=
{
'T'
,
'E'
,
'M'
,
'P'
,
0
};
static
const
WCHAR
TMPW
[]
=
{
'T'
,
'M'
,
'P'
,
0
};
...
...
@@ -2746,6 +2747,12 @@ static HRESULT create_extra_folders(void)
RegSetValueExW
(
hkey
,
TMPW
,
0
,
REG_SZ
,
(
LPBYTE
)
path
,
(
strlenW
(
path
)
+
1
)
*
sizeof
(
WCHAR
)
);
}
RegCloseKey
(
hkey
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
SHGetFolderPathAndSubDirW
(
0
,
CSIDL_COMMON_APPDATA
|
CSIDL_FLAG_CREATE
,
NULL
,
SHGFP_TYPE_DEFAULT
,
microsoftW
,
path
);
}
return
hr
;
}
...
...
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