1 // Copyright 2017 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package windows 6 7 type MemoryBasicInformation struct { 8 // A pointer to the base address of the region of pages. 9 BaseAddress uintptr 10 // A pointer to the base address of a range of pages allocated by the VirtualAlloc function. 11 // The page pointed to by the BaseAddress member is contained within this allocation range. 12 AllocationBase uintptr 13 // The memory protection option when the region was initially allocated 14 AllocationProtect uint32 15 PartitionId uint16 16 // The size of the region beginning at the base address in which all pages have identical attributes, in bytes. 17 RegionSize uintptr 18 // The state of the pages in the region. 19 State uint32 20 // The access protection of the pages in the region. 21 Protect uint32 22 // The type of pages in the region. 23 Type uint32 24 } 25