Henri Verbeet : ntdll: Return a more reasonable value for "Reserved3".

Alexandre Julliard julliard at winehq.org
Mon Mar 29 09:57:59 CDT 2010


Module: wine
Branch: master
Commit: 7bfe6c4308a2b8bf7f469026027ae61d94ef210b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7bfe6c4308a2b8bf7f469026027ae61d94ef210b

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon Mar 29 13:31:07 2010 +0200

ntdll: Return a more reasonable value for "Reserved3".

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;




More information about the wine-cvs mailing list