---
 mingw-w64-crt/lib32/kernel32.def      | 1 +
 mingw-w64-crt/lib64/kernel32.def      | 1 +
 mingw-w64-crt/libarm32/kernel32.def   | 1 +
 mingw-w64-headers/include/memoryapi.h | 3 +++
 4 files changed, 6 insertions(+)

diff --git a/mingw-w64-crt/lib32/kernel32.def b/mingw-w64-crt/lib32/kernel32.def
index 7552e6e..a9dc5d4 100644
--- a/mingw-w64-crt/lib32/kernel32.def
+++ b/mingw-w64-crt/lib32/kernel32.def
@@ -1213,6 +1213,7 @@ VirtualAlloc@16
 VirtualAllocEx@20
 VirtualAllocExNuma@24
 VirtualAllocVlm@24
+VirtualAllocFromApp@16
 VirtualBufferExceptionHandler@12
 VirtualFree@12
 VirtualFreeEx@16
diff --git a/mingw-w64-crt/lib64/kernel32.def b/mingw-w64-crt/lib64/kernel32.def
index 8af84ee..6a89a92 100644
--- a/mingw-w64-crt/lib64/kernel32.def
+++ b/mingw-w64-crt/lib64/kernel32.def
@@ -1321,6 +1321,7 @@ VerifyVersionInfoW
 VirtualAlloc
 VirtualAllocEx
 VirtualAllocExNuma
+VirtualAllocFromApp
 VirtualFree
 VirtualFreeEx
 VirtualLock
diff --git a/mingw-w64-crt/libarm32/kernel32.def 
b/mingw-w64-crt/libarm32/kernel32.def
index 4ef5df4..90ead6b 100644
--- a/mingw-w64-crt/libarm32/kernel32.def
+++ b/mingw-w64-crt/libarm32/kernel32.def
@@ -1442,6 +1442,7 @@ VerifyVersionInfoW
 VirtualAlloc
 VirtualAllocEx
 VirtualAllocExNuma
+VirtualAllocFromApp
 VirtualFree
 VirtualFreeEx
 VirtualLock
diff --git a/mingw-w64-headers/include/memoryapi.h 
b/mingw-w64-headers/include/memoryapi.h
index 01969f7..6263d3c 100755
--- a/mingw-w64-headers/include/memoryapi.h
+++ b/mingw-w64-headers/include/memoryapi.h
@@ -49,6 +49,9 @@ extern "C" {
   WINBASEAPI WINBOOL WINAPI UnmapViewOfFile (LPCVOID lpBaseAddress);
   WINBASEAPI HANDLE WINAPI CreateFileMappingFromApp (HANDLE hFile, 
PSECURITY_ATTRIBUTES SecurityAttributes, ULONG PageProtection, ULONG64 
MaximumSize, PCWSTR Name);
   WINBASEAPI PVOID WINAPI MapViewOfFileFromApp (HANDLE hFileMappingObject, 
ULONG DesiredAccess, ULONG64 FileOffset, SIZE_T NumberOfBytesToMap);
+#if _WIN32_WINNT >= 0x0A00
+  WINBASEAPI PVOID WINAPI VirtualAllocFromApp(PVOID BaseAddress, SIZE_T Size, 
ULONG AllocationType, ULONG  Protection);
+#endif
 #endif
 
 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP) || 
defined(WINSTORECOMPAT)
-- 
2.8.1


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to