I did it. Just little change my code
https://gist.github.com/avQse/4334ec79e0fbe312b622 . Thank you all.
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceler
On Tue, 22 Mar 2016 18:38:15 +0300
c0f...@mail.ru wrote:
> Hi all
> I write my own rdp client, based on freerdp library. Need to make
> screenshot remote machine after login.
>
> I use Sample solution which comes with freerdp.
>
> static BOOL tf_begin_paint(rdpContext* context)
> {
> rdpGdi*
Previous i used only GDI with software drawing, but for work
gdi_UpdateSurfaces i turned on GFX.
I tried save bitmap in gdi_OutputUpdate , but received broken bmp
http://take.ms/TKGs2
https://gist.github.com/avQse/1674bb8f50574225168f
What am I doing wrong?
>Tue, 22 Mar 2016, 21:53 +05
I seen this commit.
I do exactly the same, trying to get primary_buffer. But I have it empty,
filled with zeros.
>Tue, 22 Mar 2016 , 21:35 +05:00 от Antenore Gatta < anten...@simbiosi.org >:
>
>On Tue, 22 Mar 2016 18:38:15 +0300
>c0f...@mail.ru wrote:
>
>> Hi all
>> I write my own rdp client, b
Depends on what you are using.
The following things have to be taken into account:
* Do you use only GDI mode or also GFX? (they both use different
rendering paths)
* Do you use hardware accelerated drawing (/gdi:hw) or software?
For software drawint the best starting point is gdi_UpdateSurfaces