How to block any devics?

MrArsalan

Newbie
I am new to writing device drivers. I am going to write a filter driver to block any devices I want. I have several questions about it:
1. is it possible to write such a filter driver, and blocking devices by installing it on devices' driver stack.
2. If it cancells all Irps which passes through it, does it block the device without any side effect problems?
3. I also want to write a user mode program with VC++ to let the user to disable any user-specified devices. So, I need a device name which is valid for IoGetDeviceObjectPointer function, how can I retrieve it?

thanks in advance.
 

Back
Top