[PATCH 2/6] ntdll: Return a more reasonable value for "Reserved3".

Henri Verbeet hverbeet at codeweavers.com
Mon Mar 29 06:31:07 CDT 2010


The value is based on 64-bit Win 7, the main thing we care about is that it's
not 0.
---
 dlls/ntdll/nt.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index 2444fed..b262c1e 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -1320,6 +1320,8 @@ NTSTATUS WINAPI NtQuerySystemInformation(
             memset(&spi, 0 , sizeof(spi));
             len = sizeof(spi);
 
+            spi.Reserved3 = 0x7fffffff; /* Available paged pool memory? */
+
             if (Length >= len)
             {
                 if (!SystemInformation) ret = STATUS_ACCESS_VIOLATION;
-- 
1.6.4.4




More information about the wine-patches mailing list