Services 'enum' Registry Tree

If I look under my service registry key, I find under “enum” all loaded devices.
Can I use this information in my driver or shall I save the loaded devices in a list in my driver?
Is there any documentation about this entry?

On Aug 30, 2018, at 11:17 PM, xxxxx@x-publisher.com wrote:
>
> If I look under my service registry key, I find under “enum” all loaded devices.
> Can I use this information in my driver or shall I save the loaded devices in a list in my driver?
> Is there any documentation about this entry?

How would that help you? How would you use the names in that list?

Very, very few drivers need a list of their instances. In almost every case, each device instance is totally independent. You just don’t care that there are 3 instances running.

Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

You should not enumerate the enum key and it?s sub tree in your driver. It should be considered opaque and private for system use. It?s format and location does change. There are APIs to get your device specific state and device specific HKEYs

Bent from my phone


From: 30531563700n behalf of
Sent: Thursday, August 30, 2018 11:27 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Services ‘enum’ Registry Tree

On Aug 30, 2018, at 11:17 PM, xxxxx@x-publisher.com wrote:
>
> If I look under my service registry key, I find under “enum” all loaded devices.
> Can I use this information in my driver or shall I save the loaded devices in a list in my driver?
> Is there any documentation about this entry?

How would that help you? How would you use the names in that list?

Very, very few drivers need a list of their instances. In almost every case, each device instance is totally independent. You just don’t care that there are 3 instances running.
?
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


NTDEV is sponsored by OSR

Visit the list online at: https:

MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers!
Details at https:

To unsubscribe, visit the List Server section of OSR Online at https:</https:></https:></https:>