The outcome of every spin on a slot machine, including jackpot wins, is determined by the random number generator. The RNG ensures fairness and randomness in slot machine gameplay.