|Microsoft DirectShow 9.0|
Simple capture application.
This sample is included with the Windows SDK. It is located under the following path: [SDK Root]\Samples\Multimedia\DirectShow\Capture\PlayCap.
This application creates a preview window for the first video capture device that it locates on the user's system (if any). It demonstrates a simple example of using the ICaptureGraphBuilder2 and ICreateDevEnum interfaces to build a capture graph.
For a sample capture application that supports more features, see AmCap Sample.