Hi,
I understand that the replacement for these on XP can be to prepare an IRP
with IRP_MJ_PNP & IRP_MN_READ_CONFIG and get the desired data from the bus
driver. However my situation is like this :
My driver is Ndis miniport for the PCI network card, and it implements HAL
specific functions like locating the device, read/write device regsiters,
MII etc in a separate HAL LIB and main driver links to this at compile
time. This LIB uses calls to HalGet/SetBusDataByOffset to locate the Texas
PCI-to-PCI bridge chip and to set/get data (like disable/enable interrupts
or change LED state etc.) whenever required. Now I need to support this
driver and hence LIB to WinXP. Being a statically linked library to the
Ndis miniport driver, what would the suggested approach to do with this
LIB so that I get rid of these obsolete HAL APIs from there and make my
Ndis miniport card driver supported on WinXP.
thanks
Raj