Support for RDP protocol version 10.7

* Adds support for 10.7 protocol version
* Uses it as client default

Signed-off-by: Armin Novak <armin.novak@thincast.com>
This commit is contained in:
Armin Novak 2019-12-19 09:50:29 +01:00
parent 182d0ce548
commit 323491dab1
3 changed files with 3 additions and 1 deletions

View File

@ -89,6 +89,7 @@ typedef enum
RDP_VERSION_10_4 = 0x00080009,
RDP_VERSION_10_5 = 0x0008000a,
RDP_VERSION_10_6 = 0x0008000b,
RDP_VERSION_10_7 = 0x0008000C
} RDP_VERSION;
/* Color depth */

View File

@ -81,6 +81,7 @@ static DWORD rdp_version_common(DWORD serverVersion, DWORD clientVersion)
case RDP_VERSION_10_4:
case RDP_VERSION_10_5:
case RDP_VERSION_10_6:
case RDP_VERSION_10_7:
return version;
default:

View File

@ -331,7 +331,7 @@ rdpSettings* freerdp_settings_new(DWORD flags)
settings->Fullscreen = FALSE;
settings->GrabKeyboard = TRUE;
settings->Decorations = TRUE;
settings->RdpVersion = RDP_VERSION_10_6;
settings->RdpVersion = RDP_VERSION_10_7;
settings->ColorDepth = 16;
settings->ExtSecurity = FALSE;
settings->NlaSecurity = TRUE;