VOID
FASTCALL
KeSetThreadSelectNotifyRoutine(
  IN  PTHREAD_SELECT_NOTIFY_ROUTINE NotifyRoutine
  );

Routine Description:

    This function sets the address of a callout routine which will be called
    when a thread is being selected for execution.

Arguments:

    NotifyRoutine - Supplies the address of the thread select notify callout
        routine.

Return Value:

    None.