mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 11:33:43 +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 <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 63ef9854fb6fc91a8c956a9d91abc07e906a4a33 by Zebediah Figura <z.figura12@gmail.com>
This commit is contained in:
parent
58e2e22449
commit
dfc5f68673
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue