WDDM is kernel-display only driver , but it just works for actual physics display adapter . so , I develop a virtual PCI bus driver , and it create a virtual display adapter.while I load KMDOD sample for the virtual display adapter , the device manager report code (31) .
My questions :
1. Virtual display adapter , a virtual hardware , can be achieved by this way (through virtual PCI bus)?
2. If it can be achieved by point 1, the PCI bus driver how to implement IRP_MN_QUERY_RESOURCE and IRP_MN_QUERY_RESOURCE_REQUIREDMENT ?
Please advise, thanks.