Indirect Display Driver :After the monitor has been removed, I cannot insert the monitor again.

KevinLo[羅峯昌] 0 Reputation points
2023-02-23T05:53:07.7366667+00:00

I modified the iddsampledriver source code to add or remove a monitor dynamically via the DeviceIOControl. However, I encountered a problem where I am unable to insert the monitor again after removing it. When I call the function IddCxMonitorArrival(), it returns false. I did increase the number of ConnectorIndex using the following code:

MonitorInfo.ConnectorIndex = ConnectorIndex;

Did I miss something?

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,679 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.