Lines Matching refs:mbi
633 MEMORY_BASIC_INFORMATION mbi = {0};
638 while (VirtualQueryEx(process_, base_address, &mbi, sizeof(mbi)) ==
639 sizeof(mbi)) {
640 if (mbi.State == MEM_COMMIT) {
641 if (mbi.Type == MEM_PRIVATE) {
642 committed_private += mbi.RegionSize;
643 } else if (mbi.Type == MEM_MAPPED) {
644 committed_mapped += mbi.RegionSize;
645 } else if (mbi.Type == MEM_IMAGE) {
646 committed_image += mbi.RegionSize;
651 void* new_base = (static_cast<BYTE*>(mbi.BaseAddress)) + mbi.RegionSize;