Alexandre Julliard : wow64: Map the parent process handle in NtCreateUserProcess().
Module: wine Branch: master Commit: be6ccdf51c98a45b661b12548bda60f8daf572b2 URL: https://source.winehq.org/git/wine.git/?a=commit;h=be6ccdf51c98a45b661b12548... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Dec 2 09:59:01 2021 +0100 wow64: Map the parent process handle in NtCreateUserProcess(). Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wow64/process.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/wow64/process.c b/dlls/wow64/process.c index fbe501ed034..50562390860 100644 --- a/dlls/wow64/process.c +++ b/dlls/wow64/process.c @@ -213,6 +213,10 @@ static PS_ATTRIBUTE_LIST *ps_attributes_32to64( PS_ATTRIBUTE_LIST **attr, const LongToHandle( ((LONG *)ULongToPtr(attr32->Attributes[i].Value))[j] ); } break; + case PS_ATTRIBUTE_PARENT_PROCESS: + ret->Attributes[i].Size = sizeof(HANDLE); + ret->Attributes[i].ValuePtr = LongToHandle( attr32->Attributes[i].Value ); + break; case PS_ATTRIBUTE_CLIENT_ID: ret->Attributes[i].Size = sizeof(CLIENT_ID); ret->Attributes[i].ValuePtr = Wow64AllocateTemp( ret->Attributes[i].Size );
participants (1)
-
Alexandre Julliard