The CAPTEST sample is a sample capture application that uses the AVICap capture window class.