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