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
43e90c8f
Commit
43e90c8f
authored
Jul 07, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Add support for the CSIDL_SYSTEMX86 folder.
parent
03d6da08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
shellpath.c
dlls/shell32/shellpath.c
+13
-1
No files found.
dlls/shell32/shellpath.c
View file @
43e90c8f
...
@@ -812,6 +812,7 @@ typedef enum _CSIDL_Type {
...
@@ -812,6 +812,7 @@ typedef enum _CSIDL_Type {
CSIDL_Type_NonExistent
,
CSIDL_Type_NonExistent
,
CSIDL_Type_WindowsPath
,
CSIDL_Type_WindowsPath
,
CSIDL_Type_SystemPath
,
CSIDL_Type_SystemPath
,
CSIDL_Type_SystemX86Path
,
}
CSIDL_Type
;
}
CSIDL_Type
;
typedef
struct
typedef
struct
...
@@ -1029,7 +1030,7 @@ static const CSIDL_DATA CSIDL_Data[] =
...
@@ -1029,7 +1030,7 @@ static const CSIDL_DATA CSIDL_Data[] =
NULL
NULL
},
},
{
/* 0x29 - CSIDL_SYSTEMX86 */
{
/* 0x29 - CSIDL_SYSTEMX86 */
CSIDL_Type_
NonExistent
,
CSIDL_Type_
SystemX86Path
,
NULL
,
NULL
,
NULL
NULL
},
},
...
@@ -1782,6 +1783,17 @@ HRESULT WINAPI SHGetFolderPathAndSubDirW(
...
@@ -1782,6 +1783,17 @@ HRESULT WINAPI SHGetFolderPathAndSubDirW(
}
}
hr
=
S_OK
;
hr
=
S_OK
;
break
;
break
;
case
CSIDL_Type_SystemX86Path
:
if
(
!
GetSystemWow64DirectoryW
(
szTemp
,
MAX_PATH
))
GetSystemDirectoryW
(
szTemp
,
MAX_PATH
);
if
(
CSIDL_Data
[
folder
].
szDefaultPath
&&
!
IS_INTRESOURCE
(
CSIDL_Data
[
folder
].
szDefaultPath
)
&&
*
CSIDL_Data
[
folder
].
szDefaultPath
)
{
PathAddBackslashW
(
szTemp
);
strcatW
(
szTemp
,
CSIDL_Data
[
folder
].
szDefaultPath
);
}
hr
=
S_OK
;
break
;
case
CSIDL_Type_CurrVer
:
case
CSIDL_Type_CurrVer
:
hr
=
_SHGetCurrentVersionPath
(
dwFlags
,
folder
,
szTemp
);
hr
=
_SHGetCurrentVersionPath
(
dwFlags
,
folder
,
szTemp
);
break
;
break
;
...
...
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