Make some new Windows 10 memory APIs available

This commit is contained in:
Justine Tunney 2024-07-19 22:26:49 -07:00
parent f6ba270ff3
commit 101fb3d9b3
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
5 changed files with 30 additions and 4 deletions

View file

@ -205,7 +205,6 @@ imp 'LoadResource' LoadResource kernel32 2
imp 'LocalFree' LocalFree kernel32 1
imp 'LockFile' LockFile kernel32 5
imp 'LockResource' LockResource kernel32 1
imp 'MapViewOfFile3' MapViewOfFile3 kernel32 9
imp 'MoveFile' MoveFileW kernel32 2
imp 'MultiByteToWideChar' MultiByteToWideChar kernel32 6
imp 'OfferVirtualMemory' OfferVirtualMemory kernel32 3
@ -296,7 +295,6 @@ imp 'UnmapViewOfFile2' UnmapViewOfFile2 kernel32 2
imp 'UnmapViewOfFileEx' UnmapViewOfFileEx kernel32 3
imp 'UpdateProcThreadAttribute' UpdateProcThreadAttribute kernel32 7
imp 'VirtualAlloc' VirtualAlloc kernel32 4
imp 'VirtualAlloc2' VirtualAlloc2 kernel32 7
imp 'VirtualAllocEx' VirtualAllocEx kernel32 5
imp 'VirtualFree' VirtualFree kernel32 3
imp 'VirtualLock' VirtualLock kernel32 2
@ -629,6 +627,12 @@ imp 'WaitOnAddress' WaitOnAddress API-MS-Win-Core-Synch-l1-2-0 4
imp 'WakeByAddressAll' WakeByAddressAll API-MS-Win-Core-Synch-l1-2-0 1
imp 'WakeByAddressSingle' WakeByAddressSingle API-MS-Win-Core-Synch-l1-2-0 1
# API-MS-Win-Core-Memory-l1-1-6.dll (Windows 10+)
#
# Name Actual DLL Arity
imp 'MapViewOfFile3' MapViewOfFile3 API-MS-Win-Core-Memory-l1-1-6 9
imp 'VirtualAlloc2' VirtualAlloc2 API-MS-Win-Core-Memory-l1-1-6 7
# NTDLL.DLL
# BEYOND THE PALE
#