I'm using some ported code from Microsoft on using their video capture API to make a webcam app. The app runs beautifully except for one thing. The preview stops previewing when the app is minimized.

My app takes the snapshots and uploads like it's supposed to, but it's uploading shots of the preview window as it was just before it was minimized. The preview window doesn't begin showing the capture again until it is brought back up.


I will post the code for the capture...