Commit 3dd6cafe authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Use the 32-bit __wine_ctrl_routine() in Wow64 processes.

parent 44de9743
......@@ -869,6 +869,8 @@ static void load_ntdll_wow64_functions( HMODULE module )
GET_FUNC( RtlpQueryProcessDebugInformationRemote );
#undef GET_FUNC
p__wine_ctrl_routine = (void *)find_named_export( module, exports, "__wine_ctrl_routine" );
/* also set the 32-bit LdrSystemDllInitBlock */
memcpy( (void *)(ULONG_PTR)pLdrSystemDllInitBlock->pLdrSystemDllInitBlock,
pLdrSystemDllInitBlock, sizeof(*pLdrSystemDllInitBlock) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment