Hi!
I’m using SetupDiGetDeviceRegistryProperty() to gather some
information. I have found that if I ask for
SPDRP_BUSNUMBER
or SPDRP_LEGACYBUSTYPE
my result is one of:
-
The “right” answers as indicated by looking at the AllocConfig
resource list in regedit;
-
Answers that don’t match the values found in AllocConfig;
-
An error 13 (ERROR_INVALID_DATA)
Does this sound like expected behavior? I’m seeing it on both WIndows
2000 and Windows XP.
Thanks!
— tom
— tom
tom allebrandi
Frontline Test Equipment, Inc.
+1-434-984-4500
xxxxx@fte.com
I’m sorry it’s taken me so long to reply. I hadn’t registered my “online” id
with the list server, so my posts were dropped.
This happens when there is no entry in the registry for what was requested.
Unfortunately, there appears to be no documentation that this is so. I’ve
opened a doc bug to that effect.
–
James Antognini
Windows DDK Support
This posting is provided “AS IS” with no warranties, and confers no rights.
“Tom Allebrandi” wrote in message news:xxxxx@ntdev…
> Hi!
>
> I’m using SetupDiGetDeviceRegistryProperty() to gather some
> information. I have found that if I ask for
>
> SPDRP_BUSNUMBER
> or SPDRP_LEGACYBUSTYPE
>
> my result is one of:
>
> 1) The “right” answers as indicated by looking at the AllocConfig
> resource list in regedit;
>
> 2) Answers that don’t match the values found in AllocConfig;
>
> 3) An error 13 (ERROR_INVALID_DATA)
>
> Does this sound like expected behavior? I’m seeing it on both WIndows
> 2000 and Windows XP.
>
> Thanks!
>
> — tom
> — tom
> tom allebrandi
> Frontline Test Equipment, Inc.
> +1-434-984-4500
> xxxxx@fte.com
>