Hi All,
Can I create a Device Object the way we do in AddDevice Routine. Will all
the other PnP methods like start device etc be called on the new device
object.
I have a filter driver (with unnamed device object). Based on an IOCTL I
have to expose a read only version of the device which should also be named
so that user can access it.
Any other suggestion/pointers for doing this is welcomed.
Thanks.
Avi
THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE
and may contain confidential and privileged information. If the reader of
this message
is not the intended recipient, you are notified that any dissemination,
distribution
or copy of this communication is strictly Prohibited.If you have received
this message
by error, please notify the sender immediately, return the original mail to
the sender
and delete the message from your system.
If you want the user to be able to use device interfaces, you will have to become a bus driver. If you want to create a named device object, then check out this kb article:
http://support.microsoft.com/default.aspx?scid=kb;en-us;262305
This may not describe 100% of what you want, but will give some good indications on how to proceed.
D
This posting is provided "AS IS" with no warranties, and confers no rights
-----Original Message-----
From: Avinash Kumar [mailto:xxxxx@commvault.com]
Sent: Thursday, February 13, 2003 12:12 PM
To: NT Developers Interest List
Subject: [ntdev] Creating a Device Object on Demand.
?
?
Hi All,
?
Can I create a Device Object the way we do in AddDevice Routine. Will all the other PnP methods like start device etc be called on the new device object.
?
I have a filter driver (with unnamed device object). Based on an IOCTL I have to expose a read only version of the device which should also be named so that user can access it.
?
Any other suggestion/pointers for doing this is welcomed.
?
Thanks.
Avi
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Thanks Doron,
This article was really helpful. I am working on this using this approach
hope this works
Will get back if I face more problems.
Avi
-----Original Message-----
From: Doron Holan [mailto:xxxxx@windows.microsoft.com]
Sent: Thursday, February 13, 2003 3:32 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Creating a Device Object on Demand.
If you want the user to be able to use device interfaces, you will have to
become a bus driver. If you want to create a named device object, then
check out this kb article:
http://support.microsoft.com/default.aspx?scid=kb;en-us;262305
This may not describe 100% of what you want, but will give some good
indications on how to proceed.
D
This posting is provided "AS IS" with no warranties, and confers no rights
-----Original Message-----
From: Avinash Kumar [mailto:xxxxx@commvault.com]
Sent: Thursday, February 13, 2003 12:12 PM
To: NT Developers Interest List
Subject: [ntdev] Creating a Device Object on Demand.
?
?
Hi All,
?
Can I create a Device Object the way we do in AddDevice Routine. Will all
the other PnP methods like start device etc be called on the new device
object.
?
I have a filter driver (with unnamed device object). Based on an IOCTL I
have to expose a read only version of the device which should also be named
so that user can access it.
?
Any other suggestion/pointers for doing this is welcomed.
?
Thanks.
Avi
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@commvault.com
To unsubscribe send a blank email to xxxxx@lists.osr.com