Are you installing the driver on the PCI device itself? how are you installing the driver? If you are calling devcon install [....] you are installing your driver on a root enumerated device and need to call devcon update [....] instead.
No Hardware Resources passed into EvtDevicePrepareHardware
Thireos, Mike (Contractor)
1
Reputation point
I have written a KMDF function driver that uses the 1394 OHCI bus driver and I need access the some hardware registers to my PCIe device. The resources appear in Device Manager but are never are passed into the EvtDevicePrepareHardware so that I can access them. I also tried WdfFdoQueryForInterface using the GUID_BUS_INTERFACE_STANDARD and it returned unsupported.
Any ideas of why the bus driver doesn't allow me access to the HW resources from my function driver? Any way to work around this?
Thanks.