我想创建一个虚拟监视器。其工作方式是虚拟监视器 会出现在我桌面上的一个窗口中。据 Windows 所知,它只是另一台显示器。
我突然想到,实际上,它必须作为视频卡驱动程序来完成(即视频不会通过电线连接到 LCD 面板,而是会进入桌面上的另一个窗口)。
从技术上讲,我所描述的内容是否可能? (从DDK的角度来看)
注意:我不能使用虚拟 PC,因为没有虚拟 PC 的分辨率足以满足我的需要。也因为这不是我要求的。
Note: My reasons are unimportant, but i can make some up:
- i want to test my application under high-dpi settings (288dpi)
- i want to create a monitor that my iPad can VNC to
- the family TV runs on the main monitor
- the hijacker is monitoring the bus, and he'll blow it up if he suspects we're getting the passengers off
- i'm trying to expand the limits of human knowledge and understanding, for the good of all man-kind
最佳答案
我会说这绝对有可能,因为这就是虚拟化工具为其 guest 实用程序所做的事情,但我无法告诉您详细信息。我建议查看 VirtualBox guest 驱动程序代码作为起点: http://www.virtualbox.org/browser/trunk/src/VBox/Additions/WINNT/Graphics
(据我所知,这是在 GPL 下发布的。)
关于Windows:是否可以*创建(虚拟)视频卡驱动程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3752031/