mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
ntdll-MemoryWorkingSetExInformation: Fix a typo.
This commit is contained in:
parent
471dc198a8
commit
e1ac8f20fe
@ -1,4 +1,4 @@
|
||||
From fc6b868cee4657f9cb5b57a12cbb36a15faddd68 Mon Sep 17 00:00:00 2001
|
||||
From 05273f6d078422ad096153761cc386d9b536ac21 Mon Sep 17 00:00:00 2001
|
||||
From: Andrew Wesie <awesie@gmail.com>
|
||||
Date: Sat, 18 Aug 2018 15:48:10 -0500
|
||||
Subject: [PATCH] ntdll: Stub for MemoryWorkingSetExInformation.
|
||||
@ -9,10 +9,10 @@ Subject: [PATCH] ntdll: Stub for MemoryWorkingSetExInformation.
|
||||
2 files changed, 42 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c
|
||||
index 82b56b16..58563aaf 100644
|
||||
index de1981767..a15e6211a 100644
|
||||
--- a/dlls/ntdll/virtual.c
|
||||
+++ b/dlls/ntdll/virtual.c
|
||||
@@ -3024,6 +3024,25 @@ found:
|
||||
@@ -3144,6 +3144,25 @@ found:
|
||||
}
|
||||
|
||||
|
||||
@ -26,7 +26,7 @@ index 82b56b16..58563aaf 100644
|
||||
+ {
|
||||
+ FIXME("(VirtualAddress=%p) Unimplemented.\n", p->VirtualAddress);
|
||||
+ /* FIXME Mark all addresses as invalid. */
|
||||
+ info->VirtualAttributes.Valid = 0;
|
||||
+ p->VirtualAttributes.Valid = 0;
|
||||
+ }
|
||||
+
|
||||
+ if (res_len)
|
||||
@ -38,7 +38,7 @@ index 82b56b16..58563aaf 100644
|
||||
#define UNIMPLEMENTED_INFO_CLASS(c) \
|
||||
case c: \
|
||||
FIXME("(process=%p,addr=%p) Unimplemented information class: " #c "\n", process, addr); \
|
||||
@@ -3048,6 +3067,9 @@ NTSTATUS WINAPI NtQueryVirtualMemory( HANDLE process, LPCVOID addr,
|
||||
@@ -3168,6 +3187,9 @@ NTSTATUS WINAPI NtQueryVirtualMemory( HANDLE process, LPCVOID addr,
|
||||
case MemorySectionName:
|
||||
return get_section_name( process, addr, buffer, len, res_len );
|
||||
|
||||
@ -49,7 +49,7 @@ index 82b56b16..58563aaf 100644
|
||||
UNIMPLEMENTED_INFO_CLASS(MemoryBasicVlmInformation);
|
||||
|
||||
diff --git a/include/winternl.h b/include/winternl.h
|
||||
index 46dac7e4..44c2f94a 100644
|
||||
index 9b8bef0fe..79285065a 100644
|
||||
--- a/include/winternl.h
|
||||
+++ b/include/winternl.h
|
||||
@@ -1042,7 +1042,8 @@ typedef enum _MEMORY_INFORMATION_CLASS {
|
||||
@ -88,5 +88,5 @@ index 46dac7e4..44c2f94a 100644
|
||||
{
|
||||
MutantBasicInformation
|
||||
--
|
||||
2.20.1
|
||||
2.23.0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user