mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 17:32:32 +00:00
[NTDLL] Use the embedded manifest from the process to check compatibility.
This commit is contained in:
parent
cbf47846e7
commit
029b8f2cf9
3 changed files with 16 additions and 8 deletions
|
@ -5000,7 +5000,7 @@ static NTSTATUS find_guid(ACTIVATION_CONTEXT* actctx, ULONG section_kind,
|
|||
}
|
||||
|
||||
/* initialize the activation context for the current process */
|
||||
void actctx_init(void)
|
||||
void actctx_init(PVOID* pOldShimData)
|
||||
{
|
||||
ACTCTXW ctx;
|
||||
HANDLE handle;
|
||||
|
@ -5018,6 +5018,11 @@ void actctx_init(void)
|
|||
process_actctx = check_actctx(handle);
|
||||
}
|
||||
|
||||
/* ReactOS specific:
|
||||
Now that we have found the process_actctx we can initialize the process compat subsystem */
|
||||
LdrpInitializeProcessCompat(process_actctx, pOldShimData);
|
||||
|
||||
|
||||
ctx.dwFlags = 0;
|
||||
ctx.hModule = NULL;
|
||||
ctx.lpResourceName = NULL;
|
||||
|
|
|
@ -243,4 +243,10 @@ WCHAR
|
|||
NTAPI
|
||||
RtlpDowncaseUnicodeChar(IN WCHAR Source);
|
||||
|
||||
/* ReactOS only */
|
||||
VOID
|
||||
NTAPI
|
||||
LdrpInitializeProcessCompat(PVOID pProcessActctx, PVOID* pOldShimData);
|
||||
|
||||
|
||||
/* EOF */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue