MmAdjustWorkingSetSize

NTSTATUS __stdcall MmAdjustWorkingSetSize(
        UINT64 WorkingSetMinimumInBytes,
        UINT64 WorkingSetMaximumInBytes,
        UINT64 SystemCache,
        UINT8 IncreaseOkay){
  NTSTATUS result; 
  UINT64 v5; 
  char IncreaseOccurred[24]; 

  IncreaseOccurred[0] = 0;
  LODWORD(v5) = 0;
  MmAdjustWorkingSetSizeEx(
    WorkingSetMinimumInBytes,
    WorkingSetMaximumInBytes,
    (_WORKING_SET_TYPE)SystemCache,
    IncreaseOkay,
    v5,
    (UINT8 *)IncreaseOccurred);
  return result;
}

Referenced by:

CmpInitializeRegistryProcess
PspApplyWorkingSetLimits
PspApplyWorkingSetLimitsToProcess