Add WNEXT handling in capture.