I want to write a C++ function which performs the following task :
Whenever an I/O request packet (IRP) came by,
at first, it gets checked by my function, and if my function found it valid,
then the other programs get access to it, otherwise, they won't be able to access it.
For example, if a user open-file request poped up, other applications will gain entrance to it, only if my function let them.