使用带有VirtualScreen值的c ++中的DirectX进行屏幕截图。

问题描述:

你好,

我试图找到一个简单的例子来获取整个屏幕的附加监视器的扩展。

I am trying to find simple example for getting a capture of the whole screen with extensions of the additional monitors.

这是我得到的:  https://github.com/Antranilan/DirectX/tree/master

Here is what i got: https://github.com/Antranilan/DirectX/tree/master

我有一个C#表单的代码,它做我想要的但是我我正在尝试使用DirectX在c ++中完成它

I have code for a C# form which does what i want but i am trying to do it in c++ using DirectX

这是C#表单代码:  https://github.com/Antranilan/CsharpForm/blob/master/Form1.cs

Here is C# form code: https://github.com/Antranilan/CsharpForm/blob/master/Form1.cs

非常感谢,

Mac

您好。看看这些文章:

Hello.Look at these articles:

没有DirectX:  https://github.com/tobe/prtscrpp

Without DirectX:  https://github.com/tobe/prtscrpp

使用DirectX:
http://stackoverflow.com/questions/30021274/capture-screen-using-directx

With DirectX: http://stackoverflow.com/questions/30021274/capture-screen-using-directx

此致,Guido