The Microsoft® DirectShow® SDK includes the following miscellanous samples.
C++ Applications
Visual Basic Applications