File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,9 @@ typedef enum _MEMORY_INFORMATION_CLASS
64
64
MemoryRegionInformation , // MEMORY_REGION_INFORMATION
65
65
MemoryWorkingSetExInformation , // MEMORY_WORKING_SET_EX_INFORMATION
66
66
MemorySharedCommitInformation , // MEMORY_SHARED_COMMIT_INFORMATION
67
- MemoryImageInformation // MEMORY_IMAGE_INFORMATION
67
+ MemoryImageInformation , // MEMORY_IMAGE_INFORMATION
68
+ MemoryRegionInformationEx ,
69
+ MemoryPrivilegedBasicInformation
68
70
} MEMORY_INFORMATION_CLASS ;
69
71
70
72
#if (PHNT_MODE == PHNT_MODE_KERNEL )
@@ -105,8 +107,22 @@ typedef struct _MEMORY_REGION_INFORMATION
105
107
{
106
108
PVOID AllocationBase ;
107
109
ULONG AllocationProtect ;
108
- ULONG RegionType ;
110
+ union
111
+ {
112
+ ULONG RegionType ;
113
+ struct
114
+ {
115
+ ULONG Private : 1 ;
116
+ ULONG MappedDataFile : 1 ;
117
+ ULONG MappedImage : 1 ;
118
+ ULONG MappedPageFile : 1 ;
119
+ ULONG MappedPhysical : 1 ;
120
+ ULONG DirectMapped : 1 ;
121
+ ULONG Reserved : 26 ;
122
+ };
123
+ };
109
124
SIZE_T RegionSize ;
125
+ SIZE_T CommitSize ;
110
126
} MEMORY_REGION_INFORMATION , * PMEMORY_REGION_INFORMATION ;
111
127
112
128
// private
You can’t perform that action at this time.
0 commit comments