其中的参数
typedef struct _MEMORY_BASIC_INFORMATION { PVOID BaseAddress; PVOID AllocationBase; DWORD AllocationProtect; SIZE_T RegionSize; DWORD State; DWORD Protect; DWORD Type;
} MEMORY_BASIC_INFORMATION, *PMEMORY_BASIC_INFORMATION;
Members
BaseAddress
Pointer to the base address of the region of pages.
AllocationBase
Pointer to the base address of a range of pages allocated by the VirtualAlloc function. The page pointed to by the BaseAddress member is contained within this allocation range.
AllocationProtect
Memory protection when the region was initially allocated. This member can be one of the memory protection options, along with PAGE_GUARD or PAGE_NOCACHE, as needed.
RegionSize
Size of the region beginning at the base address in which all pages have identical attributes, in bytes.
State
State of the pages in the region. This member can be one of the following values.