IoGetDeviceInterfaces

Hi there

I am using IoGetDeviceInterfaces() which has an optional PDO parameter
(second) .
What does that mean ? At a miniport I have no access to my PDO or any
other one so I intend to make the parameter
‘optional’ and I substitute NULL , but get a Blue screen (Exception not
handled) . Any solution ?

Zvi Dubitzky
Storage Systems Technology Email: dubi@il.ibm.com
IBM Haifa Research Laboratory Phone: +972-4-8296182
Haifa, 31905, ISRAEL

From the ddk:

PhysicalDeviceObject
Pointer to an optional PDO that narrows the search to only the device interface instances of the device represented by the PDO.

If you are searching for all interface instances, you can pass NULL. My guess is that you are calling this API at IRQL > PASSIVE_LEVEL which is causing the bluescreen.

d


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Zvi Dubitzky
Sent: Thursday, June 24, 2004 9:51 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] IoGetDeviceInterfaces

Hi there

I am using IoGetDeviceInterfaces() ? which has an optional ?PDO parameter (second) .
What does that mean ?? At a miniport I have no access to my PDO or any other one so I intend to ?make the parameter
‘optional’ and I ?substitute NULL , but get a Blue screen (Exception not handled) . Any solution ?

Zvi Dubitzky ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Storage Systems Technology ? ? ? Email: dubi@il.ibm.com
IBM Haifa Research Laboratory ? ?Phone: +972-4-8296182
Haifa, 31905, ISRAEL
— Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com To unsubscribe send a blank email to xxxxx@lists.osr.com