Regarding HalAssignSlotResources()

Hi All,
I am writing a driver in which I need to write Ethernet card’s PCI Configuration space.
I am writing this driver on Windows NT 4.0 SP6. I have found my device using HalGetBusData()
now I want to find out the physical address of the PCI conf. space so that I can write Command & Status
registers. So I tried using HalAssignSlotResources() function after finding out bus number & slot umber but its failing.
It returns status as “STATUS_NOT_FOUND”.
Can anyone help me?

Saket

Zensar Technologies Ltd. Mail Disclaimer: This e-mail and any files transmitted with it are confidential and the views expressed in the same are not necessarily the views of Zensar Technologies Ltd., and its Directors, Management or Employees. This communication represents the originator’s personal views and opinions. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail by error, and that any use, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. You shall be under obligation to keep the contents of this e-mail, strictly confidential and shall not disclose, disseminate or divulge the same to any Person, Company, Firm or Entity. Please ensure you have adequate virus protection before you open or detach any documents from this transmission. Zensar Technologies Ltd. does not accept any liability for virus. If you received this e-mail in error, please immediately notify xxxxx@zensar.com. The rights to monitor all e-mail communication through our network are reserved with us.