User IOCTL's to intermediate drivers

Dear All,
I have a pointer port pnp driver which layers under mouclass. Now i
need my driver to respond to user ioctls. So i expose a symbolic link for my
device object. Now the problem is, whatever ioctls’ are sent to my device
are getting filtered by mouclass.sys.

Now i thought of creating a dummy device for each actual device so
that the dummy device will not be on the stack of mouclass and can respond
to IOCTl’s. But this method is becoming hectic.

Can someone suggest me a more elegant method…

cheers
Sesha.
**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

Hi

Search Microsoft Site for, HOWTO: Send IOCTLs to a Filter Driver (Q262305)

Thanks
-Sanesh Kumar K

-----Original Message-----
From: Seshagiri_Babu [mailto:xxxxx@Satyam.com]
Sent: 17 July 2002 5:35 PM
To: NT Developers Interest List
Subject: [ntdev] User IOCTL’s to intermediate drivers

Dear All,
I have a pointer port pnp driver which layers under mouclass. Now i
need my driver to respond to user ioctls. So i expose a symbolic link for my
device object. Now the problem is, whatever ioctls’ are sent to my device
are getting filtered by mouclass.sys.

Now i thought of creating a dummy device for each actual device so
that the dummy device will not be on the stack of mouclass and can respond
to IOCTl’s. But this method is becoming hectic.

Can someone suggest me a more elegant method…

cheers
Sesha.
**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************


You are currently subscribed to ntdev as: xxxxx@ctd.hcltech.com
To unsubscribe send a blank email to %%email.unsub%%

Why do you need to create dummy device for EVERY one of the actual devices ?
You could use just one.


Nar Ganapathy
Windows Core OS group
This posting is provided “AS IS” with no warranties, and confers no rights.
“Seshagiri_Babu” wrote in message
news:xxxxx@ntdev…
>
> Dear All,
> I have a pointer port pnp driver which layers under mouclass. Now i
> need my driver to respond to user ioctls. So i expose a symbolic link for
my
> device object. Now the problem is, whatever ioctls’ are sent to my device
> are getting filtered by mouclass.sys.
>
> Now i thought of creating a dummy device for each actual device so
> that the dummy device will not be on the stack of mouclass and can respond
> to IOCTl’s. But this method is becoming hectic.
>
> Can someone suggest me a more elegant method…
>
> cheers
> Sesha.
>
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
> distribution or forwarding of any or all of the contents in this message
is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
>

>
>
>