Thanks for the answer, I looked at the source code freerdp-2.4, gdi_init is used only on the client side. But I'm changing the code for part of the server. What other solutions are there?
ср, 14 сент. 2022 г. в 07:06, armin.novak--- via FreeRDP-devel <freerdp-devel@lists.sourceforge.net>: > > you don´t. > > you tell which format the client expects and the library will > decode/convert to that. > > > you do that with an argument at gdi_init > > > regards > > Armin > > On 14.09.22 07:11, Andrey Af via FreeRDP-devel wrote: > > Hi all, > > How to correctly determine PIXEL_FORMAT from the server side for clients? > > The problem is that MacOs 10.15 with Microsoft Remote Desktop 10.7 > > wants a format PIXEL_FORMAT_RBGX32, but Windows or Linux(LE) correctly > > works with format PIXEL_FORMAT_BGRX32. > > > > I know there are parameters such as RdpVersion, ClientProductId, > > OsMajorType, OsMinorType from the settings_str.c file, but I haven't > > found what I need. > > > > > > _______________________________________________ > > FreeRDP-devel mailing list > > FreeRDP-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/freerdp-devel > > > _______________________________________________ > FreeRDP-devel mailing list > FreeRDP-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freerdp-devel _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel