Andrew Wesie : kernel32: Make QueryWorkingSetEx use MemoryWorkingSetExInformation.
Alexandre Julliard
julliard at winehq.org
Fri Feb 7 15:41:08 CST 2020
Module: wine
Branch: master
Commit: f7a184e1bfcd7f34e32f5b0b7b6baaf988280628
URL: https://source.winehq.org/git/wine.git/?a=commit;h=f7a184e1bfcd7f34e32f5b0b7b6baaf988280628
Author: Andrew Wesie <awesie at gmail.com>
Date: Fri Jan 24 12:19:39 2020 -0800
kernel32: Make QueryWorkingSetEx use MemoryWorkingSetExInformation.
Signed-off-by: Andrew Wesie <awesie at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernel32/process.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index 7875f3469a..5146622230 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -722,7 +722,7 @@ BOOL WINAPI K32QueryWorkingSetEx( HANDLE process, LPVOID buffer, DWORD size )
{
TRACE( "(%p, %p, %d)\n", process, buffer, size );
- return set_ntstatus( NtQueryVirtualMemory( process, NULL, MemoryWorkingSetList, buffer, size, NULL ));
+ return set_ntstatus( NtQueryVirtualMemory( process, NULL, MemoryWorkingSetExInformation, buffer, size, NULL ));
}
/***********************************************************************
More information about the wine-cvs
mailing list