ntdll: Store the default process activation context into the PEB.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
caff74f369
commit
e95d0813fd
|
@ -4942,6 +4942,8 @@ void actctx_init(void)
|
|||
ctx.lpResourceName = (LPCWSTR)CREATEPROCESS_MANIFEST_RESOURCE_ID;
|
||||
|
||||
if (!RtlCreateActivationContext( &handle, &ctx )) process_actctx = check_actctx(handle);
|
||||
|
||||
NtCurrentTeb()->Peb->ActivationContextData = process_actctx;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue