| 1 |
#[cfg(feature = "Win32_System_Memory_NonVolatile")] |
| 2 |
#[doc = "Required features: `\"Win32_System_Memory_NonVolatile\"`"] |
| 3 |
pub mod NonVolatile; |
| 4 |
#[cfg(feature = "Win32_Foundation")] |
| 5 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddSecureMemoryCacheCallback(pfncallback : PSECURE_MEMORY_CACHE_CALLBACK) -> super::super::Foundation:: BOOL); |
| 6 |
#[cfg(feature = "Win32_Foundation")] |
| 7 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AllocateUserPhysicalPages(hprocess : super::super::Foundation:: HANDLE, numberofpages : *mut usize, pagearray : *mut usize) -> super::super::Foundation:: BOOL); |
| 8 |
#[cfg(feature = "Win32_Foundation")] |
| 9 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-8.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AllocateUserPhysicalPages2(objecthandle : super::super::Foundation:: HANDLE, numberofpages : *mut usize, pagearray : *mut usize, extendedparameters : *mut MEM_EXTENDED_PARAMETER, extendedparametercount : u32) -> super::super::Foundation:: BOOL); |
| 10 |
#[cfg(feature = "Win32_Foundation")] |
| 11 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AllocateUserPhysicalPagesNuma(hprocess : super::super::Foundation:: HANDLE, numberofpages : *mut usize, pagearray : *mut usize, nndpreferred : u32) -> super::super::Foundation:: BOOL); |
| 12 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 13 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-7.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateFileMapping2(file : super::super::Foundation:: HANDLE, securityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, desiredaccess : u32, pageprotection : PAGE_PROTECTION_FLAGS, allocationattributes : u32, maximumsize : u64, name : ::windows_sys::core::PCWSTR, extendedparameters : *mut MEM_EXTENDED_PARAMETER, parametercount : u32) -> super::super::Foundation:: HANDLE); |
| 14 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 15 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateFileMappingA(hfile : super::super::Foundation:: HANDLE, lpfilemappingattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, flprotect : PAGE_PROTECTION_FLAGS, dwmaximumsizehigh : u32, dwmaximumsizelow : u32, lpname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: HANDLE); |
| 16 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 17 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateFileMappingFromApp(hfile : super::super::Foundation:: HANDLE, securityattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, pageprotection : PAGE_PROTECTION_FLAGS, maximumsize : u64, name : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: HANDLE); |
| 18 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 19 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateFileMappingNumaA(hfile : super::super::Foundation:: HANDLE, lpfilemappingattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, flprotect : PAGE_PROTECTION_FLAGS, dwmaximumsizehigh : u32, dwmaximumsizelow : u32, lpname : ::windows_sys::core::PCSTR, nndpreferred : u32) -> super::super::Foundation:: HANDLE); |
| 20 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 21 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateFileMappingNumaW(hfile : super::super::Foundation:: HANDLE, lpfilemappingattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, flprotect : PAGE_PROTECTION_FLAGS, dwmaximumsizehigh : u32, dwmaximumsizelow : u32, lpname : ::windows_sys::core::PCWSTR, nndpreferred : u32) -> super::super::Foundation:: HANDLE); |
| 22 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 23 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn CreateFileMappingW(hfile : super::super::Foundation:: HANDLE, lpfilemappingattributes : *const super::super::Security:: SECURITY_ATTRIBUTES, flprotect : PAGE_PROTECTION_FLAGS, dwmaximumsizehigh : u32, dwmaximumsizelow : u32, lpname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: HANDLE); |
| 24 |
#[cfg(feature = "Win32_Foundation")] |
| 25 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreateMemoryResourceNotification(notificationtype : MEMORY_RESOURCE_NOTIFICATION_TYPE) -> super::super::Foundation:: HANDLE); |
| 26 |
::windows_targets::link!("kernel32.dll" "system" fn DiscardVirtualMemory(virtualaddress : *mut ::core::ffi::c_void, size : usize) -> u32); |
| 27 |
#[cfg(feature = "Win32_Foundation")] |
| 28 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FlushViewOfFile(lpbaseaddress : *const ::core::ffi::c_void, dwnumberofbytestoflush : usize) -> super::super::Foundation:: BOOL); |
| 29 |
#[cfg(feature = "Win32_Foundation")] |
| 30 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeUserPhysicalPages(hprocess : super::super::Foundation:: HANDLE, numberofpages : *mut usize, pagearray : *const usize) -> super::super::Foundation:: BOOL); |
| 31 |
::windows_targets::link!("kernel32.dll" "system" fn GetLargePageMinimum() -> usize); |
| 32 |
#[cfg(feature = "Win32_Foundation")] |
| 33 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetMemoryErrorHandlingCapabilities(capabilities : *mut u32) -> super::super::Foundation:: BOOL); |
| 34 |
#[cfg(feature = "Win32_Foundation")] |
| 35 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetProcessHeap() -> super::super::Foundation:: HANDLE); |
| 36 |
#[cfg(feature = "Win32_Foundation")] |
| 37 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetProcessHeaps(numberofheaps : u32, processheaps : *mut super::super::Foundation:: HANDLE) -> u32); |
| 38 |
#[cfg(feature = "Win32_Foundation")] |
| 39 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetProcessWorkingSetSizeEx(hprocess : super::super::Foundation:: HANDLE, lpminimumworkingsetsize : *mut usize, lpmaximumworkingsetsize : *mut usize, flags : *mut u32) -> super::super::Foundation:: BOOL); |
| 40 |
#[cfg(feature = "Win32_Foundation")] |
| 41 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSystemFileCacheSize(lpminimumfilecachesize : *mut usize, lpmaximumfilecachesize : *mut usize, lpflags : *mut u32) -> super::super::Foundation:: BOOL); |
| 42 |
::windows_targets::link!("kernel32.dll" "system" fn GetWriteWatch(dwflags : u32, lpbaseaddress : *const ::core::ffi::c_void, dwregionsize : usize, lpaddresses : *mut *mut ::core::ffi::c_void, lpdwcount : *mut usize, lpdwgranularity : *mut u32) -> u32); |
| 43 |
#[cfg(feature = "Win32_Foundation")] |
| 44 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GlobalAlloc(uflags : GLOBAL_ALLOC_FLAGS, dwbytes : usize) -> super::super::Foundation:: HGLOBAL); |
| 45 |
#[cfg(feature = "Win32_Foundation")] |
| 46 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GlobalFlags(hmem : super::super::Foundation:: HGLOBAL) -> u32); |
| 47 |
#[cfg(feature = "Win32_Foundation")] |
| 48 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GlobalHandle(pmem : *const ::core::ffi::c_void) -> super::super::Foundation:: HGLOBAL); |
| 49 |
#[cfg(feature = "Win32_Foundation")] |
| 50 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GlobalLock(hmem : super::super::Foundation:: HGLOBAL) -> *mut ::core::ffi::c_void); |
| 51 |
#[cfg(feature = "Win32_Foundation")] |
| 52 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GlobalReAlloc(hmem : super::super::Foundation:: HGLOBAL, dwbytes : usize, uflags : u32) -> super::super::Foundation:: HGLOBAL); |
| 53 |
#[cfg(feature = "Win32_Foundation")] |
| 54 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GlobalSize(hmem : super::super::Foundation:: HGLOBAL) -> usize); |
| 55 |
#[cfg(feature = "Win32_Foundation")] |
| 56 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GlobalUnlock(hmem : super::super::Foundation:: HGLOBAL) -> super::super::Foundation:: BOOL); |
| 57 |
#[cfg(feature = "Win32_Foundation")] |
| 58 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HeapAlloc(hheap : super::super::Foundation:: HANDLE, dwflags : HEAP_FLAGS, dwbytes : usize) -> *mut ::core::ffi::c_void); |
| 59 |
#[cfg(feature = "Win32_Foundation")] |
| 60 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HeapCompact(hheap : super::super::Foundation:: HANDLE, dwflags : HEAP_FLAGS) -> usize); |
| 61 |
#[cfg(feature = "Win32_Foundation")] |
| 62 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HeapCreate(floptions : HEAP_FLAGS, dwinitialsize : usize, dwmaximumsize : usize) -> super::super::Foundation:: HANDLE); |
| 63 |
#[cfg(feature = "Win32_Foundation")] |
| 64 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HeapDestroy(hheap : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); |
| 65 |
#[cfg(feature = "Win32_Foundation")] |
| 66 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HeapFree(hheap : super::super::Foundation:: HANDLE, dwflags : HEAP_FLAGS, lpmem : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| 67 |
#[cfg(feature = "Win32_Foundation")] |
| 68 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HeapLock(hheap : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); |
| 69 |
#[cfg(feature = "Win32_Foundation")] |
| 70 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HeapQueryInformation(heaphandle : super::super::Foundation:: HANDLE, heapinformationclass : HEAP_INFORMATION_CLASS, heapinformation : *mut ::core::ffi::c_void, heapinformationlength : usize, returnlength : *mut usize) -> super::super::Foundation:: BOOL); |
| 71 |
#[cfg(feature = "Win32_Foundation")] |
| 72 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HeapReAlloc(hheap : super::super::Foundation:: HANDLE, dwflags : HEAP_FLAGS, lpmem : *const ::core::ffi::c_void, dwbytes : usize) -> *mut ::core::ffi::c_void); |
| 73 |
#[cfg(feature = "Win32_Foundation")] |
| 74 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HeapSetInformation(heaphandle : super::super::Foundation:: HANDLE, heapinformationclass : HEAP_INFORMATION_CLASS, heapinformation : *const ::core::ffi::c_void, heapinformationlength : usize) -> super::super::Foundation:: BOOL); |
| 75 |
#[cfg(feature = "Win32_Foundation")] |
| 76 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HeapSize(hheap : super::super::Foundation:: HANDLE, dwflags : HEAP_FLAGS, lpmem : *const ::core::ffi::c_void) -> usize); |
| 77 |
#[cfg(feature = "Win32_Foundation")] |
| 78 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HeapSummary(hheap : super::super::Foundation:: HANDLE, dwflags : u32, lpsummary : *mut HEAP_SUMMARY) -> super::super::Foundation:: BOOL); |
| 79 |
#[cfg(feature = "Win32_Foundation")] |
| 80 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HeapUnlock(hheap : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); |
| 81 |
#[cfg(feature = "Win32_Foundation")] |
| 82 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HeapValidate(hheap : super::super::Foundation:: HANDLE, dwflags : HEAP_FLAGS, lpmem : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| 83 |
#[cfg(feature = "Win32_Foundation")] |
| 84 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HeapWalk(hheap : super::super::Foundation:: HANDLE, lpentry : *mut PROCESS_HEAP_ENTRY) -> super::super::Foundation:: BOOL); |
| 85 |
#[cfg(feature = "Win32_Foundation")] |
| 86 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsBadCodePtr(lpfn : super::super::Foundation:: FARPROC) -> super::super::Foundation:: BOOL); |
| 87 |
#[cfg(feature = "Win32_Foundation")] |
| 88 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsBadReadPtr(lp : *const ::core::ffi::c_void, ucb : usize) -> super::super::Foundation:: BOOL); |
| 89 |
#[cfg(feature = "Win32_Foundation")] |
| 90 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsBadStringPtrA(lpsz : ::windows_sys::core::PCSTR, ucchmax : usize) -> super::super::Foundation:: BOOL); |
| 91 |
#[cfg(feature = "Win32_Foundation")] |
| 92 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsBadStringPtrW(lpsz : ::windows_sys::core::PCWSTR, ucchmax : usize) -> super::super::Foundation:: BOOL); |
| 93 |
#[cfg(feature = "Win32_Foundation")] |
| 94 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsBadWritePtr(lp : *const ::core::ffi::c_void, ucb : usize) -> super::super::Foundation:: BOOL); |
| 95 |
#[cfg(feature = "Win32_Foundation")] |
| 96 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LocalAlloc(uflags : LOCAL_ALLOC_FLAGS, ubytes : usize) -> super::super::Foundation:: HLOCAL); |
| 97 |
#[cfg(feature = "Win32_Foundation")] |
| 98 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LocalFlags(hmem : super::super::Foundation:: HLOCAL) -> u32); |
| 99 |
#[cfg(feature = "Win32_Foundation")] |
| 100 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LocalHandle(pmem : *const ::core::ffi::c_void) -> super::super::Foundation:: HLOCAL); |
| 101 |
#[cfg(feature = "Win32_Foundation")] |
| 102 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LocalLock(hmem : super::super::Foundation:: HLOCAL) -> *mut ::core::ffi::c_void); |
| 103 |
#[cfg(feature = "Win32_Foundation")] |
| 104 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LocalReAlloc(hmem : super::super::Foundation:: HLOCAL, ubytes : usize, uflags : u32) -> super::super::Foundation:: HLOCAL); |
| 105 |
#[cfg(feature = "Win32_Foundation")] |
| 106 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LocalSize(hmem : super::super::Foundation:: HLOCAL) -> usize); |
| 107 |
#[cfg(feature = "Win32_Foundation")] |
| 108 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LocalUnlock(hmem : super::super::Foundation:: HLOCAL) -> super::super::Foundation:: BOOL); |
| 109 |
#[cfg(feature = "Win32_Foundation")] |
| 110 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MapUserPhysicalPages(virtualaddress : *const ::core::ffi::c_void, numberofpages : usize, pagearray : *const usize) -> super::super::Foundation:: BOOL); |
| 111 |
#[cfg(feature = "Win32_Foundation")] |
| 112 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MapUserPhysicalPagesScatter(virtualaddresses : *const *const ::core::ffi::c_void, numberofpages : usize, pagearray : *const usize) -> super::super::Foundation:: BOOL); |
| 113 |
#[cfg(feature = "Win32_Foundation")] |
| 114 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MapViewOfFile(hfilemappingobject : super::super::Foundation:: HANDLE, dwdesiredaccess : FILE_MAP, dwfileoffsethigh : u32, dwfileoffsetlow : u32, dwnumberofbytestomap : usize) -> MEMORY_MAPPED_VIEW_ADDRESS); |
| 115 |
#[cfg(feature = "Win32_Foundation")] |
| 116 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-6.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MapViewOfFile3(filemapping : super::super::Foundation:: HANDLE, process : super::super::Foundation:: HANDLE, baseaddress : *const ::core::ffi::c_void, offset : u64, viewsize : usize, allocationtype : VIRTUAL_ALLOCATION_TYPE, pageprotection : u32, extendedparameters : *mut MEM_EXTENDED_PARAMETER, parametercount : u32) -> MEMORY_MAPPED_VIEW_ADDRESS); |
| 117 |
#[cfg(feature = "Win32_Foundation")] |
| 118 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-6.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MapViewOfFile3FromApp(filemapping : super::super::Foundation:: HANDLE, process : super::super::Foundation:: HANDLE, baseaddress : *const ::core::ffi::c_void, offset : u64, viewsize : usize, allocationtype : VIRTUAL_ALLOCATION_TYPE, pageprotection : u32, extendedparameters : *mut MEM_EXTENDED_PARAMETER, parametercount : u32) -> MEMORY_MAPPED_VIEW_ADDRESS); |
| 119 |
#[cfg(feature = "Win32_Foundation")] |
| 120 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MapViewOfFileEx(hfilemappingobject : super::super::Foundation:: HANDLE, dwdesiredaccess : FILE_MAP, dwfileoffsethigh : u32, dwfileoffsetlow : u32, dwnumberofbytestomap : usize, lpbaseaddress : *const ::core::ffi::c_void) -> MEMORY_MAPPED_VIEW_ADDRESS); |
| 121 |
#[cfg(feature = "Win32_Foundation")] |
| 122 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MapViewOfFileExNuma(hfilemappingobject : super::super::Foundation:: HANDLE, dwdesiredaccess : FILE_MAP, dwfileoffsethigh : u32, dwfileoffsetlow : u32, dwnumberofbytestomap : usize, lpbaseaddress : *const ::core::ffi::c_void, nndpreferred : u32) -> MEMORY_MAPPED_VIEW_ADDRESS); |
| 123 |
#[cfg(feature = "Win32_Foundation")] |
| 124 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MapViewOfFileFromApp(hfilemappingobject : super::super::Foundation:: HANDLE, desiredaccess : FILE_MAP, fileoffset : u64, numberofbytestomap : usize) -> MEMORY_MAPPED_VIEW_ADDRESS); |
| 125 |
#[cfg(feature = "Win32_Foundation")] |
| 126 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-5.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MapViewOfFileNuma2(filemappinghandle : super::super::Foundation:: HANDLE, processhandle : super::super::Foundation:: HANDLE, offset : u64, baseaddress : *const ::core::ffi::c_void, viewsize : usize, allocationtype : u32, pageprotection : u32, preferrednode : u32) -> MEMORY_MAPPED_VIEW_ADDRESS); |
| 127 |
::windows_targets::link!("kernel32.dll" "system" fn OfferVirtualMemory(virtualaddress : *mut ::core::ffi::c_void, size : usize, priority : OFFER_PRIORITY) -> u32); |
| 128 |
#[cfg(feature = "Win32_Foundation")] |
| 129 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-8.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OpenDedicatedMemoryPartition(partition : super::super::Foundation:: HANDLE, dedicatedmemorytypeid : u64, desiredaccess : u32, inherithandle : super::super::Foundation:: BOOL) -> super::super::Foundation:: HANDLE); |
| 130 |
#[cfg(feature = "Win32_Foundation")] |
| 131 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OpenFileMappingA(dwdesiredaccess : u32, binherithandle : super::super::Foundation:: BOOL, lpname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: HANDLE); |
| 132 |
#[cfg(feature = "Win32_Foundation")] |
| 133 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-3.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OpenFileMappingFromApp(desiredaccess : u32, inherithandle : super::super::Foundation:: BOOL, name : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: HANDLE); |
| 134 |
#[cfg(feature = "Win32_Foundation")] |
| 135 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OpenFileMappingW(dwdesiredaccess : u32, binherithandle : super::super::Foundation:: BOOL, lpname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: HANDLE); |
| 136 |
#[cfg(feature = "Win32_Foundation")] |
| 137 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrefetchVirtualMemory(hprocess : super::super::Foundation:: HANDLE, numberofentries : usize, virtualaddresses : *const WIN32_MEMORY_RANGE_ENTRY, flags : u32) -> super::super::Foundation:: BOOL); |
| 138 |
#[cfg(feature = "Win32_Foundation")] |
| 139 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn QueryMemoryResourceNotification(resourcenotificationhandle : super::super::Foundation:: HANDLE, resourcestate : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| 140 |
#[cfg(feature = "Win32_Foundation")] |
| 141 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-8.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn QueryPartitionInformation(partition : super::super::Foundation:: HANDLE, partitioninformationclass : WIN32_MEMORY_PARTITION_INFORMATION_CLASS, partitioninformation : *mut ::core::ffi::c_void, partitioninformationlength : u32) -> super::super::Foundation:: BOOL); |
| 142 |
#[cfg(feature = "Win32_Foundation")] |
| 143 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-4.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn QueryVirtualMemoryInformation(process : super::super::Foundation:: HANDLE, virtualaddress : *const ::core::ffi::c_void, memoryinformationclass : WIN32_MEMORY_INFORMATION_CLASS, memoryinformation : *mut ::core::ffi::c_void, memoryinformationsize : usize, returnsize : *mut usize) -> super::super::Foundation:: BOOL); |
| 144 |
::windows_targets::link!("kernel32.dll" "system" fn ReclaimVirtualMemory(virtualaddress : *const ::core::ffi::c_void, size : usize) -> u32); |
| 145 |
::windows_targets::link!("kernel32.dll" "system" fn RegisterBadMemoryNotification(callback : PBAD_MEMORY_CALLBACK_ROUTINE) -> *mut ::core::ffi::c_void); |
| 146 |
#[cfg(feature = "Win32_Foundation")] |
| 147 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RemoveSecureMemoryCacheCallback(pfncallback : PSECURE_MEMORY_CACHE_CALLBACK) -> super::super::Foundation:: BOOL); |
| 148 |
::windows_targets::link!("kernel32.dll" "system" fn ResetWriteWatch(lpbaseaddress : *const ::core::ffi::c_void, dwregionsize : usize) -> u32); |
| 149 |
::windows_targets::link!("kernel32.dll" "system" fn RtlCompareMemory(source1 : *const ::core::ffi::c_void, source2 : *const ::core::ffi::c_void, length : usize) -> usize); |
| 150 |
::windows_targets::link!("ntdll.dll" "system" fn RtlCrc32(buffer : *const ::core::ffi::c_void, size : usize, initialcrc : u32) -> u32); |
| 151 |
::windows_targets::link!("ntdll.dll" "system" fn RtlCrc64(buffer : *const ::core::ffi::c_void, size : usize, initialcrc : u64) -> u64); |
| 152 |
#[cfg(feature = "Win32_Foundation")] |
| 153 |
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlIsZeroMemory(buffer : *const ::core::ffi::c_void, length : usize) -> super::super::Foundation:: BOOLEAN); |
| 154 |
#[cfg(feature = "Win32_Foundation")] |
| 155 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-3.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetProcessValidCallTargets(hprocess : super::super::Foundation:: HANDLE, virtualaddress : *const ::core::ffi::c_void, regionsize : usize, numberofoffsets : u32, offsetinformation : *mut CFG_CALL_TARGET_INFO) -> super::super::Foundation:: BOOL); |
| 156 |
#[cfg(feature = "Win32_Foundation")] |
| 157 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-7.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetProcessValidCallTargetsForMappedView(process : super::super::Foundation:: HANDLE, virtualaddress : *const ::core::ffi::c_void, regionsize : usize, numberofoffsets : u32, offsetinformation : *mut CFG_CALL_TARGET_INFO, section : super::super::Foundation:: HANDLE, expectedfileoffset : u64) -> super::super::Foundation:: BOOL); |
| 158 |
#[cfg(feature = "Win32_Foundation")] |
| 159 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetProcessWorkingSetSizeEx(hprocess : super::super::Foundation:: HANDLE, dwminimumworkingsetsize : usize, dwmaximumworkingsetsize : usize, flags : SETPROCESSWORKINGSETSIZEEX_FLAGS) -> super::super::Foundation:: BOOL); |
| 160 |
#[cfg(feature = "Win32_Foundation")] |
| 161 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetSystemFileCacheSize(minimumfilecachesize : usize, maximumfilecachesize : usize, flags : u32) -> super::super::Foundation:: BOOL); |
| 162 |
#[cfg(feature = "Win32_Foundation")] |
| 163 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn UnmapViewOfFile(lpbaseaddress : MEMORY_MAPPED_VIEW_ADDRESS) -> super::super::Foundation:: BOOL); |
| 164 |
#[cfg(feature = "Win32_Foundation")] |
| 165 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-5.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn UnmapViewOfFile2(process : super::super::Foundation:: HANDLE, baseaddress : MEMORY_MAPPED_VIEW_ADDRESS, unmapflags : UNMAP_VIEW_OF_FILE_FLAGS) -> super::super::Foundation:: BOOL); |
| 166 |
#[cfg(feature = "Win32_Foundation")] |
| 167 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn UnmapViewOfFileEx(baseaddress : MEMORY_MAPPED_VIEW_ADDRESS, unmapflags : UNMAP_VIEW_OF_FILE_FLAGS) -> super::super::Foundation:: BOOL); |
| 168 |
#[cfg(feature = "Win32_Foundation")] |
| 169 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn UnregisterBadMemoryNotification(registrationhandle : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| 170 |
::windows_targets::link!("kernel32.dll" "system" fn VirtualAlloc(lpaddress : *const ::core::ffi::c_void, dwsize : usize, flallocationtype : VIRTUAL_ALLOCATION_TYPE, flprotect : PAGE_PROTECTION_FLAGS) -> *mut ::core::ffi::c_void); |
| 171 |
#[cfg(feature = "Win32_Foundation")] |
| 172 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-6.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VirtualAlloc2(process : super::super::Foundation:: HANDLE, baseaddress : *const ::core::ffi::c_void, size : usize, allocationtype : VIRTUAL_ALLOCATION_TYPE, pageprotection : u32, extendedparameters : *mut MEM_EXTENDED_PARAMETER, parametercount : u32) -> *mut ::core::ffi::c_void); |
| 173 |
#[cfg(feature = "Win32_Foundation")] |
| 174 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-6.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VirtualAlloc2FromApp(process : super::super::Foundation:: HANDLE, baseaddress : *const ::core::ffi::c_void, size : usize, allocationtype : VIRTUAL_ALLOCATION_TYPE, pageprotection : u32, extendedparameters : *mut MEM_EXTENDED_PARAMETER, parametercount : u32) -> *mut ::core::ffi::c_void); |
| 175 |
#[cfg(feature = "Win32_Foundation")] |
| 176 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VirtualAllocEx(hprocess : super::super::Foundation:: HANDLE, lpaddress : *const ::core::ffi::c_void, dwsize : usize, flallocationtype : VIRTUAL_ALLOCATION_TYPE, flprotect : PAGE_PROTECTION_FLAGS) -> *mut ::core::ffi::c_void); |
| 177 |
#[cfg(feature = "Win32_Foundation")] |
| 178 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VirtualAllocExNuma(hprocess : super::super::Foundation:: HANDLE, lpaddress : *const ::core::ffi::c_void, dwsize : usize, flallocationtype : VIRTUAL_ALLOCATION_TYPE, flprotect : u32, nndpreferred : u32) -> *mut ::core::ffi::c_void); |
| 179 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-3.dll" "system" fn VirtualAllocFromApp(baseaddress : *const ::core::ffi::c_void, size : usize, allocationtype : VIRTUAL_ALLOCATION_TYPE, protection : u32) -> *mut ::core::ffi::c_void); |
| 180 |
#[cfg(feature = "Win32_Foundation")] |
| 181 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VirtualFree(lpaddress : *mut ::core::ffi::c_void, dwsize : usize, dwfreetype : VIRTUAL_FREE_TYPE) -> super::super::Foundation:: BOOL); |
| 182 |
#[cfg(feature = "Win32_Foundation")] |
| 183 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VirtualFreeEx(hprocess : super::super::Foundation:: HANDLE, lpaddress : *mut ::core::ffi::c_void, dwsize : usize, dwfreetype : VIRTUAL_FREE_TYPE) -> super::super::Foundation:: BOOL); |
| 184 |
#[cfg(feature = "Win32_Foundation")] |
| 185 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VirtualLock(lpaddress : *const ::core::ffi::c_void, dwsize : usize) -> super::super::Foundation:: BOOL); |
| 186 |
#[cfg(feature = "Win32_Foundation")] |
| 187 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VirtualProtect(lpaddress : *const ::core::ffi::c_void, dwsize : usize, flnewprotect : PAGE_PROTECTION_FLAGS, lpfloldprotect : *mut PAGE_PROTECTION_FLAGS) -> super::super::Foundation:: BOOL); |
| 188 |
#[cfg(feature = "Win32_Foundation")] |
| 189 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VirtualProtectEx(hprocess : super::super::Foundation:: HANDLE, lpaddress : *const ::core::ffi::c_void, dwsize : usize, flnewprotect : PAGE_PROTECTION_FLAGS, lpfloldprotect : *mut PAGE_PROTECTION_FLAGS) -> super::super::Foundation:: BOOL); |
| 190 |
#[cfg(feature = "Win32_Foundation")] |
| 191 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-3.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VirtualProtectFromApp(address : *const ::core::ffi::c_void, size : usize, newprotection : u32, oldprotection : *mut u32) -> super::super::Foundation:: BOOL); |
| 192 |
::windows_targets::link!("kernel32.dll" "system" fn VirtualQuery(lpaddress : *const ::core::ffi::c_void, lpbuffer : *mut MEMORY_BASIC_INFORMATION, dwlength : usize) -> usize); |
| 193 |
#[cfg(feature = "Win32_Foundation")] |
| 194 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VirtualQueryEx(hprocess : super::super::Foundation:: HANDLE, lpaddress : *const ::core::ffi::c_void, lpbuffer : *mut MEMORY_BASIC_INFORMATION, dwlength : usize) -> usize); |
| 195 |
#[cfg(feature = "Win32_Foundation")] |
| 196 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VirtualUnlock(lpaddress : *const ::core::ffi::c_void, dwsize : usize) -> super::super::Foundation:: BOOL); |
| 197 |
#[cfg(feature = "Win32_Foundation")] |
| 198 |
::windows_targets::link!("api-ms-win-core-memory-l1-1-5.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn VirtualUnlockEx(process : super::super::Foundation:: HANDLE, address : *const ::core::ffi::c_void, size : usize) -> super::super::Foundation:: BOOL); |
| 199 |
pub const FILE_CACHE_MAX_HARD_DISABLE: u32 = 2u32; |
| 200 |
pub const FILE_CACHE_MAX_HARD_ENABLE: u32 = 1u32; |
| 201 |
pub const FILE_CACHE_MIN_HARD_DISABLE: u32 = 8u32; |
| 202 |
pub const FILE_CACHE_MIN_HARD_ENABLE: u32 = 4u32; |
| 203 |
pub const FILE_MAP_ALL_ACCESS: FILE_MAP = 983071u32; |
| 204 |
pub const FILE_MAP_COPY: FILE_MAP = 1u32; |
| 205 |
pub const FILE_MAP_EXECUTE: FILE_MAP = 32u32; |
| 206 |
pub const FILE_MAP_LARGE_PAGES: FILE_MAP = 536870912u32; |
| 207 |
pub const FILE_MAP_READ: FILE_MAP = 4u32; |
| 208 |
pub const FILE_MAP_RESERVE: FILE_MAP = 2147483648u32; |
| 209 |
pub const FILE_MAP_TARGETS_INVALID: FILE_MAP = 1073741824u32; |
| 210 |
pub const FILE_MAP_WRITE: FILE_MAP = 2u32; |
| 211 |
pub const GHND: GLOBAL_ALLOC_FLAGS = 66u32; |
| 212 |
pub const GMEM_FIXED: GLOBAL_ALLOC_FLAGS = 0u32; |
| 213 |
pub const GMEM_MOVEABLE: GLOBAL_ALLOC_FLAGS = 2u32; |
| 214 |
pub const GMEM_ZEROINIT: GLOBAL_ALLOC_FLAGS = 64u32; |
| 215 |
pub const GPTR: GLOBAL_ALLOC_FLAGS = 64u32; |
| 216 |
pub const HEAP_CREATE_ALIGN_16: HEAP_FLAGS = 65536u32; |
| 217 |
pub const HEAP_CREATE_ENABLE_EXECUTE: HEAP_FLAGS = 262144u32; |
| 218 |
pub const HEAP_CREATE_ENABLE_TRACING: HEAP_FLAGS = 131072u32; |
| 219 |
pub const HEAP_CREATE_HARDENED: HEAP_FLAGS = 512u32; |
| 220 |
pub const HEAP_CREATE_SEGMENT_HEAP: HEAP_FLAGS = 256u32; |
| 221 |
pub const HEAP_DISABLE_COALESCE_ON_FREE: HEAP_FLAGS = 128u32; |
| 222 |
pub const HEAP_FREE_CHECKING_ENABLED: HEAP_FLAGS = 64u32; |
| 223 |
pub const HEAP_GENERATE_EXCEPTIONS: HEAP_FLAGS = 4u32; |
| 224 |
pub const HEAP_GROWABLE: HEAP_FLAGS = 2u32; |
| 225 |
pub const HEAP_MAXIMUM_TAG: HEAP_FLAGS = 4095u32; |
| 226 |
pub const HEAP_NONE: HEAP_FLAGS = 0u32; |
| 227 |
pub const HEAP_NO_SERIALIZE: HEAP_FLAGS = 1u32; |
| 228 |
pub const HEAP_PSEUDO_TAG_FLAG: HEAP_FLAGS = 32768u32; |
| 229 |
pub const HEAP_REALLOC_IN_PLACE_ONLY: HEAP_FLAGS = 16u32; |
| 230 |
pub const HEAP_TAG_SHIFT: HEAP_FLAGS = 18u32; |
| 231 |
pub const HEAP_TAIL_CHECKING_ENABLED: HEAP_FLAGS = 32u32; |
| 232 |
pub const HEAP_ZERO_MEMORY: HEAP_FLAGS = 8u32; |
| 233 |
pub const HeapCompatibilityInformation: HEAP_INFORMATION_CLASS = 0i32; |
| 234 |
pub const HeapEnableTerminationOnCorruption: HEAP_INFORMATION_CLASS = 1i32; |
| 235 |
pub const HeapOptimizeResources: HEAP_INFORMATION_CLASS = 3i32; |
| 236 |
pub const HeapTag: HEAP_INFORMATION_CLASS = 7i32; |
| 237 |
pub const HighMemoryResourceNotification: MEMORY_RESOURCE_NOTIFICATION_TYPE = 1i32; |
| 238 |
pub const LHND: LOCAL_ALLOC_FLAGS = 66u32; |
| 239 |
pub const LMEM_FIXED: LOCAL_ALLOC_FLAGS = 0u32; |
| 240 |
pub const LMEM_MOVEABLE: LOCAL_ALLOC_FLAGS = 2u32; |
| 241 |
pub const LMEM_ZEROINIT: LOCAL_ALLOC_FLAGS = 64u32; |
| 242 |
pub const LPTR: LOCAL_ALLOC_FLAGS = 64u32; |
| 243 |
pub const LowMemoryResourceNotification: MEMORY_RESOURCE_NOTIFICATION_TYPE = 0i32; |
| 244 |
pub const MEHC_PATROL_SCRUBBER_PRESENT: u32 = 1u32; |
| 245 |
pub const MEM_COMMIT: VIRTUAL_ALLOCATION_TYPE = 4096u32; |
| 246 |
pub const MEM_DECOMMIT: VIRTUAL_FREE_TYPE = 16384u32; |
| 247 |
pub const MEM_FREE: VIRTUAL_ALLOCATION_TYPE = 65536u32; |
| 248 |
pub const MEM_IMAGE: PAGE_TYPE = 16777216u32; |
| 249 |
pub const MEM_LARGE_PAGES: VIRTUAL_ALLOCATION_TYPE = 536870912u32; |
| 250 |
pub const MEM_MAPPED: PAGE_TYPE = 262144u32; |
| 251 |
pub const MEM_PRESERVE_PLACEHOLDER: UNMAP_VIEW_OF_FILE_FLAGS = 2u32; |
| 252 |
pub const MEM_PRIVATE: PAGE_TYPE = 131072u32; |
| 253 |
pub const MEM_RELEASE: VIRTUAL_FREE_TYPE = 32768u32; |
| 254 |
pub const MEM_REPLACE_PLACEHOLDER: VIRTUAL_ALLOCATION_TYPE = 16384u32; |
| 255 |
pub const MEM_RESERVE: VIRTUAL_ALLOCATION_TYPE = 8192u32; |
| 256 |
pub const MEM_RESERVE_PLACEHOLDER: VIRTUAL_ALLOCATION_TYPE = 262144u32; |
| 257 |
pub const MEM_RESET: VIRTUAL_ALLOCATION_TYPE = 524288u32; |
| 258 |
pub const MEM_RESET_UNDO: VIRTUAL_ALLOCATION_TYPE = 16777216u32; |
| 259 |
pub const MEM_UNMAP_NONE: UNMAP_VIEW_OF_FILE_FLAGS = 0u32; |
| 260 |
pub const MEM_UNMAP_WITH_TRANSIENT_BOOST: UNMAP_VIEW_OF_FILE_FLAGS = 1u32; |
| 261 |
pub const MemDedicatedAttributeMax: MEM_DEDICATED_ATTRIBUTE_TYPE = 4i32; |
| 262 |
pub const MemDedicatedAttributeReadBandwidth: MEM_DEDICATED_ATTRIBUTE_TYPE = 0i32; |
| 263 |
pub const MemDedicatedAttributeReadLatency: MEM_DEDICATED_ATTRIBUTE_TYPE = 1i32; |
| 264 |
pub const MemDedicatedAttributeWriteBandwidth: MEM_DEDICATED_ATTRIBUTE_TYPE = 2i32; |
| 265 |
pub const MemDedicatedAttributeWriteLatency: MEM_DEDICATED_ATTRIBUTE_TYPE = 3i32; |
| 266 |
pub const MemExtendedParameterAddressRequirements: MEM_EXTENDED_PARAMETER_TYPE = 1i32; |
| 267 |
pub const MemExtendedParameterAttributeFlags: MEM_EXTENDED_PARAMETER_TYPE = 5i32; |
| 268 |
pub const MemExtendedParameterImageMachine: MEM_EXTENDED_PARAMETER_TYPE = 6i32; |
| 269 |
pub const MemExtendedParameterInvalidType: MEM_EXTENDED_PARAMETER_TYPE = 0i32; |
| 270 |
pub const MemExtendedParameterMax: MEM_EXTENDED_PARAMETER_TYPE = 7i32; |
| 271 |
pub const MemExtendedParameterNumaNode: MEM_EXTENDED_PARAMETER_TYPE = 2i32; |
| 272 |
pub const MemExtendedParameterPartitionHandle: MEM_EXTENDED_PARAMETER_TYPE = 3i32; |
| 273 |
pub const MemExtendedParameterUserPhysicalHandle: MEM_EXTENDED_PARAMETER_TYPE = 4i32; |
| 274 |
pub const MemSectionExtendedParameterInvalidType: MEM_SECTION_EXTENDED_PARAMETER_TYPE = 0i32; |
| 275 |
pub const MemSectionExtendedParameterMax: MEM_SECTION_EXTENDED_PARAMETER_TYPE = 4i32; |
| 276 |
pub const MemSectionExtendedParameterNumaNode: MEM_SECTION_EXTENDED_PARAMETER_TYPE = 2i32; |
| 277 |
pub const MemSectionExtendedParameterSigningLevel: MEM_SECTION_EXTENDED_PARAMETER_TYPE = 3i32; |
| 278 |
pub const MemSectionExtendedParameterUserPhysicalFlags: MEM_SECTION_EXTENDED_PARAMETER_TYPE = 1i32; |
| 279 |
pub const MemoryPartitionDedicatedMemoryInfo: WIN32_MEMORY_PARTITION_INFORMATION_CLASS = 1i32; |
| 280 |
pub const MemoryPartitionInfo: WIN32_MEMORY_PARTITION_INFORMATION_CLASS = 0i32; |
| 281 |
pub const MemoryRegionInfo: WIN32_MEMORY_INFORMATION_CLASS = 0i32; |
| 282 |
pub const NONZEROLHND: LOCAL_ALLOC_FLAGS = 2u32; |
| 283 |
pub const NONZEROLPTR: LOCAL_ALLOC_FLAGS = 0u32; |
| 284 |
pub const PAGE_ENCLAVE_DECOMMIT: PAGE_PROTECTION_FLAGS = 268435456u32; |
| 285 |
pub const PAGE_ENCLAVE_MASK: PAGE_PROTECTION_FLAGS = 268435456u32; |
| 286 |
pub const PAGE_ENCLAVE_SS_FIRST: PAGE_PROTECTION_FLAGS = 268435457u32; |
| 287 |
pub const PAGE_ENCLAVE_SS_REST: PAGE_PROTECTION_FLAGS = 268435458u32; |
| 288 |
pub const PAGE_ENCLAVE_THREAD_CONTROL: PAGE_PROTECTION_FLAGS = 2147483648u32; |
| 289 |
pub const PAGE_ENCLAVE_UNVALIDATED: PAGE_PROTECTION_FLAGS = 536870912u32; |
| 290 |
pub const PAGE_EXECUTE: PAGE_PROTECTION_FLAGS = 16u32; |
| 291 |
pub const PAGE_EXECUTE_READ: PAGE_PROTECTION_FLAGS = 32u32; |
| 292 |
pub const PAGE_EXECUTE_READWRITE: PAGE_PROTECTION_FLAGS = 64u32; |
| 293 |
pub const PAGE_EXECUTE_WRITECOPY: PAGE_PROTECTION_FLAGS = 128u32; |
| 294 |
pub const PAGE_GRAPHICS_COHERENT: PAGE_PROTECTION_FLAGS = 131072u32; |
| 295 |
pub const PAGE_GRAPHICS_EXECUTE: PAGE_PROTECTION_FLAGS = 16384u32; |
| 296 |
pub const PAGE_GRAPHICS_EXECUTE_READ: PAGE_PROTECTION_FLAGS = 32768u32; |
| 297 |
pub const PAGE_GRAPHICS_EXECUTE_READWRITE: PAGE_PROTECTION_FLAGS = 65536u32; |
| 298 |
pub const PAGE_GRAPHICS_NOACCESS: PAGE_PROTECTION_FLAGS = 2048u32; |
| 299 |
pub const PAGE_GRAPHICS_NOCACHE: PAGE_PROTECTION_FLAGS = 262144u32; |
| 300 |
pub const PAGE_GRAPHICS_READONLY: PAGE_PROTECTION_FLAGS = 4096u32; |
| 301 |
pub const PAGE_GRAPHICS_READWRITE: PAGE_PROTECTION_FLAGS = 8192u32; |
| 302 |
pub const PAGE_GUARD: PAGE_PROTECTION_FLAGS = 256u32; |
| 303 |
pub const PAGE_NOACCESS: PAGE_PROTECTION_FLAGS = 1u32; |
| 304 |
pub const PAGE_NOCACHE: PAGE_PROTECTION_FLAGS = 512u32; |
| 305 |
pub const PAGE_READONLY: PAGE_PROTECTION_FLAGS = 2u32; |
| 306 |
pub const PAGE_READWRITE: PAGE_PROTECTION_FLAGS = 4u32; |
| 307 |
pub const PAGE_REVERT_TO_FILE_MAP: PAGE_PROTECTION_FLAGS = 2147483648u32; |
| 308 |
pub const PAGE_TARGETS_INVALID: PAGE_PROTECTION_FLAGS = 1073741824u32; |
| 309 |
pub const PAGE_TARGETS_NO_UPDATE: PAGE_PROTECTION_FLAGS = 1073741824u32; |
| 310 |
pub const PAGE_WRITECOMBINE: PAGE_PROTECTION_FLAGS = 1024u32; |
| 311 |
pub const PAGE_WRITECOPY: PAGE_PROTECTION_FLAGS = 8u32; |
| 312 |
pub const QUOTA_LIMITS_HARDWS_MAX_DISABLE: SETPROCESSWORKINGSETSIZEEX_FLAGS = 8u32; |
| 313 |
pub const QUOTA_LIMITS_HARDWS_MAX_ENABLE: SETPROCESSWORKINGSETSIZEEX_FLAGS = 4u32; |
| 314 |
pub const QUOTA_LIMITS_HARDWS_MIN_DISABLE: SETPROCESSWORKINGSETSIZEEX_FLAGS = 2u32; |
| 315 |
pub const QUOTA_LIMITS_HARDWS_MIN_ENABLE: SETPROCESSWORKINGSETSIZEEX_FLAGS = 1u32; |
| 316 |
pub const SECTION_ALL_ACCESS: SECTION_FLAGS = 983071u32; |
| 317 |
pub const SECTION_EXTEND_SIZE: SECTION_FLAGS = 16u32; |
| 318 |
pub const SECTION_MAP_EXECUTE: SECTION_FLAGS = 8u32; |
| 319 |
pub const SECTION_MAP_EXECUTE_EXPLICIT: SECTION_FLAGS = 32u32; |
| 320 |
pub const SECTION_MAP_READ: SECTION_FLAGS = 4u32; |
| 321 |
pub const SECTION_MAP_WRITE: SECTION_FLAGS = 2u32; |
| 322 |
pub const SECTION_QUERY: SECTION_FLAGS = 1u32; |
| 323 |
pub const SEC_64K_PAGES: PAGE_PROTECTION_FLAGS = 524288u32; |
| 324 |
pub const SEC_COMMIT: PAGE_PROTECTION_FLAGS = 134217728u32; |
| 325 |
pub const SEC_FILE: PAGE_PROTECTION_FLAGS = 8388608u32; |
| 326 |
pub const SEC_IMAGE: PAGE_PROTECTION_FLAGS = 16777216u32; |
| 327 |
pub const SEC_IMAGE_NO_EXECUTE: PAGE_PROTECTION_FLAGS = 285212672u32; |
| 328 |
pub const SEC_LARGE_PAGES: PAGE_PROTECTION_FLAGS = 2147483648u32; |
| 329 |
pub const SEC_NOCACHE: PAGE_PROTECTION_FLAGS = 268435456u32; |
| 330 |
pub const SEC_PARTITION_OWNER_HANDLE: PAGE_PROTECTION_FLAGS = 262144u32; |
| 331 |
pub const SEC_PROTECTED_IMAGE: PAGE_PROTECTION_FLAGS = 33554432u32; |
| 332 |
pub const SEC_RESERVE: PAGE_PROTECTION_FLAGS = 67108864u32; |
| 333 |
pub const SEC_WRITECOMBINE: PAGE_PROTECTION_FLAGS = 1073741824u32; |
| 334 |
pub const VmOfferPriorityBelowNormal: OFFER_PRIORITY = 3i32; |
| 335 |
pub const VmOfferPriorityLow: OFFER_PRIORITY = 2i32; |
| 336 |
pub const VmOfferPriorityNormal: OFFER_PRIORITY = 4i32; |
| 337 |
pub const VmOfferPriorityVeryLow: OFFER_PRIORITY = 1i32; |
| 338 |
pub type FILE_MAP = u32; |
| 339 |
pub type GLOBAL_ALLOC_FLAGS = u32; |
| 340 |
pub type HEAP_FLAGS = u32; |
| 341 |
pub type HEAP_INFORMATION_CLASS = i32; |
| 342 |
pub type LOCAL_ALLOC_FLAGS = u32; |
| 343 |
pub type MEMORY_RESOURCE_NOTIFICATION_TYPE = i32; |
| 344 |
pub type MEM_DEDICATED_ATTRIBUTE_TYPE = i32; |
| 345 |
pub type MEM_EXTENDED_PARAMETER_TYPE = i32; |
| 346 |
pub type MEM_SECTION_EXTENDED_PARAMETER_TYPE = i32; |
| 347 |
pub type OFFER_PRIORITY = i32; |
| 348 |
pub type PAGE_PROTECTION_FLAGS = u32; |
| 349 |
pub type PAGE_TYPE = u32; |
| 350 |
pub type SECTION_FLAGS = u32; |
| 351 |
pub type SETPROCESSWORKINGSETSIZEEX_FLAGS = u32; |
| 352 |
pub type UNMAP_VIEW_OF_FILE_FLAGS = u32; |
| 353 |
pub type VIRTUAL_ALLOCATION_TYPE = u32; |
| 354 |
pub type VIRTUAL_FREE_TYPE = u32; |
| 355 |
pub type WIN32_MEMORY_INFORMATION_CLASS = i32; |
| 356 |
pub type WIN32_MEMORY_PARTITION_INFORMATION_CLASS = i32; |
| 357 |
pub type AtlThunkData_t = isize; |
| 358 |
#[repr(C)] |
| 359 |
pub struct CFG_CALL_TARGET_INFO { |
| 360 |
pub Offset: usize, |
| 361 |
pub Flags: usize, |
| 362 |
} |
| 363 |
impl ::core::marker::Copy for CFG_CALL_TARGET_INFO {} |
| 364 |
impl ::core::clone::Clone for CFG_CALL_TARGET_INFO { |
| 365 |
fn clone(&self) -> Self { |
| 366 |
*self |
| 367 |
} |
| 368 |
} |
| 369 |
#[repr(C)] |
| 370 |
pub struct HEAP_SUMMARY { |
| 371 |
pub cb: u32, |
| 372 |
pub cbAllocated: usize, |
| 373 |
pub cbCommitted: usize, |
| 374 |
pub cbReserved: usize, |
| 375 |
pub cbMaxReserve: usize, |
| 376 |
} |
| 377 |
impl ::core::marker::Copy for HEAP_SUMMARY {} |
| 378 |
impl ::core::clone::Clone for HEAP_SUMMARY { |
| 379 |
fn clone(&self) -> Self { |
| 380 |
*self |
| 381 |
} |
| 382 |
} |
| 383 |
#[repr(C)] |
| 384 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 385 |
pub struct MEMORY_BASIC_INFORMATION { |
| 386 |
pub BaseAddress: *mut ::core::ffi::c_void, |
| 387 |
pub AllocationBase: *mut ::core::ffi::c_void, |
| 388 |
pub AllocationProtect: PAGE_PROTECTION_FLAGS, |
| 389 |
pub PartitionId: u16, |
| 390 |
pub RegionSize: usize, |
| 391 |
pub State: VIRTUAL_ALLOCATION_TYPE, |
| 392 |
pub Protect: PAGE_PROTECTION_FLAGS, |
| 393 |
pub Type: PAGE_TYPE, |
| 394 |
} |
| 395 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 396 |
impl ::core::marker::Copy for MEMORY_BASIC_INFORMATION {} |
| 397 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 398 |
impl ::core::clone::Clone for MEMORY_BASIC_INFORMATION { |
| 399 |
fn clone(&self) -> Self { |
| 400 |
*self |
| 401 |
} |
| 402 |
} |
| 403 |
#[repr(C)] |
| 404 |
#[cfg(target_arch = "x86")] |
| 405 |
pub struct MEMORY_BASIC_INFORMATION { |
| 406 |
pub BaseAddress: *mut ::core::ffi::c_void, |
| 407 |
pub AllocationBase: *mut ::core::ffi::c_void, |
| 408 |
pub AllocationProtect: PAGE_PROTECTION_FLAGS, |
| 409 |
pub RegionSize: usize, |
| 410 |
pub State: VIRTUAL_ALLOCATION_TYPE, |
| 411 |
pub Protect: PAGE_PROTECTION_FLAGS, |
| 412 |
pub Type: PAGE_TYPE, |
| 413 |
} |
| 414 |
#[cfg(target_arch = "x86")] |
| 415 |
impl ::core::marker::Copy for MEMORY_BASIC_INFORMATION {} |
| 416 |
#[cfg(target_arch = "x86")] |
| 417 |
impl ::core::clone::Clone for MEMORY_BASIC_INFORMATION { |
| 418 |
fn clone(&self) -> Self { |
| 419 |
*self |
| 420 |
} |
| 421 |
} |
| 422 |
#[repr(C)] |
| 423 |
pub struct MEMORY_BASIC_INFORMATION32 { |
| 424 |
pub BaseAddress: u32, |
| 425 |
pub AllocationBase: u32, |
| 426 |
pub AllocationProtect: PAGE_PROTECTION_FLAGS, |
| 427 |
pub RegionSize: u32, |
| 428 |
pub State: VIRTUAL_ALLOCATION_TYPE, |
| 429 |
pub Protect: PAGE_PROTECTION_FLAGS, |
| 430 |
pub Type: PAGE_TYPE, |
| 431 |
} |
| 432 |
impl ::core::marker::Copy for MEMORY_BASIC_INFORMATION32 {} |
| 433 |
impl ::core::clone::Clone for MEMORY_BASIC_INFORMATION32 { |
| 434 |
fn clone(&self) -> Self { |
| 435 |
*self |
| 436 |
} |
| 437 |
} |
| 438 |
#[repr(C)] |
| 439 |
pub struct MEMORY_BASIC_INFORMATION64 { |
| 440 |
pub BaseAddress: u64, |
| 441 |
pub AllocationBase: u64, |
| 442 |
pub AllocationProtect: PAGE_PROTECTION_FLAGS, |
| 443 |
pub __alignment1: u32, |
| 444 |
pub RegionSize: u64, |
| 445 |
pub State: VIRTUAL_ALLOCATION_TYPE, |
| 446 |
pub Protect: PAGE_PROTECTION_FLAGS, |
| 447 |
pub Type: PAGE_TYPE, |
| 448 |
pub __alignment2: u32, |
| 449 |
} |
| 450 |
impl ::core::marker::Copy for MEMORY_BASIC_INFORMATION64 {} |
| 451 |
impl ::core::clone::Clone for MEMORY_BASIC_INFORMATION64 { |
| 452 |
fn clone(&self) -> Self { |
| 453 |
*self |
| 454 |
} |
| 455 |
} |
| 456 |
#[repr(C)] |
| 457 |
pub struct MEMORY_MAPPED_VIEW_ADDRESS { |
| 458 |
pub Value: *mut ::core::ffi::c_void, |
| 459 |
} |
| 460 |
impl ::core::marker::Copy for MEMORY_MAPPED_VIEW_ADDRESS {} |
| 461 |
impl ::core::clone::Clone for MEMORY_MAPPED_VIEW_ADDRESS { |
| 462 |
fn clone(&self) -> Self { |
| 463 |
*self |
| 464 |
} |
| 465 |
} |
| 466 |
#[repr(C)] |
| 467 |
pub struct MEMORY_PARTITION_DEDICATED_MEMORY_ATTRIBUTE { |
| 468 |
pub Type: MEM_DEDICATED_ATTRIBUTE_TYPE, |
| 469 |
pub Reserved: u32, |
| 470 |
pub Value: u64, |
| 471 |
} |
| 472 |
impl ::core::marker::Copy for MEMORY_PARTITION_DEDICATED_MEMORY_ATTRIBUTE {} |
| 473 |
impl ::core::clone::Clone for MEMORY_PARTITION_DEDICATED_MEMORY_ATTRIBUTE { |
| 474 |
fn clone(&self) -> Self { |
| 475 |
*self |
| 476 |
} |
| 477 |
} |
| 478 |
#[repr(C)] |
| 479 |
pub struct MEMORY_PARTITION_DEDICATED_MEMORY_INFORMATION { |
| 480 |
pub NextEntryOffset: u32, |
| 481 |
pub SizeOfInformation: u32, |
| 482 |
pub Flags: u32, |
| 483 |
pub AttributesOffset: u32, |
| 484 |
pub AttributeCount: u32, |
| 485 |
pub Reserved: u32, |
| 486 |
pub TypeId: u64, |
| 487 |
} |
| 488 |
impl ::core::marker::Copy for MEMORY_PARTITION_DEDICATED_MEMORY_INFORMATION {} |
| 489 |
impl ::core::clone::Clone for MEMORY_PARTITION_DEDICATED_MEMORY_INFORMATION { |
| 490 |
fn clone(&self) -> Self { |
| 491 |
*self |
| 492 |
} |
| 493 |
} |
| 494 |
#[repr(C)] |
| 495 |
pub struct MEM_ADDRESS_REQUIREMENTS { |
| 496 |
pub LowestStartingAddress: *mut ::core::ffi::c_void, |
| 497 |
pub HighestEndingAddress: *mut ::core::ffi::c_void, |
| 498 |
pub Alignment: usize, |
| 499 |
} |
| 500 |
impl ::core::marker::Copy for MEM_ADDRESS_REQUIREMENTS {} |
| 501 |
impl ::core::clone::Clone for MEM_ADDRESS_REQUIREMENTS { |
| 502 |
fn clone(&self) -> Self { |
| 503 |
*self |
| 504 |
} |
| 505 |
} |
| 506 |
#[repr(C)] |
| 507 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 508 |
#[cfg(feature = "Win32_Foundation")] |
| 509 |
pub struct MEM_EXTENDED_PARAMETER { |
| 510 |
pub Anonymous1: MEM_EXTENDED_PARAMETER_0, |
| 511 |
pub Anonymous2: MEM_EXTENDED_PARAMETER_1, |
| 512 |
} |
| 513 |
#[cfg(feature = "Win32_Foundation")] |
| 514 |
impl ::core::marker::Copy for MEM_EXTENDED_PARAMETER {} |
| 515 |
#[cfg(feature = "Win32_Foundation")] |
| 516 |
impl ::core::clone::Clone for MEM_EXTENDED_PARAMETER { |
| 517 |
fn clone(&self) -> Self { |
| 518 |
*self |
| 519 |
} |
| 520 |
} |
| 521 |
#[repr(C)] |
| 522 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 523 |
#[cfg(feature = "Win32_Foundation")] |
| 524 |
pub struct MEM_EXTENDED_PARAMETER_0 { |
| 525 |
pub _bitfield: u64, |
| 526 |
} |
| 527 |
#[cfg(feature = "Win32_Foundation")] |
| 528 |
impl ::core::marker::Copy for MEM_EXTENDED_PARAMETER_0 {} |
| 529 |
#[cfg(feature = "Win32_Foundation")] |
| 530 |
impl ::core::clone::Clone for MEM_EXTENDED_PARAMETER_0 { |
| 531 |
fn clone(&self) -> Self { |
| 532 |
*self |
| 533 |
} |
| 534 |
} |
| 535 |
#[repr(C)] |
| 536 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 537 |
#[cfg(feature = "Win32_Foundation")] |
| 538 |
pub union MEM_EXTENDED_PARAMETER_1 { |
| 539 |
pub ULong64: u64, |
| 540 |
pub Pointer: *mut ::core::ffi::c_void, |
| 541 |
pub Size: usize, |
| 542 |
pub Handle: super::super::Foundation::HANDLE, |
| 543 |
pub ULong: u32, |
| 544 |
} |
| 545 |
#[cfg(feature = "Win32_Foundation")] |
| 546 |
impl ::core::marker::Copy for MEM_EXTENDED_PARAMETER_1 {} |
| 547 |
#[cfg(feature = "Win32_Foundation")] |
| 548 |
impl ::core::clone::Clone for MEM_EXTENDED_PARAMETER_1 { |
| 549 |
fn clone(&self) -> Self { |
| 550 |
*self |
| 551 |
} |
| 552 |
} |
| 553 |
#[repr(C)] |
| 554 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 555 |
#[cfg(feature = "Win32_Foundation")] |
| 556 |
pub struct PROCESS_HEAP_ENTRY { |
| 557 |
pub lpData: *mut ::core::ffi::c_void, |
| 558 |
pub cbData: u32, |
| 559 |
pub cbOverhead: u8, |
| 560 |
pub iRegionIndex: u8, |
| 561 |
pub wFlags: u16, |
| 562 |
pub Anonymous: PROCESS_HEAP_ENTRY_0, |
| 563 |
} |
| 564 |
#[cfg(feature = "Win32_Foundation")] |
| 565 |
impl ::core::marker::Copy for PROCESS_HEAP_ENTRY {} |
| 566 |
#[cfg(feature = "Win32_Foundation")] |
| 567 |
impl ::core::clone::Clone for PROCESS_HEAP_ENTRY { |
| 568 |
fn clone(&self) -> Self { |
| 569 |
*self |
| 570 |
} |
| 571 |
} |
| 572 |
#[repr(C)] |
| 573 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 574 |
#[cfg(feature = "Win32_Foundation")] |
| 575 |
pub union PROCESS_HEAP_ENTRY_0 { |
| 576 |
pub Block: PROCESS_HEAP_ENTRY_0_0, |
| 577 |
pub Region: PROCESS_HEAP_ENTRY_0_1, |
| 578 |
} |
| 579 |
#[cfg(feature = "Win32_Foundation")] |
| 580 |
impl ::core::marker::Copy for PROCESS_HEAP_ENTRY_0 {} |
| 581 |
#[cfg(feature = "Win32_Foundation")] |
| 582 |
impl ::core::clone::Clone for PROCESS_HEAP_ENTRY_0 { |
| 583 |
fn clone(&self) -> Self { |
| 584 |
*self |
| 585 |
} |
| 586 |
} |
| 587 |
#[repr(C)] |
| 588 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 589 |
#[cfg(feature = "Win32_Foundation")] |
| 590 |
pub struct PROCESS_HEAP_ENTRY_0_0 { |
| 591 |
pub hMem: super::super::Foundation::HANDLE, |
| 592 |
pub dwReserved: [u32; 3], |
| 593 |
} |
| 594 |
#[cfg(feature = "Win32_Foundation")] |
| 595 |
impl ::core::marker::Copy for PROCESS_HEAP_ENTRY_0_0 {} |
| 596 |
#[cfg(feature = "Win32_Foundation")] |
| 597 |
impl ::core::clone::Clone for PROCESS_HEAP_ENTRY_0_0 { |
| 598 |
fn clone(&self) -> Self { |
| 599 |
*self |
| 600 |
} |
| 601 |
} |
| 602 |
#[repr(C)] |
| 603 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 604 |
#[cfg(feature = "Win32_Foundation")] |
| 605 |
pub struct PROCESS_HEAP_ENTRY_0_1 { |
| 606 |
pub dwCommittedSize: u32, |
| 607 |
pub dwUnCommittedSize: u32, |
| 608 |
pub lpFirstBlock: *mut ::core::ffi::c_void, |
| 609 |
pub lpLastBlock: *mut ::core::ffi::c_void, |
| 610 |
} |
| 611 |
#[cfg(feature = "Win32_Foundation")] |
| 612 |
impl ::core::marker::Copy for PROCESS_HEAP_ENTRY_0_1 {} |
| 613 |
#[cfg(feature = "Win32_Foundation")] |
| 614 |
impl ::core::clone::Clone for PROCESS_HEAP_ENTRY_0_1 { |
| 615 |
fn clone(&self) -> Self { |
| 616 |
*self |
| 617 |
} |
| 618 |
} |
| 619 |
#[repr(C)] |
| 620 |
pub struct WIN32_MEMORY_PARTITION_INFORMATION { |
| 621 |
pub Flags: u32, |
| 622 |
pub NumaNode: u32, |
| 623 |
pub Channel: u32, |
| 624 |
pub NumberOfNumaNodes: u32, |
| 625 |
pub ResidentAvailablePages: u64, |
| 626 |
pub CommittedPages: u64, |
| 627 |
pub CommitLimit: u64, |
| 628 |
pub PeakCommitment: u64, |
| 629 |
pub TotalNumberOfPages: u64, |
| 630 |
pub AvailablePages: u64, |
| 631 |
pub ZeroPages: u64, |
| 632 |
pub FreePages: u64, |
| 633 |
pub StandbyPages: u64, |
| 634 |
pub Reserved: [u64; 16], |
| 635 |
pub MaximumCommitLimit: u64, |
| 636 |
pub Reserved2: u64, |
| 637 |
pub PartitionId: u32, |
| 638 |
} |
| 639 |
impl ::core::marker::Copy for WIN32_MEMORY_PARTITION_INFORMATION {} |
| 640 |
impl ::core::clone::Clone for WIN32_MEMORY_PARTITION_INFORMATION { |
| 641 |
fn clone(&self) -> Self { |
| 642 |
*self |
| 643 |
} |
| 644 |
} |
| 645 |
#[repr(C)] |
| 646 |
pub struct WIN32_MEMORY_RANGE_ENTRY { |
| 647 |
pub VirtualAddress: *mut ::core::ffi::c_void, |
| 648 |
pub NumberOfBytes: usize, |
| 649 |
} |
| 650 |
impl ::core::marker::Copy for WIN32_MEMORY_RANGE_ENTRY {} |
| 651 |
impl ::core::clone::Clone for WIN32_MEMORY_RANGE_ENTRY { |
| 652 |
fn clone(&self) -> Self { |
| 653 |
*self |
| 654 |
} |
| 655 |
} |
| 656 |
#[repr(C)] |
| 657 |
pub struct WIN32_MEMORY_REGION_INFORMATION { |
| 658 |
pub AllocationBase: *mut ::core::ffi::c_void, |
| 659 |
pub AllocationProtect: u32, |
| 660 |
pub Anonymous: WIN32_MEMORY_REGION_INFORMATION_0, |
| 661 |
pub RegionSize: usize, |
| 662 |
pub CommitSize: usize, |
| 663 |
} |
| 664 |
impl ::core::marker::Copy for WIN32_MEMORY_REGION_INFORMATION {} |
| 665 |
impl ::core::clone::Clone for WIN32_MEMORY_REGION_INFORMATION { |
| 666 |
fn clone(&self) -> Self { |
| 667 |
*self |
| 668 |
} |
| 669 |
} |
| 670 |
#[repr(C)] |
| 671 |
pub union WIN32_MEMORY_REGION_INFORMATION_0 { |
| 672 |
pub Flags: u32, |
| 673 |
pub Anonymous: WIN32_MEMORY_REGION_INFORMATION_0_0, |
| 674 |
} |
| 675 |
impl ::core::marker::Copy for WIN32_MEMORY_REGION_INFORMATION_0 {} |
| 676 |
impl ::core::clone::Clone for WIN32_MEMORY_REGION_INFORMATION_0 { |
| 677 |
fn clone(&self) -> Self { |
| 678 |
*self |
| 679 |
} |
| 680 |
} |
| 681 |
#[repr(C)] |
| 682 |
pub struct WIN32_MEMORY_REGION_INFORMATION_0_0 { |
| 683 |
pub _bitfield: u32, |
| 684 |
} |
| 685 |
impl ::core::marker::Copy for WIN32_MEMORY_REGION_INFORMATION_0_0 {} |
| 686 |
impl ::core::clone::Clone for WIN32_MEMORY_REGION_INFORMATION_0_0 { |
| 687 |
fn clone(&self) -> Self { |
| 688 |
*self |
| 689 |
} |
| 690 |
} |
| 691 |
pub type PBAD_MEMORY_CALLBACK_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> ()>; |
| 692 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 693 |
#[cfg(feature = "Win32_Foundation")] |
| 694 |
pub type PSECURE_MEMORY_CACHE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(addr: *const ::core::ffi::c_void, range: usize) -> super::super::Foundation::BOOLEAN>; |