Need Help in Reading Driver Stack and Device to driver mapping

Hi,
I have an requirement where i need to read the Windows “Driver Stack” and “Device to driver mapping” and display it to the user.

Can someone pls help me how to get these things.?

Thank you,
Jayaprakash

What bigger problem are you solving?

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Sunday, October 14, 2012 11:43 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Need Help in Reading Driver Stack and Device to driver mapping

Hi,
I have an requirement where i need to read the Windows “Driver Stack” and “Device to driver mapping” and display it to the user.

Can someone pls help me how to get these things.?

Thank you,
Jayaprakash


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

Can you share more details on what exactly are you trying to achieve?

Do you need the Driver Stack of a particular device
(storage/network/something else)?

What is your mechanism of getting this information?

On Sun, Oct 14, 2012 at 11:43 PM, wrote:

> Hi,
> I have an requirement where i need to read the Windows “Driver Stack” and
> “Device to driver mapping” and display it to the user.
>
> Can someone pls help me how to get these things.?
>
> Thank you,
> Jayaprakash
>
> —
> 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
>

Hi,

We have a tool which displays BIOS options and other system informations like(Processor info,SMBIOS info) to the user for now.
I need to display the Driver stack of storage devices for now. and also Device to driver mapping.

Now i have a application UI, libraries and windows driver for doing all these. I will be using the same framework for displaying the Driver stack and Device to driver mapping.

can you please suggest me the way how to go about it…!

Thanks,
Jayaprakash

There’s really no supported, or even reliable, way to do what you’re asking.

The OSR Online utility Device Tree (freely downloadable from osronline.com) shows the entire device stack… but this utility *really* only wants to be run on test machines. It does “evil” things to get its information.

Peter
OSR

Look at Powershell. There is an example that dumps the system’s devices WQL queries. You could use that as a base using c# to provide a decent interface.

Gary Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

On Oct 15, 2012, at 8:04 AM, xxxxx@osr.com wrote:

There’s really no supported, or even reliable, way to do what you’re asking.

The OSR Online utility Device Tree (freely downloadable from osronline.com) shows the entire device stack… but this utility *really* only wants to be run on test machines. It does “evil” things to get its information.

Peter
OSR


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

Does it give you the device *relationships* ? PDO to FDO/Filter?

If so, that would be sweeeet.

Peter
OSR

Not sure, but the scripts using PowerShell to get devices and system information using Windows Query Language does present a lot of information, though it may not set down to the kernel level of PDO and FDO. WQL will give you quite a bit of information about HBAs and drives.

Gary Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

On Oct 15, 2012, at 9:22 AM, xxxxx@osr.com wrote:

Does it give you the device *relationships* ? PDO to FDO/Filter?

If so, that would be sweeeet.

Peter
OSR


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


This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com


>framework for displaying the Driver stack and Device to driver mapping.

SetupDiXxx

See the DEVCON sample


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