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
1326687f
Commit
1326687f
authored
Apr 11, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add support for 2019 and 2020 WindowsSettings namespaces.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e8132735
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
actctx.c
dlls/ntdll/actctx.c
+10
-4
No files found.
dlls/ntdll/actctx.c
View file @
1326687f
...
...
@@ -615,6 +615,8 @@ static const WCHAR windowsSettings2005NSW[] = L"http://schemas.microsoft.com/SMI
static
const
WCHAR
windowsSettings2011NSW
[]
=
L"http://schemas.microsoft.com/SMI/2011/WindowsSettings"
;
static
const
WCHAR
windowsSettings2016NSW
[]
=
L"http://schemas.microsoft.com/SMI/2016/WindowsSettings"
;
static
const
WCHAR
windowsSettings2017NSW
[]
=
L"http://schemas.microsoft.com/SMI/2017/WindowsSettings"
;
static
const
WCHAR
windowsSettings2019NSW
[]
=
L"http://schemas.microsoft.com/SMI/2019/WindowsSettings"
;
static
const
WCHAR
windowsSettings2020NSW
[]
=
L"http://schemas.microsoft.com/SMI/2020/WindowsSettings"
;
struct
olemisc_entry
{
...
...
@@ -2535,12 +2537,14 @@ static void parse_windows_settings_elem( xmlbuf_t *xmlbuf, struct assembly *asse
while
(
next_xml_elem
(
xmlbuf
,
&
elem
,
parent
))
{
if
(
xml_elem_cmp
(
&
elem
,
L"autoElevate"
,
windowsSettings2005NSW
)
||
if
(
xml_elem_cmp
(
&
elem
,
L"activeCodePage"
,
windowsSettings2019NSW
)
||
xml_elem_cmp
(
&
elem
,
L"autoElevate"
,
windowsSettings2005NSW
)
||
xml_elem_cmp
(
&
elem
,
L"disableTheming"
,
windowsSettings2005NSW
)
||
xml_elem_cmp
(
&
elem
,
L"disableWindowFiltering"
,
windowsSettings2011NSW
)
||
xml_elem_cmp
(
&
elem
,
L"dpiAware"
,
windowsSettings2005NSW
)
||
xml_elem_cmp
(
&
elem
,
L"dpiAwareness"
,
windowsSettings2016NSW
)
||
xml_elem_cmp
(
&
elem
,
L"gdiScaling"
,
windowsSettings2017NSW
)
||
xml_elem_cmp
(
&
elem
,
L"heapType"
,
windowsSettings2020NSW
)
||
xml_elem_cmp
(
&
elem
,
L"highResolutionScrollingAware"
,
windowsSettings2017NSW
)
||
xml_elem_cmp
(
&
elem
,
L"longPathAware"
,
windowsSettings2016NSW
)
||
xml_elem_cmp
(
&
elem
,
L"magicFutureSetting"
,
windowsSettings2017NSW
)
||
...
...
@@ -2564,7 +2568,7 @@ static void parse_application_elem( xmlbuf_t *xmlbuf, struct assembly *assembly,
while
(
next_xml_elem
(
xmlbuf
,
&
elem
,
parent
))
{
if
(
xml_elem_cmp
(
&
elem
,
L"windowsSettings"
,
asmv
3
W
))
if
(
xml_elem_cmp
(
&
elem
,
L"windowsSettings"
,
asmv
1
W
))
{
parse_windows_settings_elem
(
xmlbuf
,
assembly
,
acl
,
&
elem
);
}
...
...
@@ -2783,7 +2787,7 @@ static void parse_assembly_elem( xmlbuf_t *xmlbuf, struct assembly* assembly,
{
parse_compatibility_elem
(
xmlbuf
,
assembly
,
acl
,
&
elem
);
}
else
if
(
xml_elem_cmp
(
&
elem
,
L"application"
,
asmv
3
W
))
else
if
(
xml_elem_cmp
(
&
elem
,
L"application"
,
asmv
1
W
))
{
parse_application_elem
(
xmlbuf
,
assembly
,
acl
,
&
elem
);
}
...
...
@@ -5845,7 +5849,9 @@ NTSTATUS WINAPI RtlQueryActivationContextApplicationSettings( DWORD flags, HANDL
if
(
wcscmp
(
ns
,
windowsSettings2005NSW
)
&&
wcscmp
(
ns
,
windowsSettings2011NSW
)
&&
wcscmp
(
ns
,
windowsSettings2016NSW
)
&&
wcscmp
(
ns
,
windowsSettings2017NSW
))
wcscmp
(
ns
,
windowsSettings2017NSW
)
&&
wcscmp
(
ns
,
windowsSettings2019NSW
)
&&
wcscmp
(
ns
,
windowsSettings2020NSW
))
return
STATUS_INVALID_PARAMETER
;
}
else
ns
=
windowsSettings2005NSW
;
...
...
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