Introduction - If you have any usage issues, please Google them yourself
This is a very good Code sample for programing webcam, using avicap32.dll to control a webcam to snap a picture, record a video, specially, add ROI function inside. the code is very easy