USB lock using minifilter driver (passThrough)

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 ???

+5
source share
2 answers
+3

- FltGetDiskDeviceObject, FILE_REMOVABLE_MEDIA device_object->Characteristics. , , ( FLT_OPERATION_REGISTRATION).

0

All Articles