hi and thanks for replying ! well i am (trying to) write a mini keyboard
filter driver. i have no experience doing this, i started it all yesterday.
anyway like i say i have got the WDK mini keyboard filter driver example up
and running, ive got it logging to debugview just fine. what i need to do is
really simple, just disable/enable the keyboard. i am disabling it by
consuming all the packets in the KbFilter_ServiceCallback, where i just do a
test for some global flag...ie
if(g_DISABLE)
//drop all the packets
else
//just send the IRP up the stack
so now the question is, how do i set the driver's global flag from a normal
user/gui application ? so this is where i am at now, and the way i am going
about it is by using the Fltxxxxx functions that i found on msdn :
http://msdn.microsoft.com/en-us/libr...77(VS.85).aspx
then when i added these functions to the kbfiltr sample, i got the linker
error as i said my orignial post. but i have solved that now though ! in the
makefile i had "LIBRARIES=...." and it should have been "TARGETLIBS=....". so
its built now. so it looks like #pragma comment(lib, "lib.lib") doesn't work
for drivers ? anyway...
but now that ive got your attention

) if you read the above and think my
approach is wrong please let me know..
thank you.
"Scott Noone" wrote:
> Keyboard filter drivers and file system minifilters are entirely different
> beasts. What are you trying to do?
>
> -scott
>
> --
> Scott Noone
> Consulting Associate
> OSR Open Systems Resources, Inc.
> http://www.osronline.com
>