IRP_MJ_PNP, IRP_MN code 0x18

Hi all !
I’m again join to us.
Immediatelly i want ask about of new trouble.
In the Win 2008 R1 x64 during of mount in the our SCSI miniport driver
i’m get an e-mail subject, i.e. IRP_MJ_PNP with a minor code 0x18
What does it mean ? What is symbollic macrodefinition and how i should
handle this request. Neigther latest WDK version, nor old (2008 and Vista WDK)
doesn’t had an any mentions about of it. In the Win 7 WDK (WDM.H file) last IRP_MN codes:
#define IRP_MN_SURPRISE_REMOVAL 0x17

#if (NTDDI_VERSION >= NTDDI_WIN7)
#define IRP_MN_DEVICE_ENUMERATED 0x19
#endif
As we can see, an 0x18 code is absent…
With regards
Oleg N.

It’s most likely IRP_MN_QUERY_LEGACY_BUS_INFORMATION.

Krzysztof Uchronski

-----Original Message-----
From: Oleshii [mailto:xxxxx@yandex.ru]
Posted At: Monday, March 01, 2010 10:02 AM
Posted To: ntdev
Conversation: IRP_MJ_PNP, IRP_MN code 0x18
Subject: IRP_MJ_PNP, IRP_MN code 0x18

Hi all !
I’m again join to us.
Immediatelly i want ask about of new trouble.
In the Win 2008 R1 x64 during of mount in the our SCSI miniport driver
i’m get an e-mail subject, i.e. IRP_MJ_PNP with a minor code 0x18
What does it mean ? What is symbollic macrodefinition and how i should
handle this request. Neigther latest WDK version, nor old (2008 and
Vista WDK)
doesn’t had an any mentions about of it. In the Win 7 WDK (WDM.H file)
last IRP_MN codes:
#define IRP_MN_SURPRISE_REMOVAL 0x17

#if (NTDDI_VERSION >= NTDDI_WIN7)
#define IRP_MN_DEVICE_ENUMERATED 0x19
#endif
As we can see, an 0x18 code is absent…
With regards
Oleg N.

Why does it matter? The contract for pnp irps is that you can get an unkown minor code at any time (and driver verifier does this) and you must pass it down the stack.

d

tiny phone keyboard + fat thumbs = you do the muth

-----Original Message-----
From: Oleshii
Sent: Monday, March 01, 2010 2:12 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] IRP_MJ_PNP, IRP_MN code 0x18

Hi all !
I’m again join to us.
Immediatelly i want ask about of new trouble.
In the Win 2008 R1 x64 during of mount in the our SCSI miniport driver
i’m get an e-mail subject, i.e. IRP_MJ_PNP with a minor code 0x18
What does it mean ? What is symbollic macrodefinition and how i should
handle this request. Neigther latest WDK version, nor old (2008 and Vista WDK)
doesn’t had an any mentions about of it. In the Win 7 WDK (WDM.H file) last IRP_MN codes:
#define IRP_MN_SURPRISE_REMOVAL 0x17

#if (NTDDI_VERSION >= NTDDI_WIN7)
#define IRP_MN_DEVICE_ENUMERATED 0x19
#endif
As we can see, an 0x18 code is absent…
With regards
Oleg N.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

> In the Win 2008 R1 x64 during of mount in the our SCSI miniport driver

i’m get an e-mail subject, i.e. IRP_MJ_PNP with a minor code 0x18

How the PnP IRPs are visible from the SCSI miniport driver?


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com