Hi All,
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> I want to know whether IRP_MJ_PNP are serialized by PnP manager before they come to a driver?s DisptachPnP or multiple IRP_MJ_PNP IRPs can come to DisptachPnP simultaneously? Thanks in advance. AnandState changing pnp irps are serialized, you will only get one of these
at a time. These are start/query stop/stop/query stop canceled/query
remove/remove/query remove canceled/surprise remove/query device
relations (bus relations). Non state changing irps are not serialized,
some of these (but not all) are query device id, query device caps, etc.
you can get many of these at the same time, although that is not
typical. Typically, the rule of thumb is if the DDK says you are not
allowed to send an irp, it is part of some type serialization managed by
the pnp manager.
Furthermore, state changing pnp irps are serialized against system set
power irps, they are NOT serialized against device set power irps.
I highly encourage you to look at WDF and consider using it for your
project. It is very close to being released and takes care of all these
issues for you.
d
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@juno.com
Sent: Monday, November 07, 2005 10:24 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] IRP_MJ_PNP
Hi All,
I want to know whether IRP_MJ_PNP are serialized by PnP manager before
they come to a driver’s DisptachPnP or multiple IRP_MJ_PNP IRPs can come
to DisptachPnP simultaneously?
Thanks in advance.
Anand
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
>I want to know whether IRP_MJ_PNP are serialized by PnP manager before they
come to a >driver’s DisptachPnP or multiple IRP_MJ_PNP IRPs can come to
DisptachPnP
simultaneously?
There are many types of PNP IRPs, which ones are you talking about?
anyway, the answer is no, not all types of PNP IRPs are serialized.
amitrajit
State-changing IRPs - start, stop, remove, query stop/remove, cancel
stop/remove, surprise removal - are definitely serialized.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From:
To: “Windows System Software Devs Interest List”
Sent: Tuesday, November 08, 2005 9:24 AM
Subject: [ntdev] IRP_MJ_PNP
Hi All,
<?xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” />
I want to know whether IRP_MJ_PNP are serialized by PnP manager before they
come to a driver’s DisptachPnP or multiple IRP_MJ_PNP IRPs can come to
DisptachPnP simultaneously?
Thanks in advance.
Anand
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com