You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Added patch to return STATUS_SUCCESS from NtQuerySystemInformationEx.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From 1b56ed8fa19d38ff6d17884da2b23ff38a3bd79c Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Wed, 6 Jan 2016 15:29:57 +0100
|
||||
Subject: ntdll: Return STATUS_SUCCESS from NtQuerySystemInformationEx.
|
||||
|
||||
---
|
||||
dlls/ntdll/nt.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
|
||||
index 9ee1923..1214978 100644
|
||||
--- a/dlls/ntdll/nt.c
|
||||
+++ b/dlls/ntdll/nt.c
|
||||
@@ -2180,7 +2180,8 @@ NTSTATUS WINAPI NtQuerySystemInformationEx(SYSTEM_INFORMATION_CLASS SystemInform
|
||||
{
|
||||
FIXME("(0x%08x,%p,%u,%p,%u,%p) stub\n", SystemInformationClass, Query, QueryLength, SystemInformation,
|
||||
Length, ResultLength);
|
||||
- return STATUS_NOT_IMPLEMENTED;
|
||||
+ if (ResultLength) *ResultLength = 0;
|
||||
+ return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
--
|
||||
2.6.4
|
||||
|
||||
1
patches/ntdll-NtQuerySystemInformationEx/definition
Normal file
1
patches/ntdll-NtQuerySystemInformationEx/definition
Normal file
@@ -0,0 +1 @@
|
||||
Fixes: CPU-Z fails to start because GetLogicalProcessorInformationEx returns FALSE
|
||||
Reference in New Issue
Block a user