mirror of https://github.com/FreeRDP/FreeRDP
[settings] add RemoteFxRlgrMode setting
This commit is contained in:
parent
8b8a19868a
commit
268bf25f02
|
@ -664,7 +664,8 @@ struct rdp_settings
|
||||||
SETTINGS_DEPRECATED(ALIGN64 UINT32 RemoteFxCodecMode); /* 3651 */
|
SETTINGS_DEPRECATED(ALIGN64 UINT32 RemoteFxCodecMode); /* 3651 */
|
||||||
SETTINGS_DEPRECATED(ALIGN64 BOOL RemoteFxImageCodec); /* 3652 */
|
SETTINGS_DEPRECATED(ALIGN64 BOOL RemoteFxImageCodec); /* 3652 */
|
||||||
SETTINGS_DEPRECATED(ALIGN64 UINT32 RemoteFxCaptureFlags); /* 3653 */
|
SETTINGS_DEPRECATED(ALIGN64 UINT32 RemoteFxCaptureFlags); /* 3653 */
|
||||||
UINT64 padding3712[3712 - 3654]; /* 3654 */
|
SETTINGS_DEPRECATED(ALIGN64 UINT32 RemoteFxRlgrMode); /* 3654 */
|
||||||
|
UINT64 padding3712[3712 - 3655]; /* 3655 */
|
||||||
|
|
||||||
/* NSCodec */
|
/* NSCodec */
|
||||||
SETTINGS_DEPRECATED(ALIGN64 BOOL NSCodec); /* 3712 */
|
SETTINGS_DEPRECATED(ALIGN64 BOOL NSCodec); /* 3712 */
|
||||||
|
|
|
@ -1919,6 +1919,9 @@ UINT32 freerdp_settings_get_uint32(const rdpSettings* settings, FreeRDP_Settings
|
||||||
case FreeRDP_RemoteFxCodecMode:
|
case FreeRDP_RemoteFxCodecMode:
|
||||||
return settings->RemoteFxCodecMode;
|
return settings->RemoteFxCodecMode;
|
||||||
|
|
||||||
|
case FreeRDP_RemoteFxRlgrMode:
|
||||||
|
return settings->RemoteFxRlgrMode;
|
||||||
|
|
||||||
case FreeRDP_RemoteWndSupportLevel:
|
case FreeRDP_RemoteWndSupportLevel:
|
||||||
return settings->RemoteWndSupportLevel;
|
return settings->RemoteWndSupportLevel;
|
||||||
|
|
||||||
|
@ -2416,6 +2419,10 @@ BOOL freerdp_settings_set_uint32(rdpSettings* settings, FreeRDP_Settings_Keys_UI
|
||||||
settings->RemoteFxCodecMode = cnv.c;
|
settings->RemoteFxCodecMode = cnv.c;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case FreeRDP_RemoteFxRlgrMode:
|
||||||
|
settings->RemoteFxRlgrMode = cnv.c;
|
||||||
|
break;
|
||||||
|
|
||||||
case FreeRDP_RemoteWndSupportLevel:
|
case FreeRDP_RemoteWndSupportLevel:
|
||||||
settings->RemoteWndSupportLevel = cnv.c;
|
settings->RemoteWndSupportLevel = cnv.c;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -415,6 +415,7 @@ static const struct settings_str_entry settings_map[] = {
|
||||||
{ FreeRDP_RemoteFxCaptureFlags, FREERDP_SETTINGS_TYPE_UINT32, "FreeRDP_RemoteFxCaptureFlags" },
|
{ FreeRDP_RemoteFxCaptureFlags, FREERDP_SETTINGS_TYPE_UINT32, "FreeRDP_RemoteFxCaptureFlags" },
|
||||||
{ FreeRDP_RemoteFxCodecId, FREERDP_SETTINGS_TYPE_UINT32, "FreeRDP_RemoteFxCodecId" },
|
{ FreeRDP_RemoteFxCodecId, FREERDP_SETTINGS_TYPE_UINT32, "FreeRDP_RemoteFxCodecId" },
|
||||||
{ FreeRDP_RemoteFxCodecMode, FREERDP_SETTINGS_TYPE_UINT32, "FreeRDP_RemoteFxCodecMode" },
|
{ FreeRDP_RemoteFxCodecMode, FREERDP_SETTINGS_TYPE_UINT32, "FreeRDP_RemoteFxCodecMode" },
|
||||||
|
{ FreeRDP_RemoteFxRlgrMode, FREERDP_SETTINGS_TYPE_UINT32, "FreeRDP_RemoteFxRlgrMode" },
|
||||||
{ FreeRDP_RemoteWndSupportLevel, FREERDP_SETTINGS_TYPE_UINT32,
|
{ FreeRDP_RemoteWndSupportLevel, FREERDP_SETTINGS_TYPE_UINT32,
|
||||||
"FreeRDP_RemoteWndSupportLevel" },
|
"FreeRDP_RemoteWndSupportLevel" },
|
||||||
{ FreeRDP_RequestedProtocols, FREERDP_SETTINGS_TYPE_UINT32, "FreeRDP_RequestedProtocols" },
|
{ FreeRDP_RequestedProtocols, FREERDP_SETTINGS_TYPE_UINT32, "FreeRDP_RequestedProtocols" },
|
||||||
|
|
|
@ -391,6 +391,9 @@ rdpSettings* freerdp_settings_new(DWORD flags)
|
||||||
if (!settings)
|
if (!settings)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
if (!freerdp_settings_set_uint32(settings, FreeRDP_RemoteFxRlgrMode, RLGR3))
|
||||||
|
goto out_fail;
|
||||||
|
|
||||||
if (!freerdp_settings_set_uint16(settings, FreeRDP_CapsProtocolVersion,
|
if (!freerdp_settings_set_uint16(settings, FreeRDP_CapsProtocolVersion,
|
||||||
TS_CAPS_PROTOCOLVERSION))
|
TS_CAPS_PROTOCOLVERSION))
|
||||||
goto out_fail;
|
goto out_fail;
|
||||||
|
|
|
@ -318,6 +318,7 @@ static const size_t uint32_list_indices[] = {
|
||||||
FreeRDP_RemoteFxCaptureFlags,
|
FreeRDP_RemoteFxCaptureFlags,
|
||||||
FreeRDP_RemoteFxCodecId,
|
FreeRDP_RemoteFxCodecId,
|
||||||
FreeRDP_RemoteFxCodecMode,
|
FreeRDP_RemoteFxCodecMode,
|
||||||
|
FreeRDP_RemoteFxRlgrMode,
|
||||||
FreeRDP_RemoteWndSupportLevel,
|
FreeRDP_RemoteWndSupportLevel,
|
||||||
FreeRDP_RequestedProtocols,
|
FreeRDP_RequestedProtocols,
|
||||||
FreeRDP_SelectedProtocol,
|
FreeRDP_SelectedProtocol,
|
||||||
|
|
Loading…
Reference in New Issue