mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[WINESYNC] dbghelp: Only check process architecture if we are actually given a process.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45407 Signed-off-by: Zebediah Figura <[email protected]> Signed-off-by: Alexandre Julliard <[email protected]> wine commit id 63ef9854fb6fc91a8c956a9d91abc07e906a4a33 by Zebediah Figura <[email protected]>
This commit is contained in:
@@ -324,7 +324,7 @@ BOOL WINAPI SymInitializeW(HANDLE hProcess, PCWSTR UserSearchPath, BOOL fInvadeP
|
||||
|
||||
IsWow64Process(GetCurrentProcess(), &wow64);
|
||||
|
||||
if (!IsWow64Process(hProcess, &child_wow64))
|
||||
if (GetProcessId(hProcess) && !IsWow64Process(hProcess, &child_wow64))
|
||||
return FALSE;
|
||||
|
||||
pcs = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*pcs));
|
||||
|
||||
@@ -4,4 +4,4 @@ files:
|
||||
include/dbghelp.h: sdk/include/psdk/dbghelp.h
|
||||
include/wine/mscvpdb.h: sdk/include/reactos/wine/mscvpdb.h
|
||||
tags:
|
||||
wine: 3e1a56290191e37aded204c554f2e550c0257300
|
||||
wine: 63ef9854fb6fc91a8c956a9d91abc07e906a4a33
|
||||
|
||||
Reference in New Issue
Block a user