Microsoft Windows CE 3.0  

Writing a DirectShow Application

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

A typical DirectShow application performs these three basic steps:

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

    To get started with DirectShow, read How to Play a 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 Windowand Responding to Eventsexpand the program into a simple Windows application



     Last updated on Tuesday, May 18, 2004

    © 2004 Microsoft Corporation. All rights reserved.