Gabriel Ivăncescu : ntdll: Store the default process activation context into the PEB.
Alexandre Julliard
julliard at winehq.org
Thu Mar 19 16:27:47 CDT 2020
Module: wine
Branch: master
Commit: e95d0813fdfcfcac2bb1761e62e1d54e6f73cd6d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=e95d0813fdfcfcac2bb1761e62e1d54e6f73cd6d
Author: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Date: Wed Mar 18 18:31:52 2020 +0200
ntdll: Store the default process activation context into the PEB.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/actctx.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/ntdll/actctx.c b/dlls/ntdll/actctx.c
index b88e6dea07..17f9cad084 100644
--- a/dlls/ntdll/actctx.c
+++ b/dlls/ntdll/actctx.c
@@ -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;
}
More information about the wine-cvs
mailing list