hi all,
I am writing a kbfilter.
I wrote an application
which supposed to communicate with the kbfilter.
I read the articale in:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q262305
and I did the same.
in order to use
DeviceIoControl(),
I need a HANDLE to the device.
I am using
CreaeFile(),
in order to get this HANDLE.
this function fails. the LastError = “Access is Denied”.
does anyone knows how to solve this error ?
does anyknow another way to communicate
between an application and kbfilter?
plz help me.
Assaf.
xxxxx@hotmail.com
Tel Aviv Academy
Israel
Did you fill in the MJ_CREATE dispatch routine and properly complete the
IRP? In the kbfilter case, you need pass the create irp down the stack
if it is sent to your pnp device object and complete it if it is sent to
your controller device object.
D
This posting is provided “AS IS” with no warranties, and confers no
rights
-----Original Message-----
From: xxxxx@hotmail.com [mailto:xxxxx@hotmail.com]
Sent: Thursday, March 27, 2003 10:21 AM
To: NT Developers Interest List
Subject: [ntdev] how to send IOCTL from application to kbfilter ?
hi all,
I am writing a kbfilter.
I wrote an application
which supposed to communicate with the kbfilter.
I read the articale in:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q262305
and I did the same.
in order to use
DeviceIoControl(),
I need a HANDLE to the device.
I am using
CreaeFile(),
in order to get this HANDLE.
this function fails. the LastError = “Access is Denied”.
does anyone knows how to solve this error ?
does anyknow another way to communicate
between an application and kbfilter?
plz help me.
Assaf.
xxxxx@hotmail.com
Tel Aviv Academy
Israel
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com