ge9 / IddSampleDriver

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

How to create a device? #17

Closed HuntCode closed 1 year ago

HuntCode commented 1 year 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 1 year 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 1 year 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