API for Windows 10 virtual desktops

后端 未结 3 712
一整个雨季
一整个雨季 2020-12-07 13:41

Is there any way to enumerate, switch, add virtual desktops and move window between desktops from code? Preferably, WinAPI.

3条回答
  •  太阳男子
    2020-12-07 14:10

    I fear that all about "Virtual desktops" in Windows 10 is undocumented, but in a Russian page I've seen documented the interfaces. I don't speak Russian but seems that they have used reversed engineering. Anyway, the code is very clear (Thanks to them!).

    Keep an eye here: http://www.cyberforum.ru/blogs/105416/blog3671.html

    I've been trying to see if the old API's CreateDesktop, OpenDesktop, etc... is linked to the new Virtual-Desktops, but no way...

    The interfaces work with the final production release of Windows 10 (2015-05-08), but you shouldn't use them in a real wide distributed application until Microsoft documents them. Too much risk.

    Regards.

提交回复
热议问题