I am writing a mini filter code for USB (flash drives) to block, i.e. (Access Denied). So, can someone help me how to detect or block USB, or what methods to use in passThrough a sample WDK code for USB detection and USB lock ?
I am trying to use * IOCTL_STORAGE_QUERY_PROPERTY in PFLT_INSTANCE_SETUP_CALLBACK *. Am I on the right track? if so, how to use IOCTL_STORAGE_QUERY_PROPERTY in PFLT_INSTANCE_SETUP_CALLBACK ???
source
share