As part of a driver installation App, I want to create the reg entry
for a PCI adapter on Win98. My understanding is that a correct entry
in the Enum\PCI is essential & should have the ID as
“Enum\PCI\HW_ID\Instance”.
The problem here is that the ‘Instance’ in the ID above is dependant on
the slot & as such is not available beforehand. How does one obtain this
information at run time (before the driver is installed) for a PnP device?
Also CM_Create_DevNode() needs the Parent dev node as well. How do we get
it?
As part of a driver installation App, I want to create the reg entry
for a PCI adapter on Win98. My understanding is that a correct entry
in the Enum\PCI is essential & should have the ID as
“Enum\PCI\HW_ID\Instance”.
The problem here is that the ‘Instance’ in the ID above is
dependant on
the slot & as such is not available beforehand. How does one obtain this
information at run time (before the driver is installed) for a PnP device?
Also CM_Create_DevNode() needs the Parent dev node as well.
How do we get
it?