Compartir a través de


Writing a DirectShow Application

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

A typical DirectShow application performs these three basic steps:

  1. Creates an instance of the Filter Graph Manager, using the CoCreateInstance function.
  2. Uses the Filter Graph Manager to build a filter graph. (You might use other DirectShow helper as well.)
  3. Controls the filter graph and responds to events.

To get started with DirectShow, read Playing a Media File. It presents a simple console application that plays a file. This application is the DirectShow equivalent of the classic Hello World program. Setting the Video Window and Responding to Events expand the program into a simple Windows application.

See Also

Concepts

Introduction to DirectShow Application Programming