Microsoft DirectX 8.1 (C++) |
Description
The PlayCapMoniker sample demonstrates how to build a video capture device using a device moniker. The application is a simple video capture device previewer. Unlike the AmCap Sample, it does not capture data to a file. Instead, it searches for the first available video capture device that is registered in the system, connects to it, and displays the video data in a small window.
This sample differs from the PlayCap Sample because PlayCap builds the capture graph using the ICaptureGraphBuilder2 interface, whereas this sample finds the moniker of the capture device and uses the IGraphBuilder::RenderFile method to build the graph automatically.
Path
Source: (SDK root)\Samples\Multimedia\DirectShow\Capture\PlayCapMoniker