Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
c44d0f0b
Commit
c44d0f0b
authored
Nov 13, 2018
by
André Hentschel
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Support ISOLATIONAWARE_MANIFEST_RESOURCE_ID range
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=18889
parent
464fec3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
actctx.c
dlls/ntdll/actctx.c
+10
-2
No files found.
dlls/ntdll/actctx.c
View file @
c44d0f0b
...
@@ -54,6 +54,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(actctx);
...
@@ -54,6 +54,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(actctx);
/* we don't want to include winuser.h */
/* we don't want to include winuser.h */
#define RT_MANIFEST ((ULONG_PTR)24)
#define RT_MANIFEST ((ULONG_PTR)24)
#define CREATEPROCESS_MANIFEST_RESOURCE_ID ((ULONG_PTR)1)
#define CREATEPROCESS_MANIFEST_RESOURCE_ID ((ULONG_PTR)1)
#define MINIMUM_RESERVED_MANIFEST_RESOURCE_ID ((ULONG_PTR)1)
#define MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID ((ULONG_PTR)16)
/* from oaidl.h */
/* from oaidl.h */
typedef
enum
tagLIBFLAGS
{
typedef
enum
tagLIBFLAGS
{
...
@@ -3331,8 +3333,14 @@ static NTSTATUS lookup_assembly(struct actctx_loader* acl,
...
@@ -3331,8 +3333,14 @@ static NTSTATUS lookup_assembly(struct actctx_loader* acl,
status
=
open_nt_file
(
&
file
,
&
nameW
);
status
=
open_nt_file
(
&
file
,
&
nameW
);
if
(
!
status
)
if
(
!
status
)
{
{
status
=
get_manifest_in_pe_file
(
acl
,
ai
,
nameW
.
Buffer
,
directory
,
FALSE
,
file
,
INT
rid
;
(
LPCWSTR
)
CREATEPROCESS_MANIFEST_RESOURCE_ID
,
0
);
for
(
rid
=
MINIMUM_RESERVED_MANIFEST_RESOURCE_ID
;
rid
<=
MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID
;
rid
++
)
{
status
=
get_manifest_in_pe_file
(
acl
,
ai
,
nameW
.
Buffer
,
directory
,
FALSE
,
file
,
(
LPCWSTR
)(
ULONG_PTR
)
rid
,
0
);
if
(
status
==
STATUS_SUCCESS
)
break
;
}
NtClose
(
file
);
NtClose
(
file
);
if
(
status
==
STATUS_SUCCESS
)
if
(
status
==
STATUS_SUCCESS
)
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