// Initialize DirectShow CoInitialize(NULL);
// Create a graph and add a video capture filter CComPtr<IGraphBuilder> pGraph; CComPtr<IMediaControl> pControl; CComPtr<IBaseFilter> pCaptureFilter; intruderrorry mfc camshow recording full