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