From: Brendan Shanks <bshanks@codeweavers.com> --- dlls/kernel32/tests/process.c | 2 +- dlls/kernelbase/process.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/kernel32/tests/process.c b/dlls/kernel32/tests/process.c index f67189205d5..a9ff167972a 100644 --- a/dlls/kernel32/tests/process.c +++ b/dlls/kernel32/tests/process.c @@ -5699,7 +5699,7 @@ static void test_GetProcessInformation(void) ok(ret, "Unexpected return value %d.\n", ret); process = GetCurrentProcess(); - status = NtQuerySystemInformationEx( SystemSupportedProcessorArchitectures, &process, sizeof(process), + status = NtQuerySystemInformationEx( SystemSupportedProcessorArchitectures2, &process, sizeof(process), machines, sizeof(machines), NULL ); ok(!status, "Failed to get architectures information.\n"); for (i = 0; machines[i].Machine; i++) diff --git a/dlls/kernelbase/process.c b/dlls/kernelbase/process.c index ee1f2e7d010..0186f166ce5 100644 --- a/dlls/kernelbase/process.c +++ b/dlls/kernelbase/process.c @@ -1058,7 +1058,7 @@ BOOL WINAPI GetProcessInformation( HANDLE process, PROCESS_INFORMATION_CLASS inf return FALSE; } - status = NtQuerySystemInformationEx( SystemSupportedProcessorArchitectures, &process, sizeof(process), + status = NtQuerySystemInformationEx( SystemSupportedProcessorArchitectures2, &process, sizeof(process), machines, sizeof(machines), NULL ); if (status) return set_ntstatus( status ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10559