KPRIORITY
KeSetPriorityProcess(
  IN  PKPROCESS Process,
  IN  KPRIORITY NewBase
  );

Routine Description:

    This function set the base priority of a process to a new value
    and adjusts the priority and base priority of all child threads
    as appropriate.

Arguments:

    Process - Supplies a pointer to a dispatcher object of type process.

    NewBase - Supplies the new base priority of the process.

Return Value:

    The previous base priority of the process.