RE: How to define "PnP Device is Storage Device?"

Friends,

The discursion around interception AddDevice routine confuses me a bit.

The problem which I see: "How you suggest to intercept AddDevice() for
strange, “unknown” driver? :slight_smile:

Regards,
Michael.

What are you trying to do? What goal are you trying to achieve? Once
you are clear about that, you can get a better answer.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Grabelkovsky,
Michael
Sent: Sunday, March 19, 2006 5:28 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] How to define “PnP Device is Storage Device?”

Friends,

The discursion around interception AddDevice routine confuses me a bit.

The problem which I see: "How you suggest to intercept AddDevice() for
strange, “unknown” driver? :slight_smile:

Regards,
Michael.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

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

>> From: “Doron Holan”
>> What are you trying to do? What goal are you trying to achieve?
Once
>> you are clear about that, you can get a better answer.

Doron,
I’ve intercepted all PnP devices plug in (via CM) and try understanding
which device is storage device.
Unfortunately, all known registry available PnP device information (from
…\Enum.… and …\Service sections) are not answer on this (simple?)
question.

I establish (heuristic and not perfect) algorithm how to define it via
analyzing new volumes (e:, f: etc.) after device is plugged in.
But it is not working for Server 2003 which assigns DOS names not auto,
but only via Administrative tool.

Now I’m looking for the better idea how to define storage devices… :slight_smile:

Regards,
Michael.

You could look for new devices in the disk device class, or devices
exposing the disk device interface. Both can be accomplished through
SetupDi.

-p

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Grabelkovsky,
Michael
Sent: Monday, March 20, 2006 12:02 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] How to define “PnP Device is Storage Device?”

> From: “Doron Holan” What are you trying
>> to do? What goal are you trying to achieve?
Once
>> you are clear about that, you can get a better answer.

Doron,
I’ve intercepted all PnP devices plug in (via CM) and try understanding
which device is storage device.
Unfortunately, all known registry available PnP device information (from
…\Enum.… and …\Service sections) are not answer on this (simple?)
question.

I establish (heuristic and not perfect) algorithm how to define it via
analyzing new volumes (e:, f: etc.) after device is plugged in.
But it is not working for Server 2003 which assigns DOS names not auto,
but only via Administrative tool.

Now I’m looking for the better idea how to define storage devices… :slight_smile:

Regards,
Michael.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

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