From: unclepauly on
you are of course correct, i did enter the backslash, told you it would be a
rookie mistake...thank you.

so it turns out that i dont need to hook the IRP_MJ_READ at all ? because
after adding the correct class-level reg key like you said, and doing a
reboot, i plugged in a few usb keyboards and they were all hitting the
ServiceCallback...sorry but i thought i read somewhere that the service
callback only gets fired on a per-device basis, ie when you install per
device via device manager, and that to convert the kbfiltr sample into a
class level filter, i would have to hook and implement the
IRP_MJ_READ...clearly not, thank you anyway.



"Doron Holan [MSFT]" wrote:

> when you modified the registry value at the class level, did you literally
> put the "\" in the string? if you are using regedit, just put bkfiltr on
> the first line in the edit box and kbdclass in the 2nd line, that's it. no
> need to embed your own nulls or anything like that
>
> d