Cygwin: memory: declare extended memory API
Windows 10 1803 introduced an extended memory API allowing to specify memory regions allocations are to be taken off. In preparation of using this API, define the struct MEM_EXTENDED_PARAMETER and friends. Declare and allow to autoload the functions VirtualAlloc2 and NtMapViewOfSectionEx. Introduce a wincap flag has_extended_mem_api. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -1427,6 +1427,9 @@ extern "C"
|
||||
NTSTATUS NTAPI NtMapViewOfSection (HANDLE, HANDLE, PVOID *, ULONG_PTR, SIZE_T,
|
||||
PLARGE_INTEGER, PSIZE_T, SECTION_INHERIT,
|
||||
ULONG, ULONG);
|
||||
NTSTATUS NTAPI NtMapViewOfSectionEx (HANDLE, HANDLE, PVOID *, PLARGE_INTEGER,
|
||||
PSIZE_T, ULONG, ULONG,
|
||||
PMEM_EXTENDED_PARAMETER, ULONG);
|
||||
NTSTATUS NTAPI NtNotifyChangeDirectoryFile (HANDLE, HANDLE, PIO_APC_ROUTINE,
|
||||
PVOID, PIO_STATUS_BLOCK,
|
||||
PFILE_NOTIFY_INFORMATION, ULONG,
|
||||
|
Reference in New Issue
Block a user