Mini-filter to block certain media types.

The fully working sample code explains everything necessary to create a Minifilter driver to block devices connected through an interface.

Click here to read the article