PCI bus upper filter driver

Hello everyone, is it still possible to create a PCI bus upperfilter driver for Windows 11?
I need to intercept the installation of a card during kernel boot to prevent a reboot.
All my tests result in a crash, and I have many questions about this.

Thank you for any answers you can provide.

Nothing has changed there. Assuming you are using documented interfaces, it is extremely rare for any driver technology to go away. What is the crash you are seeing?

PciBusFilter plugs into SystemClass through registry key, as .inf installation is supressed. The sample tracks resource assignment, so adjust IRP_MJ as needed.

\Windows\INF\SetupApi.dev.log can show meaningful traces.

I may have found my mistake; I was installing my filter on the PCI bus's PDO instead of the FDO.

After much testing, I can't seem to access the IRP_MJ_PNP files with a WDF filter. Can you confirm that I absolutely must use a WDM filter?
Thank you for your interest in our problems. Sincerely

In my system information, I installed it by adding the following registry entry:[AesisWdmFilter_AddReg]
HKLM,System\CurrentControlSet\Control\Class{4D36E97D-E325-11CE-BFC1-08002BE10318}, "UpperFilters", 0x00010000, "AesisWdmFilter"
It seems to be working.

This approach failed on my side, due to a syntax error (?). Spent alot of time on it.