PLARGE_INTEGER
FASTCALL
KiComputeWaitInterval(
  IN  PRKTIMER Timer,
  IN  PLARGE_INTEGER OriginalTime,
  IN OUT PLARGE_INTEGER NewTime
  );

Routine Description:

    This function recomputes the wait interval after a thread has been
    awakened to deliver a kernel APC.

Arguments:

    Timer - Supplies a pointer to a dispatcher object of type timer.

    OriginalTime - Supplies a pointer to the original timeout value.

    NewTime - Supplies a pointer to a variable that receives the
        recomputed wait interval.

Return Value:

    A pointer to the new time is returned as the function value.