Jinoh Kang : include: Move WIN32_MEMORY_RANGE_ENTRY from winnt.h to winbase.h.

Alexandre Julliard julliard at winehq.org
Wed Jul 13 16:56:08 CDT 2022


Module: wine
Branch: master
Commit: 67e4807ba5051eacce6ac9a6685e2527e2fd242f
URL:    https://gitlab.winehq.org/wine/wine/-/commit/67e4807ba5051eacce6ac9a6685e2527e2fd242f

Author: Jinoh Kang <jinoh.kang.kr at gmail.com>
Date:   Fri Nov 26 02:09:29 2021 +0900

include: Move WIN32_MEMORY_RANGE_ENTRY from winnt.h to winbase.h.

Signed-off-by: Jinoh Kang <jinoh.kang.kr at gmail.com>

---

 include/winbase.h | 6 ++++++
 include/winnt.h   | 6 ------
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/winbase.h b/include/winbase.h
index bf191153ddc..0a8409c10e1 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -1760,6 +1760,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 5de6884e7de..76aee026d84 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -788,12 +788,6 @@ typedef struct DECLSPEC_ALIGN(8) MEM_EXTENDED_PARAMETER {
     } DUMMYUNIONNAME;
 } MEM_EXTENDED_PARAMETER, *PMEM_EXTENDED_PARAMETER;
 
-typedef struct _WIN32_MEMORY_RANGE_ENTRY
-{
-    PVOID  VirtualAddress;
-    SIZE_T NumberOfBytes;
-} WIN32_MEMORY_RANGE_ENTRY, *PWIN32_MEMORY_RANGE_ENTRY;
-
 #define	PAGE_NOACCESS		0x01
 #define	PAGE_READONLY		0x02
 #define	PAGE_READWRITE		0x04




More information about the wine-cvs mailing list