http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q259695
This article mentions support for NT4.0 & up.
At the end, the KB article mentions using REGSTR_KEY_PCIENUM, for listing
PCI devices.
hDevInfo = SetupDiGetClassDevs(NULL,
REGSTR_KEY_PCIENUM, // Enumerator
0, DIGCF_PRESENT | DIGCF_ALLCLASSES );
On trying this call on NT4 SP6, it returns error “invalid data”. If I use
0 instead for the enumerator, it succeeds. Anything missing here? Also
what would be the best way to get started with NT4 device-driver
installations?
Thanks.
-ak