ge9 / IddSampleDriver

Add virtual monitors to your windows 10 device! Works with Oculus software, obs, and any desktop sharing software
683 stars 50 forks source link

How to create a device? #17

Closed HuntCode closed 10 months ago

HuntCode commented 10 months ago

Hi,I can create a monitor with the guide,but I want to use this Driver with my code. How can I achieve this idea? I'm not a driver developer,if you can give some suggestions,I'll really appratiate your help

HuntCode commented 10 months ago

I can install the Driver(inf)with SetupCopyOEMInf and DiInstallDriver,but it just install the driver. In the Windows Device Manager,there's not a device. I want to create a monitor with my program

HuntCode commented 10 months ago

I get a clue with the windows sample of idd https://github.com/microsoft/Windows-driver-samples/blob/main/video/IndirectDisplay/IddSampleApp/main.cpp