how to register a upper filter driver to all printers class via .inf file (AddReg section)
I have a filter driver (similar to following): NTSTATUS MyFilterFunction ( __in PDEVICE_OBJECT DeviceObject, __in PIRP Irp ){ NTSTATUS status = STATUS_SUCCESS; // do the filtering DbgPrint("Filtering with MyFilterFunction"); return status; } NTSTATUS DriverEntry ( __in PDRIVER_OBJECT DriverObject, __in ...