Hi,
After reviewing some website
(http://www.sysinternal.com) I programmed a keyboard/mouse
filter driver. But there is something strange. I have a
global variable to control whether to ignore keyboard scan
code:
if (ignore)
{
for (i=0; i<numOfKey; i++)
KeyData[i].makecode=0;
}
I initialized the variable "ignore=0" in DriverEntry
but once I rebooted my PC, the driver starts working and
my keyboard does not have any respond. It seems that the
variable ignore is non-zero even I initialized it with
zero!! Can anoyone help?