We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f6784d commit 205eadcCopy full SHA for 205eadc
ntoskrnl/ps/query.c
@@ -212,9 +212,13 @@ NtQueryInformationProcess(
212
/* Get additional information, if needed */
213
if (Extended)
214
{
215
+ QuotaLimits.Flags |= (Process->Vm.Flags.MaximumWorkingSetHard ?
216
+ QUOTA_LIMITS_HARDWS_MAX_ENABLE : QUOTA_LIMITS_HARDWS_MAX_DISABLE);
217
+ QuotaLimits.Flags |= (Process->Vm.Flags.MinimumWorkingSetHard ?
218
+ QUOTA_LIMITS_HARDWS_MIN_ENABLE : QUOTA_LIMITS_HARDWS_MIN_DISABLE);
219
+
220
/* FIXME: Get the correct information */
221
//QuotaLimits.WorkingSetLimit = (SIZE_T)-1; // Not used on Win2k3, it is set to 0
- QuotaLimits.Flags = QUOTA_LIMITS_HARDWS_MIN_DISABLE | QUOTA_LIMITS_HARDWS_MAX_DISABLE;
222
QuotaLimits.CpuRateLimit.RateData = 0;
223
}
224
0 commit comments