Comments (11)
For example, adding two virtual monitors A+B, according to your code, when adding monitors, it will change the new resolution through the MonitorModesUpdate function, but in fact, only A has changed, and in any case, it can not change the resolution of B. The first parameter of IddCxMonitorUpdateModes has no actual effect. The resolution of A is changed regardless of whether IDDCX_MONITOR of A or B is passed
from rustdeskidddriver.
For example, if I add virtual monitors A and B, and B is the virtual monitor that is added later, how can I update the display mode of only monitor B, while the display mode of A remains unchanged
from rustdeskidddriver.
RustDeskIddDriver will not change the settings of other monitors.
The system remembers the relative positions of different monitors.
For example, if there are two monitors, A+B, and their positions and resolutions are adjusted the first time, then when there are two monitors for the second time, for example, A first and then B, the previous settings will be restored.
from rustdeskidddriver.
You can find the system settings in the register HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration
from rustdeskidddriver.
Ok, I get it.
I'll test later.
from rustdeskidddriver.
Is there a way to change the default display of the first virtual screen? Can I directly change how the second screen is displayed?
from rustdeskidddriver.
Please explain more details. I cannot understand clearly.
from rustdeskidddriver.
I don't know, but I'll test it later.
from rustdeskidddriver.
Okay, can you tell me the results after you finish testing? I'm not sure if I had a problem using the IddCxMonitorUpdateModes function, but the function returned success.Thanks
from rustdeskidddriver.
I've tested. MonitorModesUpdate()
works as expected.
I've made a simple change in the sample code.
Then the added monitors resolutions are:
from rustdeskidddriver.
I modified it according to you. After I tried it, it didn't work. The virtual monitor on the first connection is always updated, and the virtual monitor on the second connection is not updated. The display mode of the second virtual display is the same as when it was created. I tried it on windows1909
from rustdeskidddriver.
Related Issues (12)
- custom resolution and refresh rate HOT 14
- 请问为更新不出来4k分辨率? HOT 1
- WindowsSever2019上增加屏幕的时候报错 HOT 8
- IddCxAdapterInitAsync report the status_not_support error(0xc00000bb) HOT 2
- SwDeviceCreate returns 0x800700b7 when open an existed device HOT 5
- When following the README.md and attempting to install the driver it fails with last error 0xe000020b HOT 2
- Can we expand this to add more than 3 monitors ? HOT 4
- Monitors not persisting after a restart HOT 4
- 有持久化的创建显示适配器方法吗? HOT 9
- 虚拟机上调用 DeviceIoControl 返回错误码0x57(87:参数错误) HOT 8
- How do I create a virtual screen with a custom resolution? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rustdeskidddriver.