Lines Matching refs:MemInfo
171 MEMORY_BASIC_INFORMATION MemInfo = { 0, 0, 0, 0, 0, 0, 0 };
175 &MemInfo,
176 sizeof(MemInfo),
190 if ( MemInfo.AllocationBase != NULL
191 && MemInfo.AllocationBase == MemInfo.BaseAddress
192 && MemInfo.Protect != MemInfo.AllocationProtect)
196 MemInfo.BaseAddress, (uintptr_t)MemInfo.BaseAddress + MemInfo.RegionSize - 1,
197 stringifyMemType(MemInfo.Type, szMemType, sizeof(szMemType)),
198 stringifyMemState(MemInfo.State, szMemState, sizeof(szMemState)),
199 stringifyMemProt(MemInfo.Protect, szMemProt, sizeof(szMemProt))
201 if ((uintptr_t)MemInfo.AllocationBase != 0)
203 if (MemInfo.AllocationBase != MemInfo.BaseAddress)
204 RTTestIPrintf(RTTESTLVL_ALWAYS, " %p", MemInfo.AllocationBase);
206 RTTestIPrintf(RTTESTLVL_ALWAYS, " %s", stringifyMemProt(MemInfo.AllocationProtect, szAllocProt, sizeof(szAllocProt)));
210 if ((uintptr_t)MemInfo.BaseAddress != uPtrWhere)
212 uPtrWhere, MemInfo.BaseAddress);
215 if (MemInfo.Type == MEM_IMAGE || MemInfo.Type == MEM_MAPPED)
240 RTTESTI_CHECK(rcNt == STATUS_FILE_INVALID && MemInfo.Type == MEM_MAPPED);
245 cbAdvance = MemInfo.RegionSize;
249 uPtrWhere += MemInfo.RegionSize;