[PATCH 1/6] include: Move WIN32_MEMORY_RANGE_ENTRY from winnt.h to winbase.h.

Jinoh Kang jinoh.kang.kr at gmail.com
Thu Nov 25 12:23:39 CST 2021


Signed-off-by: Jinoh Kang <jinoh.kang.kr at gmail.com>
---
 include/winbase.h | 6 ++++++
 include/winnt.h   | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/include/winbase.h b/include/winbase.h
index 2928385bde6..3f987c05fde 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -1757,6 +1757,12 @@ typedef struct _WIN32_FIND_STREAM_DATA {
     WCHAR cStreamName[MAX_PATH + 36];
 } WIN32_FIND_STREAM_DATA,*PWIN32_FIND_STREAM_DATA;
 
+typedef struct _WIN32_MEMORY_RANGE_ENTRY
+{
+    PVOID  VirtualAddress;
+    SIZE_T NumberOfBytes;
+} WIN32_MEMORY_RANGE_ENTRY, *PWIN32_MEMORY_RANGE_ENTRY;
+
 WINBASEAPI BOOL        WINAPI ActivateActCtx(HANDLE,ULONG_PTR *);
 WINADVAPI  BOOL        WINAPI AddAccessAllowedAce(PACL,DWORD,DWORD,PSID);
 WINADVAPI  BOOL        WINAPI AddAccessAllowedAceEx(PACL,DWORD,DWORD,DWORD,PSID);
diff --git a/include/winnt.h b/include/winnt.h
index 2ab74ab123c..3a2e93675a3 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -776,11 +776,11 @@ typedef struct DECLSPEC_ALIGN(8) MEM_EXTENDED_PARAMETER {
     } DUMMYUNIONNAME;
 } MEM_EXTENDED_PARAMETER, *PMEM_EXTENDED_PARAMETER;
 
-typedef struct _WIN32_MEMORY_RANGE_ENTRY
+typedef struct _MEMORY_RANGE_ENTRY
 {
     PVOID  VirtualAddress;
     SIZE_T NumberOfBytes;
-} WIN32_MEMORY_RANGE_ENTRY, *PWIN32_MEMORY_RANGE_ENTRY;
+} MEMORY_RANGE_ENTRY, *PMEMORY_RANGE_ENTRY;
 
 #define	PAGE_NOACCESS		0x01
 #define	PAGE_READONLY		0x02
-- 
2.31.1




More information about the wine-devel mailing list