Results for the first-emptiness time of a semi-infinite reservoir and the integral functional of the process up to first-emptiness time are derived under Markov chain input conditions and general output conditions. The results are further extended to allow an input process which is the sum of k consecutive elements of the Markov chain, k ≧ 1.