2011-07-01 05:23:36 +04:00
|
|
|
/**
|
2012-10-09 07:02:04 +04:00
|
|
|
* FreeRDP: A Remote Desktop Protocol Implementation
|
2011-07-01 05:23:36 +04:00
|
|
|
* RDP Settings
|
|
|
|
*
|
|
|
|
* Copyright 2009-2011 Jay Sorg
|
2012-11-08 03:23:25 +04:00
|
|
|
* Copyright 2010-2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
2016-02-26 16:50:27 +03:00
|
|
|
* Copyright 2016 Armin Novak <armin.novak@gmail.com>
|
2011-07-01 05:23:36 +04:00
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2012-11-08 08:29:24 +04:00
|
|
|
#ifndef FREERDP_SETTINGS_H
|
|
|
|
#define FREERDP_SETTINGS_H
|
2011-07-01 05:23:36 +04:00
|
|
|
|
2016-02-23 20:08:18 +03:00
|
|
|
#include <winpr/timezone.h>
|
2021-01-18 19:27:40 +03:00
|
|
|
#include <winpr/wlog.h>
|
2016-02-23 20:08:18 +03:00
|
|
|
|
2012-11-09 04:01:52 +04:00
|
|
|
#include <freerdp/api.h>
|
2011-07-07 21:37:48 +04:00
|
|
|
#include <freerdp/types.h>
|
2011-07-08 08:37:25 +04:00
|
|
|
|
2019-05-08 16:36:20 +03:00
|
|
|
/* RAIL Support Level */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define RAIL_LEVEL_SUPPORTED 0x00000001
|
|
|
|
#define RAIL_LEVEL_DOCKED_LANGBAR_SUPPORTED 0x00000002
|
|
|
|
#define RAIL_LEVEL_SHELL_INTEGRATION_SUPPORTED 0x00000004
|
|
|
|
#define RAIL_LEVEL_LANGUAGE_IME_SYNC_SUPPORTED 0x00000008
|
2019-05-08 16:36:20 +03:00
|
|
|
#define RAIL_LEVEL_SERVER_TO_CLIENT_IME_SYNC_SUPPORTED 0x00000010
|
2019-11-06 17:24:51 +03:00
|
|
|
#define RAIL_LEVEL_HIDE_MINIMIZED_APPS_SUPPORTED 0x00000020
|
|
|
|
#define RAIL_LEVEL_WINDOW_CLOAKING_SUPPORTED 0x00000040
|
|
|
|
#define RAIL_LEVEL_HANDSHAKE_EX_SUPPORTED 0x00000080
|
2019-05-08 16:36:20 +03:00
|
|
|
|
2011-07-09 00:05:30 +04:00
|
|
|
/* Performance Flags */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define PERF_FLAG_NONE 0x00000000
|
|
|
|
#define PERF_DISABLE_WALLPAPER 0x00000001
|
|
|
|
#define PERF_DISABLE_FULLWINDOWDRAG 0x00000002
|
|
|
|
#define PERF_DISABLE_MENUANIMATIONS 0x00000004
|
|
|
|
#define PERF_DISABLE_THEMING 0x00000008
|
|
|
|
#define PERF_DISABLE_CURSOR_SHADOW 0x00000020
|
|
|
|
#define PERF_DISABLE_CURSORSETTINGS 0x00000040
|
|
|
|
#define PERF_ENABLE_FONT_SMOOTHING 0x00000080
|
|
|
|
#define PERF_ENABLE_DESKTOP_COMPOSITION 0x00000100
|
2011-07-09 00:05:30 +04:00
|
|
|
|
2011-12-16 21:14:16 +04:00
|
|
|
/* Connection Types */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define CONNECTION_TYPE_MODEM 0x01
|
|
|
|
#define CONNECTION_TYPE_BROADBAND_LOW 0x02
|
|
|
|
#define CONNECTION_TYPE_SATELLITE 0x03
|
|
|
|
#define CONNECTION_TYPE_BROADBAND_HIGH 0x04
|
|
|
|
#define CONNECTION_TYPE_WAN 0x05
|
|
|
|
#define CONNECTION_TYPE_LAN 0x06
|
|
|
|
#define CONNECTION_TYPE_AUTODETECT 0x07
|
2012-11-08 08:29:24 +04:00
|
|
|
|
|
|
|
/* Client to Server (CS) data blocks */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define CS_CORE 0xC001
|
|
|
|
#define CS_SECURITY 0xC002
|
|
|
|
#define CS_NET 0xC003
|
|
|
|
#define CS_CLUSTER 0xC004
|
|
|
|
#define CS_MONITOR 0xC005
|
|
|
|
#define CS_MCS_MSGCHANNEL 0xC006
|
|
|
|
#define CS_MONITOR_EX 0xC008
|
|
|
|
#define CS_MULTITRANSPORT 0xC00A
|
2012-11-08 08:29:24 +04:00
|
|
|
|
|
|
|
/* Server to Client (SC) data blocks */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define SC_CORE 0x0C01
|
|
|
|
#define SC_SECURITY 0x0C02
|
|
|
|
#define SC_NET 0x0C03
|
|
|
|
#define SC_MCS_MSGCHANNEL 0x0C04
|
|
|
|
#define SC_MULTITRANSPORT 0x0C08
|
2012-11-08 08:29:24 +04:00
|
|
|
|
2018-11-14 12:14:48 +03:00
|
|
|
/* RDP versions, see
|
|
|
|
* [MS-RDPBCGR] 2.2.1.3.2 Client Core Data (TS_UD_CS_CORE)
|
|
|
|
* [MS-RDPBCGR] 2.2.1.4.2 Server Core Data (TS_UD_SC_CORE)
|
|
|
|
*/
|
|
|
|
typedef enum
|
|
|
|
{
|
2019-11-06 17:24:51 +03:00
|
|
|
RDP_VERSION_4 = 0x00080001,
|
|
|
|
RDP_VERSION_5_PLUS = 0x00080004,
|
|
|
|
RDP_VERSION_10_0 = 0x00080005,
|
|
|
|
RDP_VERSION_10_1 = 0x00080006,
|
|
|
|
RDP_VERSION_10_2 = 0x00080007,
|
|
|
|
RDP_VERSION_10_3 = 0x00080008,
|
|
|
|
RDP_VERSION_10_4 = 0x00080009,
|
|
|
|
RDP_VERSION_10_5 = 0x0008000a,
|
|
|
|
RDP_VERSION_10_6 = 0x0008000b,
|
2019-12-19 11:50:29 +03:00
|
|
|
RDP_VERSION_10_7 = 0x0008000C
|
2019-11-06 17:24:51 +03:00
|
|
|
} RDP_VERSION;
|
2012-11-08 08:29:24 +04:00
|
|
|
|
|
|
|
/* Color depth */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define RNS_UD_COLOR_4BPP 0xCA00
|
|
|
|
#define RNS_UD_COLOR_8BPP 0xCA01
|
|
|
|
#define RNS_UD_COLOR_16BPP_555 0xCA02
|
|
|
|
#define RNS_UD_COLOR_16BPP_565 0xCA03
|
|
|
|
#define RNS_UD_COLOR_24BPP 0xCA04
|
2012-11-08 08:29:24 +04:00
|
|
|
|
|
|
|
/* Secure Access Sequence */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define RNS_UD_SAS_DEL 0xAA03
|
2012-11-08 08:29:24 +04:00
|
|
|
|
|
|
|
/* Supported Color Depths */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define RNS_UD_24BPP_SUPPORT 0x0001
|
|
|
|
#define RNS_UD_16BPP_SUPPORT 0x0002
|
|
|
|
#define RNS_UD_15BPP_SUPPORT 0x0004
|
|
|
|
#define RNS_UD_32BPP_SUPPORT 0x0008
|
2012-11-08 08:29:24 +04:00
|
|
|
|
2012-11-26 23:31:31 +04:00
|
|
|
/* Audio Mode */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define AUDIO_MODE_REDIRECT 0 /* Bring to this computer */
|
|
|
|
#define AUDIO_MODE_PLAY_ON_SERVER 1 /* Leave at remote computer */
|
|
|
|
#define AUDIO_MODE_NONE 2 /* Do not play */
|
2012-11-26 23:31:31 +04:00
|
|
|
|
2012-11-08 08:29:24 +04:00
|
|
|
/* Early Capability Flags (Client to Server) */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define RNS_UD_CS_SUPPORT_ERRINFO_PDU 0x0001
|
|
|
|
#define RNS_UD_CS_WANT_32BPP_SESSION 0x0002
|
|
|
|
#define RNS_UD_CS_SUPPORT_STATUSINFO_PDU 0x0004
|
|
|
|
#define RNS_UD_CS_STRONG_ASYMMETRIC_KEYS 0x0008
|
|
|
|
#define RNS_UD_CS_VALID_CONNECTION_TYPE 0x0020
|
|
|
|
#define RNS_UD_CS_SUPPORT_MONITOR_LAYOUT_PDU 0x0040
|
2021-02-04 11:54:48 +03:00
|
|
|
#define RNS_UD_CS_SUPPORT_NETCHAR_AUTODETECT 0x0080
|
2019-11-06 17:24:51 +03:00
|
|
|
#define RNS_UD_CS_SUPPORT_DYNVC_GFX_PROTOCOL 0x0100
|
|
|
|
#define RNS_UD_CS_SUPPORT_DYNAMIC_TIME_ZONE 0x0200
|
|
|
|
#define RNS_UD_CS_SUPPORT_HEARTBEAT_PDU 0x0400
|
2012-11-08 08:29:24 +04:00
|
|
|
|
|
|
|
/* Early Capability Flags (Server to Client) */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define RNS_UD_SC_EDGE_ACTIONS_SUPPORTED 0x00000001
|
|
|
|
#define RNS_UD_SC_DYNAMIC_DST_SUPPORTED 0x00000002
|
2012-11-08 08:29:24 +04:00
|
|
|
|
|
|
|
/* Cluster Information Flags */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define REDIRECTION_SUPPORTED 0x00000001
|
|
|
|
#define REDIRECTED_SESSIONID_FIELD_VALID 0x00000002
|
|
|
|
#define REDIRECTED_SMARTCARD 0x00000040
|
2012-11-08 08:29:24 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
#define REDIRECTION_VERSION1 0x00
|
|
|
|
#define REDIRECTION_VERSION2 0x01
|
|
|
|
#define REDIRECTION_VERSION3 0x02
|
|
|
|
#define REDIRECTION_VERSION4 0x03
|
|
|
|
#define REDIRECTION_VERSION5 0x04
|
|
|
|
#define REDIRECTION_VERSION6 0x05
|
2012-11-08 08:29:24 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
#define MONITOR_PRIMARY 0x00000001
|
2011-12-16 21:14:16 +04:00
|
|
|
|
2011-07-09 00:05:30 +04:00
|
|
|
/* Encryption Methods */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define ENCRYPTION_METHOD_NONE 0x00000000
|
|
|
|
#define ENCRYPTION_METHOD_40BIT 0x00000001
|
|
|
|
#define ENCRYPTION_METHOD_128BIT 0x00000002
|
|
|
|
#define ENCRYPTION_METHOD_56BIT 0x00000008
|
|
|
|
#define ENCRYPTION_METHOD_FIPS 0x00000010
|
2011-07-20 00:30:05 +04:00
|
|
|
|
|
|
|
/* Encryption Levels */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define ENCRYPTION_LEVEL_NONE 0x00000000
|
|
|
|
#define ENCRYPTION_LEVEL_LOW 0x00000001
|
|
|
|
#define ENCRYPTION_LEVEL_CLIENT_COMPATIBLE 0x00000002
|
|
|
|
#define ENCRYPTION_LEVEL_HIGH 0x00000003
|
|
|
|
#define ENCRYPTION_LEVEL_FIPS 0x00000004
|
2011-07-06 02:26:12 +04:00
|
|
|
|
2012-11-08 08:29:24 +04:00
|
|
|
/* Multitransport Types */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define TRANSPORT_TYPE_UDP_FECR 0x00000001
|
|
|
|
#define TRANSPORT_TYPE_UDP_FECL 0x00000004
|
|
|
|
#define TRANSPORT_TYPE_UDP_PREFERRED 0x00000100
|
2012-11-08 08:29:24 +04:00
|
|
|
|
|
|
|
/* Static Virtual Channel Options */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define CHANNEL_OPTION_INITIALIZED 0x80000000
|
|
|
|
#define CHANNEL_OPTION_ENCRYPT_RDP 0x40000000
|
|
|
|
#define CHANNEL_OPTION_ENCRYPT_SC 0x20000000
|
|
|
|
#define CHANNEL_OPTION_ENCRYPT_CS 0x10000000
|
|
|
|
#define CHANNEL_OPTION_PRI_HIGH 0x08000000
|
|
|
|
#define CHANNEL_OPTION_PRI_MED 0x04000000
|
|
|
|
#define CHANNEL_OPTION_PRI_LOW 0x02000000
|
|
|
|
#define CHANNEL_OPTION_COMPRESS_RDP 0x00800000
|
|
|
|
#define CHANNEL_OPTION_COMPRESS 0x00400000
|
|
|
|
#define CHANNEL_OPTION_SHOW_PROTOCOL 0x00200000
|
|
|
|
#define CHANNEL_REMOTE_CONTROL_PERSISTENT 0x00100000
|
2012-11-08 08:29:24 +04:00
|
|
|
|
2011-07-10 20:10:24 +04:00
|
|
|
/* Auto Reconnect Version */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define AUTO_RECONNECT_VERSION_1 0x00000001
|
2011-07-10 20:10:24 +04:00
|
|
|
|
2012-11-01 04:38:48 +04:00
|
|
|
/* Cookie Lengths */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define MSTSC_COOKIE_MAX_LENGTH 9
|
|
|
|
#define DEFAULT_COOKIE_MAX_LENGTH 0xFF
|
2012-11-01 04:38:48 +04:00
|
|
|
|
2011-08-05 00:22:15 +04:00
|
|
|
/* Order Support */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define NEG_DSTBLT_INDEX 0x00
|
|
|
|
#define NEG_PATBLT_INDEX 0x01
|
|
|
|
#define NEG_SCRBLT_INDEX 0x02
|
|
|
|
#define NEG_MEMBLT_INDEX 0x03
|
|
|
|
#define NEG_MEM3BLT_INDEX 0x04
|
|
|
|
#define NEG_ATEXTOUT_INDEX 0x05
|
2021-02-04 11:54:48 +03:00
|
|
|
#define NEG_AEXTTEXTOUT_INDEX 0x06 /* Must be ignored */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define NEG_DRAWNINEGRID_INDEX 0x07 /* Must be ignored */
|
|
|
|
#define NEG_LINETO_INDEX 0x08
|
|
|
|
#define NEG_MULTI_DRAWNINEGRID_INDEX 0x09
|
|
|
|
#define NEG_OPAQUE_RECT_INDEX 0x0A /* Must be ignored */
|
|
|
|
#define NEG_SAVEBITMAP_INDEX 0x0B
|
2021-02-04 11:54:48 +03:00
|
|
|
#define NEG_WTEXTOUT_INDEX 0x0C /* Must be ignored */
|
|
|
|
#define NEG_MEMBLT_V2_INDEX 0x0D /* Must be ignored */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define NEG_MEM3BLT_V2_INDEX 0x0E /* Must be ignored */
|
|
|
|
#define NEG_MULTIDSTBLT_INDEX 0x0F
|
|
|
|
#define NEG_MULTIPATBLT_INDEX 0x10
|
|
|
|
#define NEG_MULTISCRBLT_INDEX 0x11
|
|
|
|
#define NEG_MULTIOPAQUERECT_INDEX 0x12
|
|
|
|
#define NEG_FAST_INDEX_INDEX 0x13
|
|
|
|
#define NEG_POLYGON_SC_INDEX 0x14
|
|
|
|
#define NEG_POLYGON_CB_INDEX 0x15
|
|
|
|
#define NEG_POLYLINE_INDEX 0x16
|
|
|
|
#define NEG_UNUSED23_INDEX 0x17 /* Must be ignored */
|
|
|
|
#define NEG_FAST_GLYPH_INDEX 0x18
|
|
|
|
#define NEG_ELLIPSE_SC_INDEX 0x19
|
|
|
|
#define NEG_ELLIPSE_CB_INDEX 0x1A
|
|
|
|
#define NEG_GLYPH_INDEX_INDEX 0x1B
|
|
|
|
#define NEG_GLYPH_WEXTTEXTOUT_INDEX 0x1C /* Must be ignored */
|
|
|
|
#define NEG_GLYPH_WLONGTEXTOUT_INDEX 0x1D /* Must be ignored */
|
|
|
|
#define NEG_GLYPH_WLONGEXTTEXTOUT_INDEX 0x1E /* Must be ignored */
|
|
|
|
#define NEG_UNUSED31_INDEX 0x1F /* Must be ignored */
|
2011-08-05 00:22:15 +04:00
|
|
|
|
2011-08-21 22:16:53 +04:00
|
|
|
/* Glyph Support Level */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define GLYPH_SUPPORT_NONE 0x0000
|
|
|
|
#define GLYPH_SUPPORT_PARTIAL 0x0001
|
|
|
|
#define GLYPH_SUPPORT_FULL 0x0002
|
|
|
|
#define GLYPH_SUPPORT_ENCODE 0x0003
|
2011-08-21 22:16:53 +04:00
|
|
|
|
2012-11-08 00:13:14 +04:00
|
|
|
/* Gateway Usage Method */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define TSC_PROXY_MODE_NONE_DIRECT 0x0
|
|
|
|
#define TSC_PROXY_MODE_DIRECT 0x1
|
|
|
|
#define TSC_PROXY_MODE_DETECT 0x2
|
|
|
|
#define TSC_PROXY_MODE_DEFAULT 0x3
|
|
|
|
#define TSC_PROXY_MODE_NONE_DETECT 0x4
|
2012-11-08 00:13:14 +04:00
|
|
|
|
|
|
|
/* Gateway Credentials Source */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define TSC_PROXY_CREDS_MODE_USERPASS 0x0
|
|
|
|
#define TSC_PROXY_CREDS_MODE_SMARTCARD 0x1
|
|
|
|
#define TSC_PROXY_CREDS_MODE_ANY 0x2
|
2012-11-08 00:13:14 +04:00
|
|
|
|
2012-11-08 20:16:54 +04:00
|
|
|
/* Redirection Flags */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define LB_TARGET_NET_ADDRESS 0x00000001
|
|
|
|
#define LB_LOAD_BALANCE_INFO 0x00000002
|
|
|
|
#define LB_USERNAME 0x00000004
|
|
|
|
#define LB_DOMAIN 0x00000008
|
|
|
|
#define LB_PASSWORD 0x00000010
|
|
|
|
#define LB_DONTSTOREUSERNAME 0x00000020
|
|
|
|
#define LB_SMARTCARD_LOGON 0x00000040
|
|
|
|
#define LB_NOREDIRECT 0x00000080
|
|
|
|
#define LB_TARGET_FQDN 0x00000100
|
|
|
|
#define LB_TARGET_NETBIOS_NAME 0x00000200
|
|
|
|
#define LB_TARGET_NET_ADDRESSES 0x00000800
|
|
|
|
#define LB_CLIENT_TSV_URL 0x00001000
|
|
|
|
#define LB_SERVER_TSV_CAPABLE 0x00002000
|
|
|
|
|
|
|
|
#define LB_PASSWORD_MAX_LENGTH 512
|
2018-05-03 18:49:14 +03:00
|
|
|
|
2014-07-09 00:32:28 +04:00
|
|
|
/* Keyboard Hook */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define KEYBOARD_HOOK_LOCAL 0
|
|
|
|
#define KEYBOARD_HOOK_REMOTE 1
|
|
|
|
#define KEYBOARD_HOOK_FULLSCREEN_ONLY 2
|
2014-07-09 00:32:28 +04:00
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2012-11-08 20:16:54 +04:00
|
|
|
{
|
|
|
|
UINT32 Length;
|
|
|
|
LPWSTR Address;
|
2022-02-14 16:59:22 +03:00
|
|
|
} TARGET_NET_ADDRESS;
|
2012-11-08 20:16:54 +04:00
|
|
|
|
2013-03-29 06:26:28 +04:00
|
|
|
/* Logon Error Info */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define LOGON_MSG_DISCONNECT_REFUSED 0xFFFFFFF9
|
|
|
|
#define LOGON_MSG_NO_PERMISSION 0xFFFFFFFA
|
|
|
|
#define LOGON_MSG_BUMP_OPTIONS 0xFFFFFFFB
|
|
|
|
#define LOGON_MSG_RECONNECT_OPTIONS 0xFFFFFFFC
|
|
|
|
#define LOGON_MSG_SESSION_TERMINATE 0xFFFFFFFD
|
|
|
|
#define LOGON_MSG_SESSION_CONTINUE 0xFFFFFFFE
|
|
|
|
|
|
|
|
#define LOGON_FAILED_BAD_PASSWORD 0x00000000
|
|
|
|
#define LOGON_FAILED_UPDATE_PASSWORD 0x00000001
|
|
|
|
#define LOGON_FAILED_OTHER 0x00000002
|
|
|
|
#define LOGON_WARNING 0x00000003
|
2013-03-29 06:26:28 +04:00
|
|
|
|
2014-01-12 07:54:08 +04:00
|
|
|
/* Server Status Info */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define STATUS_FINDING_DESTINATION 0x00000401
|
|
|
|
#define STATUS_LOADING_DESTINATION 0x00000402
|
|
|
|
#define STATUS_BRINGING_SESSION_ONLINE 0x00000403
|
|
|
|
#define STATUS_REDIRECTING_TO_DESTINATION 0x00000404
|
|
|
|
#define STATUS_VM_LOADING 0x00000501
|
|
|
|
#define STATUS_VM_WAKING 0x00000502
|
|
|
|
#define STATUS_VM_BOOTING 0x00000503
|
2014-01-12 07:54:08 +04:00
|
|
|
|
2014-03-10 19:16:36 +04:00
|
|
|
/* Compression Flags */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define PACKET_COMPR_TYPE_8K 0x00
|
|
|
|
#define PACKET_COMPR_TYPE_64K 0x01
|
|
|
|
#define PACKET_COMPR_TYPE_RDP6 0x02
|
|
|
|
#define PACKET_COMPR_TYPE_RDP61 0x03
|
|
|
|
#define PACKET_COMPR_TYPE_RDP8 0x04
|
2014-03-10 19:16:36 +04:00
|
|
|
|
2015-08-27 11:18:22 +03:00
|
|
|
/* Desktop Rotation Flags */
|
2019-11-06 17:24:51 +03:00
|
|
|
#define ORIENTATION_LANDSCAPE 0
|
|
|
|
#define ORIENTATION_PORTRAIT 90
|
|
|
|
#define ORIENTATION_LANDSCAPE_FLIPPED 180
|
|
|
|
#define ORIENTATION_PORTRAIT_FLIPPED 270
|
2011-07-10 20:10:24 +04:00
|
|
|
|
|
|
|
/* ARC_CS_PRIVATE_PACKET */
|
|
|
|
typedef struct
|
|
|
|
{
|
2012-10-09 11:26:39 +04:00
|
|
|
UINT32 cbLen;
|
|
|
|
UINT32 version;
|
|
|
|
UINT32 logonId;
|
2012-10-09 11:01:37 +04:00
|
|
|
BYTE securityVerifier[16];
|
2011-07-10 20:10:24 +04:00
|
|
|
} ARC_CS_PRIVATE_PACKET;
|
|
|
|
|
2011-07-25 21:42:14 +04:00
|
|
|
/* ARC_SC_PRIVATE_PACKET */
|
|
|
|
typedef struct
|
|
|
|
{
|
2012-10-09 11:26:39 +04:00
|
|
|
UINT32 cbLen;
|
|
|
|
UINT32 version;
|
|
|
|
UINT32 logonId;
|
2012-10-09 11:01:37 +04:00
|
|
|
BYTE arcRandomBits[16];
|
2011-07-25 21:42:14 +04:00
|
|
|
} ARC_SC_PRIVATE_PACKET;
|
|
|
|
|
2012-01-14 23:42:36 +04:00
|
|
|
/* Certificates */
|
|
|
|
|
|
|
|
struct rdp_CertBlob
|
|
|
|
{
|
2012-10-09 11:26:39 +04:00
|
|
|
UINT32 length;
|
2012-10-09 11:01:37 +04:00
|
|
|
BYTE* data;
|
2012-01-14 23:42:36 +04:00
|
|
|
};
|
|
|
|
typedef struct rdp_CertBlob rdpCertBlob;
|
|
|
|
|
|
|
|
struct rdp_X509CertChain
|
|
|
|
{
|
2012-10-09 11:26:39 +04:00
|
|
|
UINT32 count;
|
2012-01-14 23:42:36 +04:00
|
|
|
rdpCertBlob* array;
|
|
|
|
};
|
|
|
|
typedef struct rdp_X509CertChain rdpX509CertChain;
|
|
|
|
|
|
|
|
struct rdp_CertInfo
|
|
|
|
{
|
2012-09-24 12:40:32 +04:00
|
|
|
BYTE* Modulus;
|
|
|
|
DWORD ModulusLength;
|
2012-10-09 11:01:37 +04:00
|
|
|
BYTE exponent[4];
|
2012-01-14 23:42:36 +04:00
|
|
|
};
|
|
|
|
typedef struct rdp_CertInfo rdpCertInfo;
|
|
|
|
|
|
|
|
struct rdp_certificate
|
|
|
|
{
|
|
|
|
rdpCertInfo cert_info;
|
|
|
|
rdpX509CertChain* x509_cert_chain;
|
|
|
|
};
|
2012-02-17 09:58:30 +04:00
|
|
|
typedef struct rdp_certificate rdpCertificate;
|
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2012-02-17 09:58:30 +04:00
|
|
|
{
|
2012-09-24 12:40:32 +04:00
|
|
|
BYTE* Modulus;
|
|
|
|
DWORD ModulusLength;
|
|
|
|
BYTE* PrivateExponent;
|
|
|
|
DWORD PrivateExponentLength;
|
2012-10-09 11:01:37 +04:00
|
|
|
BYTE exponent[4];
|
2022-02-14 16:59:22 +03:00
|
|
|
} rdpRsaKey;
|
2012-01-14 23:42:36 +04:00
|
|
|
|
|
|
|
/* Channels */
|
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2012-11-18 09:08:03 +04:00
|
|
|
{
|
|
|
|
int argc;
|
|
|
|
char** argv;
|
2022-02-14 16:59:22 +03:00
|
|
|
} ADDIN_ARGV;
|
2012-11-18 09:08:03 +04:00
|
|
|
|
2012-01-14 23:42:36 +04:00
|
|
|
/* Extensions */
|
|
|
|
|
2011-07-01 05:23:36 +04:00
|
|
|
struct rdp_ext_set
|
|
|
|
{
|
|
|
|
char name[256]; /* plugin name or path */
|
2019-11-06 17:24:51 +03:00
|
|
|
void* data; /* plugin data */
|
2011-07-01 05:23:36 +04:00
|
|
|
};
|
|
|
|
|
2012-01-14 23:42:36 +04:00
|
|
|
/* Bitmap Cache */
|
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2011-08-06 00:56:40 +04:00
|
|
|
{
|
2012-10-09 11:01:37 +04:00
|
|
|
UINT16 numEntries;
|
|
|
|
UINT16 maxSize;
|
2022-02-14 16:59:22 +03:00
|
|
|
} BITMAP_CACHE_CELL_INFO;
|
2011-08-06 00:56:40 +04:00
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2011-08-06 00:56:40 +04:00
|
|
|
{
|
2012-10-09 11:26:39 +04:00
|
|
|
UINT32 numEntries;
|
2012-10-09 10:38:39 +04:00
|
|
|
BOOL persistent;
|
2022-02-14 16:59:22 +03:00
|
|
|
} BITMAP_CACHE_V2_CELL_INFO;
|
2011-08-06 00:56:40 +04:00
|
|
|
|
2012-01-14 23:42:36 +04:00
|
|
|
/* Glyph Cache */
|
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2011-08-21 22:16:53 +04:00
|
|
|
{
|
2012-10-09 11:01:37 +04:00
|
|
|
UINT16 cacheEntries;
|
|
|
|
UINT16 cacheMaximumCellSize;
|
2022-02-14 16:59:22 +03:00
|
|
|
} GLYPH_CACHE_DEFINITION;
|
2011-08-21 22:16:53 +04:00
|
|
|
|
2012-01-14 23:42:36 +04:00
|
|
|
/* Monitors */
|
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2014-01-12 07:54:08 +04:00
|
|
|
{
|
|
|
|
INT32 left;
|
|
|
|
INT32 top;
|
|
|
|
INT32 right;
|
|
|
|
INT32 bottom;
|
|
|
|
UINT32 flags;
|
2022-02-14 16:59:22 +03:00
|
|
|
} MONITOR_DEF;
|
2014-01-12 07:54:08 +04:00
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2014-01-24 01:00:02 +04:00
|
|
|
{
|
|
|
|
UINT32 physicalWidth;
|
|
|
|
UINT32 physicalHeight;
|
|
|
|
UINT32 orientation;
|
|
|
|
UINT32 desktopScaleFactor;
|
|
|
|
UINT32 deviceScaleFactor;
|
2022-02-14 16:59:22 +03:00
|
|
|
} MONITOR_ATTRIBUTES;
|
2014-01-24 01:00:02 +04:00
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2015-08-27 09:10:42 +03:00
|
|
|
{
|
|
|
|
INT32 x;
|
|
|
|
INT32 y;
|
|
|
|
INT32 width;
|
|
|
|
INT32 height;
|
|
|
|
UINT32 is_primary;
|
|
|
|
UINT32 orig_screen;
|
|
|
|
MONITOR_ATTRIBUTES attributes;
|
2022-02-14 16:59:22 +03:00
|
|
|
} rdpMonitor;
|
2015-08-27 09:10:42 +03:00
|
|
|
|
2012-11-09 04:01:52 +04:00
|
|
|
/* Device Redirection */
|
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
#define RDPDR_DTYP_SERIAL 0x00000001
|
|
|
|
#define RDPDR_DTYP_PARALLEL 0x00000002
|
|
|
|
#define RDPDR_DTYP_PRINT 0x00000004
|
|
|
|
#define RDPDR_DTYP_FILESYSTEM 0x00000008
|
|
|
|
#define RDPDR_DTYP_SMARTCARD 0x00000020
|
2012-11-09 04:01:52 +04:00
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2012-11-09 04:01:52 +04:00
|
|
|
{
|
|
|
|
UINT32 Id;
|
|
|
|
UINT32 Type;
|
|
|
|
char* Name;
|
2022-02-14 16:59:22 +03:00
|
|
|
} RDPDR_DEVICE;
|
2012-11-09 04:01:52 +04:00
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2012-11-09 04:01:52 +04:00
|
|
|
{
|
2021-10-07 11:43:16 +03:00
|
|
|
RDPDR_DEVICE device;
|
2012-11-09 04:01:52 +04:00
|
|
|
char* Path;
|
2018-07-30 13:31:11 +03:00
|
|
|
BOOL automount;
|
2022-02-14 16:59:22 +03:00
|
|
|
} RDPDR_DRIVE;
|
2012-11-09 04:01:52 +04:00
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2012-11-09 04:01:52 +04:00
|
|
|
{
|
2021-10-07 11:43:16 +03:00
|
|
|
RDPDR_DEVICE device;
|
2012-11-09 04:01:52 +04:00
|
|
|
char* DriverName;
|
2022-02-14 16:59:22 +03:00
|
|
|
} RDPDR_PRINTER;
|
2012-11-09 04:01:52 +04:00
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2012-11-09 04:01:52 +04:00
|
|
|
{
|
2021-10-07 11:43:16 +03:00
|
|
|
RDPDR_DEVICE device;
|
2022-02-14 16:59:22 +03:00
|
|
|
} RDPDR_SMARTCARD;
|
2012-11-09 04:01:52 +04:00
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2012-11-09 04:01:52 +04:00
|
|
|
{
|
2021-10-07 11:43:16 +03:00
|
|
|
RDPDR_DEVICE device;
|
2012-11-09 04:01:52 +04:00
|
|
|
char* Path;
|
2014-09-16 14:08:33 +04:00
|
|
|
char* Driver;
|
|
|
|
char* Permissive;
|
2022-02-14 16:59:22 +03:00
|
|
|
} RDPDR_SERIAL;
|
2012-11-09 04:01:52 +04:00
|
|
|
|
2022-02-14 16:59:22 +03:00
|
|
|
typedef struct
|
2012-11-09 04:01:52 +04:00
|
|
|
{
|
2021-10-07 11:43:16 +03:00
|
|
|
RDPDR_DEVICE device;
|
2012-11-09 04:01:52 +04:00
|
|
|
char* Path;
|
2022-02-14 16:59:22 +03:00
|
|
|
} RDPDR_PARALLEL;
|
2012-11-09 04:01:52 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
#define PROXY_TYPE_NONE 0
|
|
|
|
#define PROXY_TYPE_HTTP 1
|
|
|
|
#define PROXY_TYPE_SOCKS 2
|
|
|
|
#define PROXY_TYPE_IGNORE 0xFFFF
|
2016-12-11 01:13:35 +03:00
|
|
|
|
2021-03-12 18:54:45 +03:00
|
|
|
/* ThreadingFlags */
|
|
|
|
#define THREADING_FLAGS_DISABLE_THREADS 0x00000001
|
2012-01-14 23:42:36 +04:00
|
|
|
/* Settings */
|
|
|
|
|
2012-04-03 04:56:59 +04:00
|
|
|
#ifdef __GNUC__
|
2019-11-06 17:24:51 +03:00
|
|
|
#define ALIGN64 __attribute__((aligned(8)))
|
2012-04-03 04:56:59 +04:00
|
|
|
#else
|
|
|
|
#ifdef _WIN32
|
2019-11-06 17:24:51 +03:00
|
|
|
#define ALIGN64 __declspec(align(8))
|
2012-04-03 04:56:59 +04:00
|
|
|
#else
|
|
|
|
#define ALIGN64
|
|
|
|
#endif
|
|
|
|
#endif
|
2012-04-03 04:38:58 +04:00
|
|
|
|
2013-03-20 23:33:33 +04:00
|
|
|
/**
|
|
|
|
* FreeRDP Settings Ids
|
|
|
|
* This is generated with a script parsing the rdpSettings data structure
|
|
|
|
*/
|
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FreeRDP_instance (0)
|
|
|
|
#define FreeRDP_ServerMode (16)
|
|
|
|
#define FreeRDP_ShareId (17)
|
|
|
|
#define FreeRDP_PduSource (18)
|
|
|
|
#define FreeRDP_ServerPort (19)
|
|
|
|
#define FreeRDP_ServerHostname (20)
|
|
|
|
#define FreeRDP_Username (21)
|
|
|
|
#define FreeRDP_Password (22)
|
|
|
|
#define FreeRDP_Domain (23)
|
|
|
|
#define FreeRDP_PasswordHash (24)
|
|
|
|
#define FreeRDP_WaitForOutputBufferFlush (25)
|
|
|
|
#define FreeRDP_MaxTimeInCheckLoop (26)
|
|
|
|
#define FreeRDP_AcceptedCert (27)
|
|
|
|
#define FreeRDP_AcceptedCertLength (28)
|
2021-03-12 18:54:45 +03:00
|
|
|
#define FreeRDP_ThreadingFlags (64)
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FreeRDP_RdpVersion (128)
|
|
|
|
#define FreeRDP_DesktopWidth (129)
|
|
|
|
#define FreeRDP_DesktopHeight (130)
|
|
|
|
#define FreeRDP_ColorDepth (131)
|
|
|
|
#define FreeRDP_ConnectionType (132)
|
|
|
|
#define FreeRDP_ClientBuild (133)
|
|
|
|
#define FreeRDP_ClientHostname (134)
|
|
|
|
#define FreeRDP_ClientProductId (135)
|
|
|
|
#define FreeRDP_EarlyCapabilityFlags (136)
|
|
|
|
#define FreeRDP_NetworkAutoDetect (137)
|
|
|
|
#define FreeRDP_SupportAsymetricKeys (138)
|
|
|
|
#define FreeRDP_SupportErrorInfoPdu (139)
|
|
|
|
#define FreeRDP_SupportStatusInfoPdu (140)
|
|
|
|
#define FreeRDP_SupportMonitorLayoutPdu (141)
|
|
|
|
#define FreeRDP_SupportGraphicsPipeline (142)
|
|
|
|
#define FreeRDP_SupportDynamicTimeZone (143)
|
|
|
|
#define FreeRDP_SupportHeartbeatPdu (144)
|
|
|
|
#define FreeRDP_DesktopPhysicalWidth (145)
|
|
|
|
#define FreeRDP_DesktopPhysicalHeight (146)
|
|
|
|
#define FreeRDP_DesktopOrientation (147)
|
|
|
|
#define FreeRDP_DesktopScaleFactor (148)
|
|
|
|
#define FreeRDP_DeviceScaleFactor (149)
|
|
|
|
#define FreeRDP_UseRdpSecurityLayer (192)
|
|
|
|
#define FreeRDP_EncryptionMethods (193)
|
|
|
|
#define FreeRDP_ExtEncryptionMethods (194)
|
|
|
|
#define FreeRDP_EncryptionLevel (195)
|
|
|
|
#define FreeRDP_ServerRandom (196)
|
|
|
|
#define FreeRDP_ServerRandomLength (197)
|
|
|
|
#define FreeRDP_ServerCertificate (198)
|
|
|
|
#define FreeRDP_ServerCertificateLength (199)
|
|
|
|
#define FreeRDP_ClientRandom (200)
|
|
|
|
#define FreeRDP_ClientRandomLength (201)
|
|
|
|
#define FreeRDP_ChannelCount (256)
|
|
|
|
#define FreeRDP_ChannelDefArraySize (257)
|
|
|
|
#define FreeRDP_ChannelDefArray (258)
|
|
|
|
#define FreeRDP_ClusterInfoFlags (320)
|
|
|
|
#define FreeRDP_RedirectedSessionId (321)
|
|
|
|
#define FreeRDP_ConsoleSession (322)
|
|
|
|
#define FreeRDP_MonitorCount (384)
|
|
|
|
#define FreeRDP_MonitorDefArraySize (385)
|
|
|
|
#define FreeRDP_MonitorDefArray (386)
|
|
|
|
#define FreeRDP_SpanMonitors (387)
|
|
|
|
#define FreeRDP_UseMultimon (388)
|
|
|
|
#define FreeRDP_ForceMultimon (389)
|
|
|
|
#define FreeRDP_DesktopPosX (390)
|
|
|
|
#define FreeRDP_DesktopPosY (391)
|
|
|
|
#define FreeRDP_ListMonitors (392)
|
|
|
|
#define FreeRDP_MonitorIds (393)
|
|
|
|
#define FreeRDP_NumMonitorIds (394)
|
|
|
|
#define FreeRDP_MonitorLocalShiftX (395)
|
|
|
|
#define FreeRDP_MonitorLocalShiftY (396)
|
|
|
|
#define FreeRDP_HasMonitorAttributes (397)
|
2022-04-19 15:29:17 +03:00
|
|
|
#define FreeRDP_MonitorFlags (398)
|
|
|
|
#define FreeRDP_MonitorAttributeFlags (399)
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FreeRDP_MultitransportFlags (512)
|
|
|
|
#define FreeRDP_SupportMultitransport (513)
|
|
|
|
#define FreeRDP_AlternateShell (640)
|
|
|
|
#define FreeRDP_ShellWorkingDirectory (641)
|
|
|
|
#define FreeRDP_AutoLogonEnabled (704)
|
|
|
|
#define FreeRDP_CompressionEnabled (705)
|
|
|
|
#define FreeRDP_DisableCtrlAltDel (706)
|
|
|
|
#define FreeRDP_EnableWindowsKey (707)
|
|
|
|
#define FreeRDP_MaximizeShell (708)
|
|
|
|
#define FreeRDP_LogonNotify (709)
|
|
|
|
#define FreeRDP_LogonErrors (710)
|
|
|
|
#define FreeRDP_MouseAttached (711)
|
|
|
|
#define FreeRDP_MouseHasWheel (712)
|
|
|
|
#define FreeRDP_RemoteConsoleAudio (713)
|
|
|
|
#define FreeRDP_AudioPlayback (714)
|
|
|
|
#define FreeRDP_AudioCapture (715)
|
|
|
|
#define FreeRDP_VideoDisable (716)
|
|
|
|
#define FreeRDP_PasswordIsSmartcardPin (717)
|
|
|
|
#define FreeRDP_UsingSavedCredentials (718)
|
|
|
|
#define FreeRDP_ForceEncryptedCsPdu (719)
|
|
|
|
#define FreeRDP_HiDefRemoteApp (720)
|
|
|
|
#define FreeRDP_CompressionLevel (721)
|
|
|
|
#define FreeRDP_IPv6Enabled (768)
|
|
|
|
#define FreeRDP_ClientAddress (769)
|
|
|
|
#define FreeRDP_ClientDir (770)
|
2022-04-19 15:29:17 +03:00
|
|
|
#define FreeRDP_ClientSessionId (771)
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FreeRDP_AutoReconnectionEnabled (832)
|
|
|
|
#define FreeRDP_AutoReconnectMaxRetries (833)
|
|
|
|
#define FreeRDP_ClientAutoReconnectCookie (834)
|
|
|
|
#define FreeRDP_ServerAutoReconnectCookie (835)
|
|
|
|
#define FreeRDP_PrintReconnectCookie (836)
|
|
|
|
#define FreeRDP_ClientTimeZone (896)
|
|
|
|
#define FreeRDP_DynamicDSTTimeZoneKeyName (897)
|
|
|
|
#define FreeRDP_DynamicDaylightTimeDisabled (898)
|
|
|
|
#define FreeRDP_PerformanceFlags (960)
|
|
|
|
#define FreeRDP_AllowFontSmoothing (961)
|
|
|
|
#define FreeRDP_DisableWallpaper (962)
|
|
|
|
#define FreeRDP_DisableFullWindowDrag (963)
|
|
|
|
#define FreeRDP_DisableMenuAnims (964)
|
|
|
|
#define FreeRDP_DisableThemes (965)
|
|
|
|
#define FreeRDP_DisableCursorShadow (966)
|
|
|
|
#define FreeRDP_DisableCursorBlinking (967)
|
|
|
|
#define FreeRDP_AllowDesktopComposition (968)
|
|
|
|
#define FreeRDP_RemoteAssistanceMode (1024)
|
|
|
|
#define FreeRDP_RemoteAssistanceSessionId (1025)
|
|
|
|
#define FreeRDP_RemoteAssistancePassStub (1026)
|
|
|
|
#define FreeRDP_RemoteAssistancePassword (1027)
|
|
|
|
#define FreeRDP_RemoteAssistanceRCTicket (1028)
|
|
|
|
#define FreeRDP_EncomspVirtualChannel (1029)
|
|
|
|
#define FreeRDP_RemdeskVirtualChannel (1030)
|
|
|
|
#define FreeRDP_LyncRdpMode (1031)
|
2019-11-25 11:54:56 +03:00
|
|
|
#define FreeRDP_RemoteAssistanceRequestControl (1032)
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FreeRDP_TlsSecurity (1088)
|
|
|
|
#define FreeRDP_NlaSecurity (1089)
|
|
|
|
#define FreeRDP_RdpSecurity (1090)
|
|
|
|
#define FreeRDP_ExtSecurity (1091)
|
|
|
|
#define FreeRDP_Authentication (1092)
|
|
|
|
#define FreeRDP_RequestedProtocols (1093)
|
|
|
|
#define FreeRDP_SelectedProtocol (1094)
|
|
|
|
#define FreeRDP_NegotiationFlags (1095)
|
|
|
|
#define FreeRDP_NegotiateSecurityLayer (1096)
|
|
|
|
#define FreeRDP_RestrictedAdminModeRequired (1097)
|
|
|
|
#define FreeRDP_AuthenticationServiceClass (1098)
|
|
|
|
#define FreeRDP_DisableCredentialsDelegation (1099)
|
|
|
|
#define FreeRDP_AuthenticationLevel (1100)
|
|
|
|
#define FreeRDP_AllowedTlsCiphers (1101)
|
|
|
|
#define FreeRDP_VmConnectMode (1102)
|
|
|
|
#define FreeRDP_NtlmSamFile (1103)
|
|
|
|
#define FreeRDP_FIPSMode (1104)
|
|
|
|
#define FreeRDP_TlsSecLevel (1105)
|
|
|
|
#define FreeRDP_MstscCookieMode (1152)
|
|
|
|
#define FreeRDP_CookieMaxLength (1153)
|
|
|
|
#define FreeRDP_PreconnectionId (1154)
|
|
|
|
#define FreeRDP_PreconnectionBlob (1155)
|
|
|
|
#define FreeRDP_SendPreconnectionPdu (1156)
|
|
|
|
#define FreeRDP_RedirectionFlags (1216)
|
|
|
|
#define FreeRDP_TargetNetAddress (1217)
|
|
|
|
#define FreeRDP_LoadBalanceInfo (1218)
|
|
|
|
#define FreeRDP_LoadBalanceInfoLength (1219)
|
|
|
|
#define FreeRDP_RedirectionUsername (1220)
|
|
|
|
#define FreeRDP_RedirectionDomain (1221)
|
|
|
|
#define FreeRDP_RedirectionPassword (1222)
|
|
|
|
#define FreeRDP_RedirectionPasswordLength (1223)
|
|
|
|
#define FreeRDP_RedirectionTargetFQDN (1224)
|
|
|
|
#define FreeRDP_RedirectionTargetNetBiosName (1225)
|
|
|
|
#define FreeRDP_RedirectionTsvUrl (1226)
|
|
|
|
#define FreeRDP_RedirectionTsvUrlLength (1227)
|
|
|
|
#define FreeRDP_TargetNetAddressCount (1228)
|
|
|
|
#define FreeRDP_TargetNetAddresses (1229)
|
|
|
|
#define FreeRDP_TargetNetPorts (1230)
|
|
|
|
#define FreeRDP_RedirectionAcceptedCert (1231)
|
|
|
|
#define FreeRDP_RedirectionAcceptedCertLength (1232)
|
|
|
|
#define FreeRDP_RedirectionPreferType (1233)
|
|
|
|
#define FreeRDP_Password51 (1280)
|
|
|
|
#define FreeRDP_Password51Length (1281)
|
|
|
|
#define FreeRDP_SmartcardLogon (1282)
|
|
|
|
#define FreeRDP_PromptForCredentials (1283)
|
2021-11-05 15:09:42 +03:00
|
|
|
#define FreeRDP_SmartcardCertificate (1285)
|
|
|
|
#define FreeRDP_SmartcardPrivateKey (1286)
|
2022-01-23 19:28:49 +03:00
|
|
|
#define FreeRDP_SmartcardEmulation (1288)
|
2022-02-02 17:57:05 +03:00
|
|
|
#define FreeRDP_Pkcs11Module (1289)
|
2022-02-05 01:59:16 +03:00
|
|
|
#define FreeRDP_PkinitAnchors (1290)
|
2022-02-02 17:57:05 +03:00
|
|
|
#define FreeRDP_KeySpec (1291)
|
|
|
|
#define FreeRDP_CardName (1292)
|
|
|
|
#define FreeRDP_ReaderName (1293)
|
|
|
|
#define FreeRDP_ContainerName (1294)
|
|
|
|
#define FreeRDP_CspName (1295)
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FreeRDP_KerberosKdc (1344)
|
|
|
|
#define FreeRDP_KerberosRealm (1345)
|
2022-02-02 01:23:34 +03:00
|
|
|
#define FreeRDP_KerberosStartTime (1346)
|
|
|
|
#define FreeRDP_KerberosLifeTime (1347)
|
|
|
|
#define FreeRDP_KerberosRenewableLifeTime (1348)
|
2022-02-05 01:59:16 +03:00
|
|
|
#define FreeRDP_KerberosCache (1349)
|
|
|
|
#define FreeRDP_KerberosArmor (1350)
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FreeRDP_IgnoreCertificate (1408)
|
|
|
|
#define FreeRDP_CertificateName (1409)
|
|
|
|
#define FreeRDP_CertificateFile (1410)
|
|
|
|
#define FreeRDP_PrivateKeyFile (1411)
|
|
|
|
#define FreeRDP_RdpKeyFile (1412)
|
|
|
|
#define FreeRDP_RdpServerRsaKey (1413)
|
|
|
|
#define FreeRDP_RdpServerCertificate (1414)
|
|
|
|
#define FreeRDP_ExternalCertificateManagement (1415)
|
|
|
|
#define FreeRDP_CertificateContent (1416)
|
|
|
|
#define FreeRDP_PrivateKeyContent (1417)
|
|
|
|
#define FreeRDP_RdpKeyContent (1418)
|
|
|
|
#define FreeRDP_AutoAcceptCertificate (1419)
|
|
|
|
#define FreeRDP_AutoDenyCertificate (1420)
|
2020-02-12 14:01:27 +03:00
|
|
|
#define FreeRDP_CertificateAcceptedFingerprints (1421)
|
2021-04-13 12:01:43 +03:00
|
|
|
#define FreeRDP_CertificateUseKnownHosts (1422)
|
|
|
|
#define FreeRDP_CertificateCallbackPreferPEM (1423)
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FreeRDP_Workarea (1536)
|
|
|
|
#define FreeRDP_Fullscreen (1537)
|
|
|
|
#define FreeRDP_PercentScreen (1538)
|
|
|
|
#define FreeRDP_GrabKeyboard (1539)
|
|
|
|
#define FreeRDP_Decorations (1540)
|
|
|
|
#define FreeRDP_MouseMotion (1541)
|
|
|
|
#define FreeRDP_WindowTitle (1542)
|
|
|
|
#define FreeRDP_ParentWindowId (1543)
|
|
|
|
#define FreeRDP_AsyncUpdate (1545)
|
|
|
|
#define FreeRDP_AsyncChannels (1546)
|
|
|
|
#define FreeRDP_ToggleFullscreen (1548)
|
|
|
|
#define FreeRDP_WmClass (1549)
|
|
|
|
#define FreeRDP_EmbeddedWindow (1550)
|
|
|
|
#define FreeRDP_SmartSizing (1551)
|
|
|
|
#define FreeRDP_XPan (1552)
|
|
|
|
#define FreeRDP_YPan (1553)
|
|
|
|
#define FreeRDP_SmartSizingWidth (1554)
|
|
|
|
#define FreeRDP_SmartSizingHeight (1555)
|
|
|
|
#define FreeRDP_PercentScreenUseWidth (1556)
|
|
|
|
#define FreeRDP_PercentScreenUseHeight (1557)
|
|
|
|
#define FreeRDP_DynamicResolutionUpdate (1558)
|
2020-06-29 22:05:12 +03:00
|
|
|
#define FreeRDP_GrabMouse (1559)
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FreeRDP_SoftwareGdi (1601)
|
|
|
|
#define FreeRDP_LocalConnection (1602)
|
|
|
|
#define FreeRDP_AuthenticationOnly (1603)
|
|
|
|
#define FreeRDP_CredentialsFromStdin (1604)
|
|
|
|
#define FreeRDP_UnmapButtons (1605)
|
|
|
|
#define FreeRDP_OldLicenseBehaviour (1606)
|
2022-01-17 15:19:58 +03:00
|
|
|
#define FreeRDP_MouseUseRelativeMove (1607)
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FreeRDP_ComputerName (1664)
|
|
|
|
#define FreeRDP_ConnectionFile (1728)
|
|
|
|
#define FreeRDP_AssistanceFile (1729)
|
|
|
|
#define FreeRDP_HomePath (1792)
|
|
|
|
#define FreeRDP_ConfigPath (1793)
|
|
|
|
#define FreeRDP_CurrentPath (1794)
|
|
|
|
#define FreeRDP_DumpRemoteFx (1856)
|
|
|
|
#define FreeRDP_PlayRemoteFx (1857)
|
|
|
|
#define FreeRDP_DumpRemoteFxFile (1858)
|
|
|
|
#define FreeRDP_PlayRemoteFxFile (1859)
|
2021-09-23 15:52:03 +03:00
|
|
|
#define FreeRDP_TransportDump (1860)
|
|
|
|
#define FreeRDP_TransportDumpFile (1861)
|
|
|
|
#define FreeRDP_TransportDumpReplay (1862)
|
2021-09-17 09:59:10 +03:00
|
|
|
#define FreeRDP_DeactivateClientDecoding (1863)
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FreeRDP_GatewayUsageMethod (1984)
|
|
|
|
#define FreeRDP_GatewayPort (1985)
|
|
|
|
#define FreeRDP_GatewayHostname (1986)
|
|
|
|
#define FreeRDP_GatewayUsername (1987)
|
|
|
|
#define FreeRDP_GatewayPassword (1988)
|
|
|
|
#define FreeRDP_GatewayDomain (1989)
|
|
|
|
#define FreeRDP_GatewayCredentialsSource (1990)
|
|
|
|
#define FreeRDP_GatewayUseSameCredentials (1991)
|
|
|
|
#define FreeRDP_GatewayEnabled (1992)
|
|
|
|
#define FreeRDP_GatewayBypassLocal (1993)
|
|
|
|
#define FreeRDP_GatewayRpcTransport (1994)
|
|
|
|
#define FreeRDP_GatewayHttpTransport (1995)
|
|
|
|
#define FreeRDP_GatewayUdpTransport (1996)
|
|
|
|
#define FreeRDP_GatewayAccessToken (1997)
|
|
|
|
#define FreeRDP_GatewayAcceptedCert (1998)
|
|
|
|
#define FreeRDP_GatewayAcceptedCertLength (1999)
|
2021-03-05 14:59:33 +03:00
|
|
|
#define FreeRDP_GatewayHttpUseWebsockets (2000)
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FreeRDP_ProxyType (2015)
|
|
|
|
#define FreeRDP_ProxyHostname (2016)
|
|
|
|
#define FreeRDP_ProxyPort (2017)
|
|
|
|
#define FreeRDP_ProxyUsername (2018)
|
|
|
|
#define FreeRDP_ProxyPassword (2019)
|
|
|
|
#define FreeRDP_RemoteApplicationMode (2112)
|
|
|
|
#define FreeRDP_RemoteApplicationName (2113)
|
|
|
|
#define FreeRDP_RemoteApplicationIcon (2114)
|
|
|
|
#define FreeRDP_RemoteApplicationProgram (2115)
|
|
|
|
#define FreeRDP_RemoteApplicationFile (2116)
|
|
|
|
#define FreeRDP_RemoteApplicationGuid (2117)
|
|
|
|
#define FreeRDP_RemoteApplicationCmdLine (2118)
|
|
|
|
#define FreeRDP_RemoteApplicationExpandCmdLine (2119)
|
|
|
|
#define FreeRDP_RemoteApplicationExpandWorkingDir (2120)
|
|
|
|
#define FreeRDP_DisableRemoteAppCapsCheck (2121)
|
|
|
|
#define FreeRDP_RemoteAppNumIconCaches (2122)
|
|
|
|
#define FreeRDP_RemoteAppNumIconCacheEntries (2123)
|
|
|
|
#define FreeRDP_RemoteAppLanguageBarSupported (2124)
|
|
|
|
#define FreeRDP_RemoteWndSupportLevel (2125)
|
|
|
|
#define FreeRDP_RemoteApplicationSupportLevel (2126)
|
|
|
|
#define FreeRDP_RemoteApplicationSupportMask (2127)
|
|
|
|
#define FreeRDP_RemoteApplicationWorkingDir (2128)
|
|
|
|
#define FreeRDP_ReceivedCapabilities (2240)
|
|
|
|
#define FreeRDP_ReceivedCapabilitiesSize (2241)
|
|
|
|
#define FreeRDP_OsMajorType (2304)
|
|
|
|
#define FreeRDP_OsMinorType (2305)
|
|
|
|
#define FreeRDP_RefreshRect (2306)
|
|
|
|
#define FreeRDP_SuppressOutput (2307)
|
|
|
|
#define FreeRDP_FastPathOutput (2308)
|
|
|
|
#define FreeRDP_SaltedChecksum (2309)
|
|
|
|
#define FreeRDP_LongCredentialsSupported (2310)
|
|
|
|
#define FreeRDP_NoBitmapCompressionHeader (2311)
|
|
|
|
#define FreeRDP_BitmapCompressionDisabled (2312)
|
|
|
|
#define FreeRDP_DesktopResize (2368)
|
|
|
|
#define FreeRDP_DrawAllowDynamicColorFidelity (2369)
|
|
|
|
#define FreeRDP_DrawAllowColorSubsampling (2370)
|
|
|
|
#define FreeRDP_DrawAllowSkipAlpha (2371)
|
|
|
|
#define FreeRDP_OrderSupport (2432)
|
|
|
|
#define FreeRDP_BitmapCacheV3Enabled (2433)
|
|
|
|
#define FreeRDP_AltSecFrameMarkerSupport (2434)
|
|
|
|
#define FreeRDP_AllowUnanouncedOrdersFromServer (2435)
|
|
|
|
#define FreeRDP_BitmapCacheEnabled (2497)
|
|
|
|
#define FreeRDP_BitmapCacheVersion (2498)
|
|
|
|
#define FreeRDP_AllowCacheWaitingList (2499)
|
|
|
|
#define FreeRDP_BitmapCachePersistEnabled (2500)
|
|
|
|
#define FreeRDP_BitmapCacheV2NumCells (2501)
|
|
|
|
#define FreeRDP_BitmapCacheV2CellInfo (2502)
|
|
|
|
#define FreeRDP_ColorPointerFlag (2560)
|
|
|
|
#define FreeRDP_PointerCacheSize (2561)
|
2020-10-28 14:22:48 +03:00
|
|
|
#define FreeRDP_KeyboardRemappingList (2622)
|
2019-11-07 21:31:26 +03:00
|
|
|
#define FreeRDP_KeyboardCodePage (2623)
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FreeRDP_KeyboardLayout (2624)
|
|
|
|
#define FreeRDP_KeyboardType (2625)
|
|
|
|
#define FreeRDP_KeyboardSubType (2626)
|
|
|
|
#define FreeRDP_KeyboardFunctionKey (2627)
|
|
|
|
#define FreeRDP_ImeFileName (2628)
|
|
|
|
#define FreeRDP_UnicodeInput (2629)
|
|
|
|
#define FreeRDP_FastPathInput (2630)
|
|
|
|
#define FreeRDP_MultiTouchInput (2631)
|
|
|
|
#define FreeRDP_MultiTouchGestures (2632)
|
|
|
|
#define FreeRDP_KeyboardHook (2633)
|
|
|
|
#define FreeRDP_HasHorizontalWheel (2634)
|
|
|
|
#define FreeRDP_HasExtendedMouseEvent (2635)
|
2021-06-21 14:59:41 +03:00
|
|
|
#define FreeRDP_SuspendInput (2636)
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FreeRDP_BrushSupportLevel (2688)
|
|
|
|
#define FreeRDP_GlyphSupportLevel (2752)
|
|
|
|
#define FreeRDP_GlyphCache (2753)
|
|
|
|
#define FreeRDP_FragCache (2754)
|
|
|
|
#define FreeRDP_OffscreenSupportLevel (2816)
|
|
|
|
#define FreeRDP_OffscreenCacheSize (2817)
|
|
|
|
#define FreeRDP_OffscreenCacheEntries (2818)
|
|
|
|
#define FreeRDP_VirtualChannelCompressionFlags (2880)
|
|
|
|
#define FreeRDP_VirtualChannelChunkSize (2881)
|
|
|
|
#define FreeRDP_SoundBeepsEnabled (2944)
|
|
|
|
#define FreeRDP_MultifragMaxRequestSize (3328)
|
|
|
|
#define FreeRDP_LargePointerFlag (3392)
|
|
|
|
#define FreeRDP_CompDeskSupportLevel (3456)
|
|
|
|
#define FreeRDP_SurfaceCommandsEnabled (3520)
|
|
|
|
#define FreeRDP_FrameMarkerCommandEnabled (3521)
|
|
|
|
#define FreeRDP_SurfaceFrameMarkerEnabled (3522)
|
|
|
|
#define FreeRDP_RemoteFxOnly (3648)
|
|
|
|
#define FreeRDP_RemoteFxCodec (3649)
|
|
|
|
#define FreeRDP_RemoteFxCodecId (3650)
|
|
|
|
#define FreeRDP_RemoteFxCodecMode (3651)
|
|
|
|
#define FreeRDP_RemoteFxImageCodec (3652)
|
|
|
|
#define FreeRDP_RemoteFxCaptureFlags (3653)
|
|
|
|
#define FreeRDP_NSCodec (3712)
|
|
|
|
#define FreeRDP_NSCodecId (3713)
|
|
|
|
#define FreeRDP_FrameAcknowledge (3714)
|
|
|
|
#define FreeRDP_NSCodecColorLossLevel (3715)
|
|
|
|
#define FreeRDP_NSCodecAllowSubsampling (3716)
|
|
|
|
#define FreeRDP_NSCodecAllowDynamicColorFidelity (3717)
|
|
|
|
#define FreeRDP_JpegCodec (3776)
|
|
|
|
#define FreeRDP_JpegCodecId (3777)
|
|
|
|
#define FreeRDP_JpegQuality (3778)
|
|
|
|
#define FreeRDP_GfxThinClient (3840)
|
|
|
|
#define FreeRDP_GfxSmallCache (3841)
|
|
|
|
#define FreeRDP_GfxProgressive (3842)
|
|
|
|
#define FreeRDP_GfxProgressiveV2 (3843)
|
|
|
|
#define FreeRDP_GfxH264 (3844)
|
|
|
|
#define FreeRDP_GfxAVC444 (3845)
|
|
|
|
#define FreeRDP_GfxSendQoeAck (3846)
|
|
|
|
#define FreeRDP_GfxAVC444v2 (3847)
|
|
|
|
#define FreeRDP_GfxCapsFilter (3848)
|
2021-07-01 11:43:19 +03:00
|
|
|
#define FreeRDP_GfxPlanar (3849)
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FreeRDP_BitmapCacheV3CodecId (3904)
|
|
|
|
#define FreeRDP_DrawNineGridEnabled (3968)
|
|
|
|
#define FreeRDP_DrawNineGridCacheSize (3969)
|
|
|
|
#define FreeRDP_DrawNineGridCacheEntries (3970)
|
|
|
|
#define FreeRDP_DrawGdiPlusEnabled (4032)
|
|
|
|
#define FreeRDP_DrawGdiPlusCacheEnabled (4033)
|
|
|
|
#define FreeRDP_DeviceRedirection (4160)
|
|
|
|
#define FreeRDP_DeviceCount (4161)
|
|
|
|
#define FreeRDP_DeviceArraySize (4162)
|
|
|
|
#define FreeRDP_DeviceArray (4163)
|
|
|
|
#define FreeRDP_RedirectDrives (4288)
|
|
|
|
#define FreeRDP_RedirectHomeDrive (4289)
|
|
|
|
#define FreeRDP_DrivesToRedirect (4290)
|
|
|
|
#define FreeRDP_RedirectSmartCards (4416)
|
|
|
|
#define FreeRDP_RedirectPrinters (4544)
|
|
|
|
#define FreeRDP_RedirectSerialPorts (4672)
|
|
|
|
#define FreeRDP_RedirectParallelPorts (4673)
|
|
|
|
#define FreeRDP_PreferIPv6OverIPv4 (4674)
|
|
|
|
#define FreeRDP_RedirectClipboard (4800)
|
|
|
|
#define FreeRDP_StaticChannelCount (4928)
|
|
|
|
#define FreeRDP_StaticChannelArraySize (4929)
|
|
|
|
#define FreeRDP_StaticChannelArray (4930)
|
|
|
|
#define FreeRDP_DynamicChannelCount (5056)
|
|
|
|
#define FreeRDP_DynamicChannelArraySize (5057)
|
|
|
|
#define FreeRDP_DynamicChannelArray (5058)
|
|
|
|
#define FreeRDP_SupportDynamicChannels (5059)
|
|
|
|
#define FreeRDP_SupportEchoChannel (5184)
|
|
|
|
#define FreeRDP_SupportDisplayControl (5185)
|
|
|
|
#define FreeRDP_SupportGeometryTracking (5186)
|
|
|
|
#define FreeRDP_SupportSSHAgentChannel (5187)
|
|
|
|
#define FreeRDP_SupportVideoOptimized (5188)
|
|
|
|
#define FreeRDP_RDP2TCPArgs (5189)
|
2019-11-07 14:39:22 +03:00
|
|
|
#define FreeRDP_TcpKeepAlive (5190)
|
2019-11-07 14:45:05 +03:00
|
|
|
#define FreeRDP_TcpKeepAliveRetries (5191)
|
2019-11-07 15:15:44 +03:00
|
|
|
#define FreeRDP_TcpKeepAliveDelay (5192)
|
|
|
|
#define FreeRDP_TcpKeepAliveInterval (5193)
|
|
|
|
#define FreeRDP_TcpAckTimeout (5194)
|
2020-11-19 12:09:34 +03:00
|
|
|
#define FreeRDP_ActionScript (5195)
|
|
|
|
#define FreeRDP_Floatbar (5196)
|
2021-06-02 17:51:49 +03:00
|
|
|
#define FreeRDP_TcpConnectTimeout (5197)
|
2013-03-20 23:33:33 +04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* FreeRDP Settings Data Structure
|
|
|
|
*/
|
|
|
|
|
2020-04-11 12:55:11 +03:00
|
|
|
#define FreeRDP_Settings_StableAPI_MAX 5312
|
2011-07-05 03:52:24 +04:00
|
|
|
struct rdp_settings
|
2011-07-01 05:23:36 +04:00
|
|
|
{
|
2012-11-08 20:16:54 +04:00
|
|
|
/**
|
2018-07-03 14:33:05 +03:00
|
|
|
* WARNING: this data structure is carefully padded for ABI stability!
|
|
|
|
* Keeping this area clean is particularly challenging, so unless you are
|
|
|
|
* a trusted developer you should NOT take the liberty of adding your own
|
|
|
|
* options straight into the ABI stable zone. Instead, append them to the
|
|
|
|
* very end of this data structure, in the zone marked as ABI unstable.
|
|
|
|
*/
|
2012-11-08 20:16:54 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 void* instance; /* 0 */
|
2012-11-07 19:33:06 +04:00
|
|
|
UINT64 padding001[16 - 1]; /* 1 */
|
2011-09-29 09:03:07 +04:00
|
|
|
|
2012-11-08 03:23:25 +04:00
|
|
|
/* Core Parameters */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL ServerMode; /* 16 */
|
|
|
|
ALIGN64 UINT32 ShareId; /* 17 */
|
|
|
|
ALIGN64 UINT32 PduSource; /* 18 */
|
|
|
|
ALIGN64 UINT32 ServerPort; /* 19 */
|
|
|
|
ALIGN64 char* ServerHostname; /* 20 */
|
|
|
|
ALIGN64 char* Username; /* 21 */
|
|
|
|
ALIGN64 char* Password; /* 22 */
|
|
|
|
ALIGN64 char* Domain; /* 23 */
|
|
|
|
ALIGN64 char* PasswordHash; /* 24 */
|
|
|
|
ALIGN64 BOOL WaitForOutputBufferFlush; /* 25 */
|
|
|
|
ALIGN64 UINT32 MaxTimeInCheckLoop; /* 26 */
|
|
|
|
ALIGN64 char* AcceptedCert; /* 27 */
|
|
|
|
ALIGN64 UINT32 AcceptedCertLength; /* 28 */
|
2021-03-12 18:54:45 +03:00
|
|
|
UINT64 padding0064[64 - 29]; /* 29 */
|
|
|
|
/* resource management related options */
|
|
|
|
ALIGN64 UINT32 ThreadingFlags; /* 64 */
|
2020-12-15 18:11:22 +03:00
|
|
|
|
2021-03-12 18:54:45 +03:00
|
|
|
UINT64 padding0128[128 - 65]; /* 65 */
|
2012-11-08 08:29:24 +04:00
|
|
|
|
|
|
|
/**
|
2018-07-03 15:35:57 +03:00
|
|
|
* GCC User Data Blocks
|
|
|
|
*/
|
2012-11-08 08:29:24 +04:00
|
|
|
|
|
|
|
/* Client/Server Core Data */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 UINT32 RdpVersion; /* 128 */
|
|
|
|
ALIGN64 UINT32 DesktopWidth; /* 129 */
|
|
|
|
ALIGN64 UINT32 DesktopHeight; /* 130 */
|
|
|
|
ALIGN64 UINT32 ColorDepth; /* 131 */
|
|
|
|
ALIGN64 UINT32 ConnectionType; /* 132 */
|
|
|
|
ALIGN64 UINT32 ClientBuild; /* 133 */
|
|
|
|
ALIGN64 char* ClientHostname; /* 134 */
|
|
|
|
ALIGN64 char* ClientProductId; /* 135 */
|
|
|
|
ALIGN64 UINT32 EarlyCapabilityFlags; /* 136 */
|
|
|
|
ALIGN64 BOOL NetworkAutoDetect; /* 137 */
|
|
|
|
ALIGN64 BOOL SupportAsymetricKeys; /* 138 */
|
|
|
|
ALIGN64 BOOL SupportErrorInfoPdu; /* 139 */
|
|
|
|
ALIGN64 BOOL SupportStatusInfoPdu; /* 140 */
|
|
|
|
ALIGN64 BOOL SupportMonitorLayoutPdu; /* 141 */
|
|
|
|
ALIGN64 BOOL SupportGraphicsPipeline; /* 142 */
|
|
|
|
ALIGN64 BOOL SupportDynamicTimeZone; /* 143 */
|
|
|
|
ALIGN64 BOOL SupportHeartbeatPdu; /* 144 */
|
|
|
|
ALIGN64 UINT32 DesktopPhysicalWidth; /* 145 */
|
|
|
|
ALIGN64 UINT32 DesktopPhysicalHeight; /* 146 */
|
|
|
|
ALIGN64 UINT16 DesktopOrientation; /* 147 */
|
|
|
|
ALIGN64 UINT32 DesktopScaleFactor; /* 148 */
|
|
|
|
ALIGN64 UINT32 DeviceScaleFactor; /* 149 */
|
|
|
|
UINT64 padding0192[192 - 150]; /* 150 */
|
2012-11-08 08:29:24 +04:00
|
|
|
|
|
|
|
/* Client/Server Security Data */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL UseRdpSecurityLayer; /* 192 */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 UINT32 EncryptionMethods; /* 193 */
|
|
|
|
ALIGN64 UINT32 ExtEncryptionMethods; /* 194 */
|
|
|
|
ALIGN64 UINT32 EncryptionLevel; /* 195 */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BYTE* ServerRandom; /* 196 */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 UINT32 ServerRandomLength; /* 197 */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BYTE* ServerCertificate; /* 198 */
|
2014-08-11 19:23:23 +04:00
|
|
|
ALIGN64 UINT32 ServerCertificateLength; /* 199 */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BYTE* ClientRandom; /* 200 */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 UINT32 ClientRandomLength; /* 201 */
|
2019-11-06 17:24:51 +03:00
|
|
|
UINT64 padding0256[256 - 202]; /* 202 */
|
2012-11-08 08:29:24 +04:00
|
|
|
|
|
|
|
/* Client Network Data */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 UINT32 ChannelCount; /* 256 */
|
|
|
|
ALIGN64 UINT32 ChannelDefArraySize; /* 257 */
|
|
|
|
ALIGN64 CHANNEL_DEF* ChannelDefArray; /* 258 */
|
|
|
|
UINT64 padding0320[320 - 259]; /* 259 */
|
2012-11-08 08:29:24 +04:00
|
|
|
|
|
|
|
/* Client Cluster Data */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 UINT32 ClusterInfoFlags; /* 320 */
|
2012-11-08 20:16:54 +04:00
|
|
|
ALIGN64 UINT32 RedirectedSessionId; /* 321 */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL ConsoleSession; /* 322 */
|
|
|
|
UINT64 padding0384[384 - 323]; /* 323 */
|
2012-11-08 08:29:24 +04:00
|
|
|
|
|
|
|
/* Client Monitor Data */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 UINT32 MonitorCount; /* 384 */
|
|
|
|
ALIGN64 UINT32 MonitorDefArraySize; /* 385 */
|
|
|
|
ALIGN64 rdpMonitor* MonitorDefArray; /* 386 */
|
|
|
|
ALIGN64 BOOL SpanMonitors; /* 387 */
|
|
|
|
ALIGN64 BOOL UseMultimon; /* 388 */
|
|
|
|
ALIGN64 BOOL ForceMultimon; /* 389 */
|
|
|
|
ALIGN64 UINT32 DesktopPosX; /* 390 */
|
|
|
|
ALIGN64 UINT32 DesktopPosY; /* 391 */
|
|
|
|
ALIGN64 BOOL ListMonitors; /* 392 */
|
|
|
|
ALIGN64 UINT32* MonitorIds; /* 393 */
|
|
|
|
ALIGN64 UINT32 NumMonitorIds; /* 394 */
|
|
|
|
ALIGN64 UINT32 MonitorLocalShiftX; /*395 */
|
|
|
|
ALIGN64 UINT32 MonitorLocalShiftY; /* 396 */
|
|
|
|
ALIGN64 BOOL HasMonitorAttributes; /* 397 */
|
2022-04-19 15:29:17 +03:00
|
|
|
ALIGN64 UINT32 MonitorFlags; /* 398 */
|
|
|
|
ALIGN64 UINT32 MonitorAttributeFlags; /* 399 */
|
|
|
|
UINT64 padding0448[448 - 400]; /* 400 */
|
2012-11-08 08:29:24 +04:00
|
|
|
|
|
|
|
/* Client Message Channel Data */
|
2012-11-08 20:16:54 +04:00
|
|
|
UINT64 padding0512[512 - 448]; /* 448 */
|
2012-11-08 08:29:24 +04:00
|
|
|
|
|
|
|
/* Client Multitransport Channel Data */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 UINT32 MultitransportFlags; /* 512 */
|
|
|
|
ALIGN64 BOOL SupportMultitransport; /* 513 */
|
|
|
|
UINT64 padding0576[576 - 514]; /* 514 */
|
|
|
|
UINT64 padding0640[640 - 576]; /* 576 */
|
2012-11-08 20:16:54 +04:00
|
|
|
|
|
|
|
/*
|
2018-07-03 15:35:57 +03:00
|
|
|
* Client Info
|
|
|
|
*/
|
2012-11-08 03:23:25 +04:00
|
|
|
|
2012-11-08 20:16:54 +04:00
|
|
|
/* Client Info (Shell) */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 char* AlternateShell; /* 640 */
|
2012-11-08 20:16:54 +04:00
|
|
|
ALIGN64 char* ShellWorkingDirectory; /* 641 */
|
2019-11-06 17:24:51 +03:00
|
|
|
UINT64 padding0704[704 - 642]; /* 642 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Client Info Flags */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL AutoLogonEnabled; /* 704 */
|
|
|
|
ALIGN64 BOOL CompressionEnabled; /* 705 */
|
|
|
|
ALIGN64 BOOL DisableCtrlAltDel; /* 706 */
|
|
|
|
ALIGN64 BOOL EnableWindowsKey; /* 707 */
|
|
|
|
ALIGN64 BOOL MaximizeShell; /* 708 */
|
|
|
|
ALIGN64 BOOL LogonNotify; /* 709 */
|
|
|
|
ALIGN64 BOOL LogonErrors; /* 710 */
|
|
|
|
ALIGN64 BOOL MouseAttached; /* 711 */
|
|
|
|
ALIGN64 BOOL MouseHasWheel; /* 712 */
|
|
|
|
ALIGN64 BOOL RemoteConsoleAudio; /* 713 */
|
|
|
|
ALIGN64 BOOL AudioPlayback; /* 714 */
|
|
|
|
ALIGN64 BOOL AudioCapture; /* 715 */
|
|
|
|
ALIGN64 BOOL VideoDisable; /* 716 */
|
|
|
|
ALIGN64 BOOL PasswordIsSmartcardPin; /* 717 */
|
|
|
|
ALIGN64 BOOL UsingSavedCredentials; /* 718 */
|
|
|
|
ALIGN64 BOOL ForceEncryptedCsPdu; /* 719 */
|
|
|
|
ALIGN64 BOOL HiDefRemoteApp; /* 720 */
|
|
|
|
ALIGN64 UINT32 CompressionLevel; /* 721 */
|
|
|
|
UINT64 padding0768[768 - 722]; /* 722 */
|
2011-07-10 20:10:24 +04:00
|
|
|
|
2012-11-08 03:23:25 +04:00
|
|
|
/* Client Info (Extra) */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL IPv6Enabled; /* 768 */
|
|
|
|
ALIGN64 char* ClientAddress; /* 769 */
|
|
|
|
ALIGN64 char* ClientDir; /* 770 */
|
2022-04-19 15:29:17 +03:00
|
|
|
ALIGN64 UINT32 ClientSessionId; /* */
|
|
|
|
UINT64 padding0832[832 - 772]; /* 772 */
|
2012-11-08 20:16:54 +04:00
|
|
|
|
|
|
|
/* Client Info (Auto Reconnection) */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL AutoReconnectionEnabled; /* 832 */
|
|
|
|
ALIGN64 UINT32 AutoReconnectMaxRetries; /* 833 */
|
2012-11-08 20:16:54 +04:00
|
|
|
ALIGN64 ARC_CS_PRIVATE_PACKET* ClientAutoReconnectCookie; /* 834 */
|
|
|
|
ALIGN64 ARC_SC_PRIVATE_PACKET* ServerAutoReconnectCookie; /* 835 */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL PrintReconnectCookie; /* 836 */
|
|
|
|
UINT64 padding0896[896 - 837]; /* 837 */
|
2011-07-25 21:42:14 +04:00
|
|
|
|
2012-11-08 03:23:25 +04:00
|
|
|
/* Client Info (Time Zone) */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 TIME_ZONE_INFORMATION* ClientTimeZone; /* 896 */
|
|
|
|
ALIGN64 char* DynamicDSTTimeZoneKeyName; /* 897 */
|
|
|
|
ALIGN64 BOOL DynamicDaylightTimeDisabled; /* 898 */
|
|
|
|
UINT64 padding0960[960 - 899]; /* 899 */
|
2012-11-08 20:16:54 +04:00
|
|
|
|
|
|
|
/* Client Info (Performance Flags) */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 UINT32 PerformanceFlags; /* 960 */
|
|
|
|
ALIGN64 BOOL AllowFontSmoothing; /* 961 */
|
|
|
|
ALIGN64 BOOL DisableWallpaper; /* 962 */
|
|
|
|
ALIGN64 BOOL DisableFullWindowDrag; /* 963 */
|
|
|
|
ALIGN64 BOOL DisableMenuAnims; /* 964 */
|
|
|
|
ALIGN64 BOOL DisableThemes; /* 965 */
|
|
|
|
ALIGN64 BOOL DisableCursorShadow; /* 966 */
|
|
|
|
ALIGN64 BOOL DisableCursorBlinking; /* 967 */
|
|
|
|
ALIGN64 BOOL AllowDesktopComposition; /* 968 */
|
|
|
|
UINT64 padding1024[1024 - 969]; /* 969 */
|
2014-06-29 02:33:46 +04:00
|
|
|
|
|
|
|
/* Remote Assistance */
|
2019-11-25 11:54:56 +03:00
|
|
|
ALIGN64 BOOL RemoteAssistanceMode; /* 1024 */
|
|
|
|
ALIGN64 char* RemoteAssistanceSessionId; /* 1025 */
|
|
|
|
ALIGN64 char* RemoteAssistancePassStub; /* 1026 */
|
|
|
|
ALIGN64 char* RemoteAssistancePassword; /* 1027 */
|
|
|
|
ALIGN64 char* RemoteAssistanceRCTicket; /* 1028 */
|
|
|
|
ALIGN64 BOOL EncomspVirtualChannel; /* 1029 */
|
|
|
|
ALIGN64 BOOL RemdeskVirtualChannel; /* 1030 */
|
|
|
|
ALIGN64 BOOL LyncRdpMode; /* 1031 */
|
|
|
|
ALIGN64 BOOL RemoteAssistanceRequestControl; /* 1032 */
|
|
|
|
UINT64 padding1088[1088 - 1033]; /* 1033 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
2012-11-08 20:16:54 +04:00
|
|
|
/**
|
2018-07-03 15:35:57 +03:00
|
|
|
* X.224 Connection Request/Confirm
|
|
|
|
*/
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Protocol Security */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL TlsSecurity; /* 1088 */
|
|
|
|
ALIGN64 BOOL NlaSecurity; /* 1089 */
|
|
|
|
ALIGN64 BOOL RdpSecurity; /* 1090 */
|
|
|
|
ALIGN64 BOOL ExtSecurity; /* 1091 */
|
|
|
|
ALIGN64 BOOL Authentication; /* 1092 */
|
|
|
|
ALIGN64 UINT32 RequestedProtocols; /* 1093 */
|
|
|
|
ALIGN64 UINT32 SelectedProtocol; /* 1094 */
|
|
|
|
ALIGN64 UINT32 NegotiationFlags; /* 1095 */
|
|
|
|
ALIGN64 BOOL NegotiateSecurityLayer; /* 1096 */
|
|
|
|
ALIGN64 BOOL RestrictedAdminModeRequired; /* 1097 */
|
|
|
|
ALIGN64 char* AuthenticationServiceClass; /* 1098 */
|
|
|
|
ALIGN64 BOOL DisableCredentialsDelegation; /* 1099 */
|
|
|
|
ALIGN64 UINT32 AuthenticationLevel; /* 1100 */
|
|
|
|
ALIGN64 char* AllowedTlsCiphers; /* 1101 */
|
|
|
|
ALIGN64 BOOL VmConnectMode; /* 1102 */
|
|
|
|
ALIGN64 char* NtlmSamFile; /* 1103 */
|
|
|
|
ALIGN64 BOOL FIPSMode; /* 1104 */
|
|
|
|
ALIGN64 UINT32 TlsSecLevel; /* 1105 */
|
|
|
|
UINT64 padding1152[1152 - 1106]; /* 1106 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Connection Cookie */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL MstscCookieMode; /* 1152 */
|
|
|
|
ALIGN64 UINT32 CookieMaxLength; /* 1153 */
|
|
|
|
ALIGN64 UINT32 PreconnectionId; /* 1154 */
|
|
|
|
ALIGN64 char* PreconnectionBlob; /* 1155 */
|
|
|
|
ALIGN64 BOOL SendPreconnectionPdu; /* 1156 */
|
|
|
|
UINT64 padding1216[1216 - 1157]; /* 1157 */
|
2012-11-08 20:16:54 +04:00
|
|
|
|
|
|
|
/* Server Redirection */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 UINT32 RedirectionFlags; /* 1216 */
|
|
|
|
ALIGN64 char* TargetNetAddress; /* 1217 */
|
|
|
|
ALIGN64 BYTE* LoadBalanceInfo; /* 1218 */
|
|
|
|
ALIGN64 UINT32 LoadBalanceInfoLength; /* 1219 */
|
|
|
|
ALIGN64 char* RedirectionUsername; /* 1220 */
|
|
|
|
ALIGN64 char* RedirectionDomain; /* 1221 */
|
|
|
|
ALIGN64 BYTE* RedirectionPassword; /* 1222 */
|
|
|
|
ALIGN64 UINT32 RedirectionPasswordLength; /* 1223 */
|
|
|
|
ALIGN64 char* RedirectionTargetFQDN; /* 1224 */
|
|
|
|
ALIGN64 char* RedirectionTargetNetBiosName; /* 1225 */
|
|
|
|
ALIGN64 BYTE* RedirectionTsvUrl; /* 1226 */
|
|
|
|
ALIGN64 UINT32 RedirectionTsvUrlLength; /* 1227 */
|
|
|
|
ALIGN64 UINT32 TargetNetAddressCount; /* 1228 */
|
|
|
|
ALIGN64 char** TargetNetAddresses; /* 1229 */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 UINT32* TargetNetPorts; /* 1230 */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 char* RedirectionAcceptedCert; /* 1231 */
|
|
|
|
ALIGN64 UINT32 RedirectionAcceptedCertLength; /* 1232 */
|
|
|
|
ALIGN64 UINT32 RedirectionPreferType; /* 1233 */
|
|
|
|
UINT64 padding1280[1280 - 1234]; /* 1234 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/**
|
2018-07-03 15:35:57 +03:00
|
|
|
* Security
|
|
|
|
*/
|
2011-07-10 20:10:24 +04:00
|
|
|
|
2012-11-08 20:16:54 +04:00
|
|
|
/* Credentials Cache */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BYTE* Password51; /* 1280 */
|
|
|
|
ALIGN64 UINT32 Password51Length; /* 1281 */
|
|
|
|
ALIGN64 BOOL SmartcardLogon; /* 1282 */
|
|
|
|
ALIGN64 BOOL PromptForCredentials; /* 1283 */
|
2022-02-02 01:23:34 +03:00
|
|
|
UINT64 padding1284[1285 - 1284]; /* 1284 */
|
2021-11-05 15:09:42 +03:00
|
|
|
|
|
|
|
/* Settings used for smartcard emulation */
|
2022-02-02 17:57:05 +03:00
|
|
|
ALIGN64 char* SmartcardCertificate; /* 1285 */
|
|
|
|
ALIGN64 char* SmartcardPrivateKey; /* 1286 */
|
2022-03-09 11:09:53 +03:00
|
|
|
UINT64 padding1287[1288 - 1287]; /* 1287 */
|
2022-02-02 17:57:05 +03:00
|
|
|
ALIGN64 BOOL SmartcardEmulation; /* 1288 */
|
|
|
|
ALIGN64 char* Pkcs11Module; /* 1289 */
|
2022-02-05 01:59:16 +03:00
|
|
|
ALIGN64 char* PkinitAnchors; /* 1290 */
|
2022-02-02 17:57:05 +03:00
|
|
|
ALIGN64 UINT32 KeySpec; /* 1291 */
|
|
|
|
ALIGN64 char* CardName; /* 1292 */
|
|
|
|
ALIGN64 char* ReaderName; /* 1293 */
|
|
|
|
ALIGN64 char* ContainerName; /* 1294 */
|
|
|
|
ALIGN64 char* CspName; /* 1295 */
|
2022-02-05 01:59:16 +03:00
|
|
|
UINT64 padding1344[1344 - 1296]; /* 1296 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
2012-11-08 20:16:54 +04:00
|
|
|
/* Kerberos Authentication */
|
2022-02-02 01:23:34 +03:00
|
|
|
ALIGN64 char* KerberosKdc; /* 1344 */
|
|
|
|
ALIGN64 char* KerberosRealm; /* 1345 */
|
|
|
|
ALIGN64 char* KerberosStartTime; /* 1346 */
|
|
|
|
ALIGN64 char* KerberosLifeTime; /* 1347 */
|
|
|
|
ALIGN64 char* KerberosRenewableLifeTime; /* 1348 */
|
2022-02-05 01:59:16 +03:00
|
|
|
ALIGN64 char* KerberosCache; /* 1349 */
|
|
|
|
ALIGN64 char* KerberosArmor; /* 1350 */
|
|
|
|
UINT64 padding1408[1408 - 1351]; /* 1351 */
|
2012-11-08 20:16:54 +04:00
|
|
|
|
|
|
|
/* Server Certificate */
|
2021-02-04 11:54:48 +03:00
|
|
|
ALIGN64 BOOL IgnoreCertificate; /* 1408 */
|
|
|
|
ALIGN64 char* CertificateName; /* 1409 */
|
|
|
|
ALIGN64 char* CertificateFile; /* 1410 */
|
|
|
|
ALIGN64 char* PrivateKeyFile; /* 1411 */
|
|
|
|
ALIGN64 char* RdpKeyFile; /* 1412 */
|
|
|
|
ALIGN64 rdpRsaKey* RdpServerRsaKey; /* 1413 */
|
|
|
|
ALIGN64 rdpCertificate* RdpServerCertificate; /* 1414 */
|
|
|
|
ALIGN64 BOOL ExternalCertificateManagement; /* 1415 */
|
|
|
|
ALIGN64 char* CertificateContent; /* 1416 */
|
|
|
|
ALIGN64 char* PrivateKeyContent; /* 1417 */
|
|
|
|
ALIGN64 char* RdpKeyContent; /* 1418 */
|
|
|
|
ALIGN64 BOOL AutoAcceptCertificate; /* 1419 */
|
|
|
|
ALIGN64 BOOL AutoDenyCertificate; /* 1420 */
|
2020-02-12 14:01:27 +03:00
|
|
|
ALIGN64 char* CertificateAcceptedFingerprints; /* 1421 */
|
2021-04-13 12:01:43 +03:00
|
|
|
ALIGN64 BOOL CertificateUseKnownHosts; /* 1422 */
|
|
|
|
ALIGN64 BOOL CertificateCallbackPreferPEM; /* 1423 */
|
|
|
|
UINT64 padding1472[1472 - 1424]; /* 1424 */
|
2021-02-04 11:54:48 +03:00
|
|
|
UINT64 padding1536[1536 - 1472]; /* 1472 */
|
2012-11-08 20:16:54 +04:00
|
|
|
|
|
|
|
/**
|
2018-07-03 15:35:57 +03:00
|
|
|
* User Interface
|
|
|
|
*/
|
2012-11-08 20:16:54 +04:00
|
|
|
|
|
|
|
/* Window Settings */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL Workarea; /* 1536 */
|
|
|
|
ALIGN64 BOOL Fullscreen; /* 1537 */
|
|
|
|
ALIGN64 UINT32 PercentScreen; /* 1538 */
|
|
|
|
ALIGN64 BOOL GrabKeyboard; /* 1539 */
|
|
|
|
ALIGN64 BOOL Decorations; /* 1540 */
|
|
|
|
ALIGN64 BOOL MouseMotion; /* 1541 */
|
|
|
|
ALIGN64 char* WindowTitle; /* 1542 */
|
|
|
|
ALIGN64 UINT64 ParentWindowId; /* 1543 */
|
2022-03-08 15:24:37 +03:00
|
|
|
UINT64 padding1544[1545 - 1544]; /* 1544 */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL AsyncUpdate; /* 1545 */
|
|
|
|
ALIGN64 BOOL AsyncChannels; /* 1546 */
|
|
|
|
UINT64 padding1548[1548 - 1547]; /* 1547 */
|
|
|
|
ALIGN64 BOOL ToggleFullscreen; /* 1548 */
|
|
|
|
ALIGN64 char* WmClass; /* 1549 */
|
|
|
|
ALIGN64 BOOL EmbeddedWindow; /* 1550 */
|
|
|
|
ALIGN64 BOOL SmartSizing; /* 1551 */
|
|
|
|
ALIGN64 INT32 XPan; /* 1552 */
|
|
|
|
ALIGN64 INT32 YPan; /* 1553 */
|
|
|
|
ALIGN64 UINT32 SmartSizingWidth; /* 1554 */
|
|
|
|
ALIGN64 UINT32 SmartSizingHeight; /* 1555 */
|
|
|
|
ALIGN64 BOOL PercentScreenUseWidth; /* 1556 */
|
|
|
|
ALIGN64 BOOL PercentScreenUseHeight; /* 1557 */
|
|
|
|
ALIGN64 BOOL DynamicResolutionUpdate; /* 1558 */
|
2020-06-29 22:05:12 +03:00
|
|
|
ALIGN64 BOOL GrabMouse; /* 1559 */
|
|
|
|
UINT64 padding1601[1601 - 1560]; /* 1560 */
|
2012-11-08 20:16:54 +04:00
|
|
|
|
|
|
|
/* Miscellaneous */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 BOOL SoftwareGdi; /* 1601 */
|
|
|
|
ALIGN64 BOOL LocalConnection; /* 1602 */
|
|
|
|
ALIGN64 BOOL AuthenticationOnly; /* 1603 */
|
2012-11-08 20:16:54 +04:00
|
|
|
ALIGN64 BOOL CredentialsFromStdin; /* 1604 */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 BOOL UnmapButtons; /* 1605 */
|
2018-10-31 12:27:31 +03:00
|
|
|
ALIGN64 BOOL OldLicenseBehaviour; /* 1606 */
|
2022-01-17 15:19:58 +03:00
|
|
|
ALIGN64 BOOL MouseUseRelativeMove; /* 1607 */
|
|
|
|
UINT64 padding1664[1664 - 1608]; /* 1608 */
|
2012-11-08 20:16:54 +04:00
|
|
|
|
|
|
|
/* Names */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 char* ComputerName; /* 1664 */
|
2014-05-07 21:50:14 +04:00
|
|
|
UINT64 padding1728[1728 - 1665]; /* 1665 */
|
2012-11-08 20:16:54 +04:00
|
|
|
|
|
|
|
/* Files */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 char* ConnectionFile; /* 1728 */
|
|
|
|
ALIGN64 char* AssistanceFile; /* 1729 */
|
2014-06-29 02:33:46 +04:00
|
|
|
UINT64 padding1792[1792 - 1730]; /* 1730 */
|
2012-11-08 20:16:54 +04:00
|
|
|
|
|
|
|
/* Paths */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 char* HomePath; /* 1792 */
|
|
|
|
ALIGN64 char* ConfigPath; /* 1793 */
|
|
|
|
ALIGN64 char* CurrentPath; /* 1794 */
|
2012-11-08 20:16:54 +04:00
|
|
|
UINT64 padding1856[1856 - 1795]; /* 1795 */
|
|
|
|
|
|
|
|
/* Recording */
|
2021-12-15 11:30:18 +03:00
|
|
|
ALIGN64 BOOL DumpRemoteFx; /* 1856 */
|
|
|
|
ALIGN64 BOOL PlayRemoteFx; /* 1857 */
|
|
|
|
ALIGN64 char* DumpRemoteFxFile; /* 1858 */
|
|
|
|
ALIGN64 char* PlayRemoteFxFile; /* 1859 */
|
|
|
|
ALIGN64 BOOL TransportDump; /* 1860 */
|
|
|
|
ALIGN64 char* TransportDumpFile; /* 1861 */
|
2021-09-23 15:52:03 +03:00
|
|
|
ALIGN64 BOOL TransportDumpReplay; /* 1862 */
|
2021-09-17 09:59:10 +03:00
|
|
|
ALIGN64 BOOL DeactivateClientDecoding; /* 1863 */
|
|
|
|
UINT64 padding1920[1920 - 1864]; /* 1864 */
|
2021-12-15 11:30:18 +03:00
|
|
|
UINT64 padding1984[1984 - 1920]; /* 1920 */
|
2012-11-08 20:16:54 +04:00
|
|
|
|
|
|
|
/**
|
2018-07-03 15:35:57 +03:00
|
|
|
* Gateway
|
|
|
|
*/
|
2012-11-08 20:16:54 +04:00
|
|
|
|
|
|
|
/* Gateway */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 UINT32 GatewayUsageMethod; /* 1984 */
|
|
|
|
ALIGN64 UINT32 GatewayPort; /* 1985 */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 char* GatewayHostname; /* 1986 */
|
|
|
|
ALIGN64 char* GatewayUsername; /* 1987 */
|
|
|
|
ALIGN64 char* GatewayPassword; /* 1988 */
|
|
|
|
ALIGN64 char* GatewayDomain; /* 1989 */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 UINT32 GatewayCredentialsSource; /* 1990 */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL GatewayUseSameCredentials; /* 1991 */
|
|
|
|
ALIGN64 BOOL GatewayEnabled; /* 1992 */
|
|
|
|
ALIGN64 BOOL GatewayBypassLocal; /* 1993 */
|
|
|
|
ALIGN64 BOOL GatewayRpcTransport; /* 1994 */
|
|
|
|
ALIGN64 BOOL GatewayHttpTransport; /* 1995 */
|
|
|
|
ALIGN64 BOOL GatewayUdpTransport; /* 1996 */
|
|
|
|
ALIGN64 char* GatewayAccessToken; /* 1997 */
|
|
|
|
ALIGN64 char* GatewayAcceptedCert; /* 1998 */
|
2018-07-10 11:03:49 +03:00
|
|
|
ALIGN64 UINT32 GatewayAcceptedCertLength; /* 1999 */
|
2021-03-05 14:59:33 +03:00
|
|
|
ALIGN64 BOOL GatewayHttpUseWebsockets; /* 2000 */
|
|
|
|
UINT64 padding2015[2015 - 2001]; /* 2001 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
2016-12-11 01:13:35 +03:00
|
|
|
/* Proxy */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 UINT32 ProxyType; /* 2015 */
|
|
|
|
ALIGN64 char* ProxyHostname; /* 2016 */
|
|
|
|
ALIGN64 UINT16 ProxyPort; /* 2017 */
|
|
|
|
ALIGN64 char* ProxyUsername; /* 2018 */
|
|
|
|
ALIGN64 char* ProxyPassword; /* 2019 */
|
2018-04-29 22:25:28 +03:00
|
|
|
UINT64 padding2112[2112 - 2020]; /* 2020 */
|
2014-03-21 21:58:28 +04:00
|
|
|
|
2012-11-08 03:23:25 +04:00
|
|
|
/**
|
2018-07-03 15:35:57 +03:00
|
|
|
* RemoteApp
|
|
|
|
*/
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* RemoteApp */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL RemoteApplicationMode; /* 2112 */
|
|
|
|
ALIGN64 char* RemoteApplicationName; /* 2113 */
|
|
|
|
ALIGN64 char* RemoteApplicationIcon; /* 2114 */
|
|
|
|
ALIGN64 char* RemoteApplicationProgram; /* 2115 */
|
|
|
|
ALIGN64 char* RemoteApplicationFile; /* 2116 */
|
|
|
|
ALIGN64 char* RemoteApplicationGuid; /* 2117 */
|
|
|
|
ALIGN64 char* RemoteApplicationCmdLine; /* 2118 */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 UINT32 RemoteApplicationExpandCmdLine; /* 2119 */
|
2014-08-11 19:23:23 +04:00
|
|
|
ALIGN64 UINT32 RemoteApplicationExpandWorkingDir; /* 2120 */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL DisableRemoteAppCapsCheck; /* 2121 */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 UINT32 RemoteAppNumIconCaches; /* 2122 */
|
|
|
|
ALIGN64 UINT32 RemoteAppNumIconCacheEntries; /* 2123 */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL RemoteAppLanguageBarSupported; /* 2124 */
|
2018-10-18 11:55:48 +03:00
|
|
|
ALIGN64 UINT32 RemoteWndSupportLevel; /* 2125 */
|
2019-02-20 10:45:36 +03:00
|
|
|
ALIGN64 UINT32 RemoteApplicationSupportLevel; /* 2126 */
|
2019-05-08 16:36:20 +03:00
|
|
|
ALIGN64 UINT32 RemoteApplicationSupportMask; /* 2127 */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 char* RemoteApplicationWorkingDir; /* 2128 */
|
|
|
|
UINT64 padding2176[2176 - 2129]; /* 2129 */
|
|
|
|
UINT64 padding2240[2240 - 2176]; /* 2176 */
|
2012-11-08 20:16:54 +04:00
|
|
|
|
|
|
|
/**
|
2018-07-03 15:35:57 +03:00
|
|
|
* Mandatory Capabilities
|
|
|
|
*/
|
2012-11-08 03:23:25 +04:00
|
|
|
|
2012-11-08 20:53:25 +04:00
|
|
|
/* Capabilities */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BYTE* ReceivedCapabilities; /* 2240 */
|
2012-11-08 20:53:25 +04:00
|
|
|
ALIGN64 UINT32 ReceivedCapabilitiesSize; /* 2241 */
|
2019-11-06 17:24:51 +03:00
|
|
|
UINT64 padding2304[2304 - 2242]; /* 2242 */
|
2012-11-08 20:16:54 +04:00
|
|
|
|
2012-11-08 03:23:25 +04:00
|
|
|
/* General Capabilities */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 UINT32 OsMajorType; /* 2304 */
|
|
|
|
ALIGN64 UINT32 OsMinorType; /* 2305 */
|
|
|
|
ALIGN64 BOOL RefreshRect; /* 2306 */
|
|
|
|
ALIGN64 BOOL SuppressOutput; /* 2307 */
|
|
|
|
ALIGN64 BOOL FastPathOutput; /* 2308 */
|
|
|
|
ALIGN64 BOOL SaltedChecksum; /* 2309 */
|
|
|
|
ALIGN64 BOOL LongCredentialsSupported; /* 2310 */
|
|
|
|
ALIGN64 BOOL NoBitmapCompressionHeader; /* 2311 */
|
|
|
|
ALIGN64 BOOL BitmapCompressionDisabled; /* 2312 */
|
|
|
|
UINT64 padding2368[2368 - 2313]; /* 2313 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Bitmap Capabilities */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 BOOL DesktopResize; /* 2368 */
|
2012-11-08 20:53:25 +04:00
|
|
|
ALIGN64 BOOL DrawAllowDynamicColorFidelity; /* 2369 */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 BOOL DrawAllowColorSubsampling; /* 2370 */
|
|
|
|
ALIGN64 BOOL DrawAllowSkipAlpha; /* 2371 */
|
2019-11-06 17:24:51 +03:00
|
|
|
UINT64 padding2432[2432 - 2372]; /* 2372 */
|
2011-07-06 02:26:12 +04:00
|
|
|
|
2012-11-08 03:23:25 +04:00
|
|
|
/* Order Capabilities */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BYTE* OrderSupport; /* 2432 */
|
|
|
|
ALIGN64 BOOL BitmapCacheV3Enabled; /* 2433 */
|
|
|
|
ALIGN64 BOOL AltSecFrameMarkerSupport; /* 2434 */
|
|
|
|
ALIGN64 BOOL AllowUnanouncedOrdersFromServer; /* 2435 */
|
|
|
|
UINT64 padding2497[2497 - 2436]; /* 2436 */
|
2011-07-20 00:30:05 +04:00
|
|
|
|
2012-11-08 03:23:25 +04:00
|
|
|
/* Bitmap Cache Capabilities */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL BitmapCacheEnabled; /* 2497 */
|
|
|
|
ALIGN64 UINT32 BitmapCacheVersion; /* 2498 */
|
|
|
|
ALIGN64 BOOL AllowCacheWaitingList; /* 2499 */
|
|
|
|
ALIGN64 BOOL BitmapCachePersistEnabled; /* 2500 */
|
|
|
|
ALIGN64 UINT32 BitmapCacheV2NumCells; /* 2501 */
|
|
|
|
ALIGN64 BITMAP_CACHE_V2_CELL_INFO* BitmapCacheV2CellInfo; /* 2502 */
|
|
|
|
UINT64 padding2560[2560 - 2503]; /* 2503 */
|
2011-07-21 09:56:48 +04:00
|
|
|
|
2012-11-08 03:23:25 +04:00
|
|
|
/* Pointer Capabilities */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL ColorPointerFlag; /* 2560 */
|
2012-11-08 20:53:25 +04:00
|
|
|
ALIGN64 UINT32 PointerCacheSize; /* 2561 */
|
2020-10-28 14:22:48 +03:00
|
|
|
UINT64 padding2624[2622 - 2562]; /* 2562 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Input Capabilities */
|
2020-10-28 14:22:48 +03:00
|
|
|
ALIGN64 char* KeyboardRemappingList; /* 2622 */
|
2020-12-15 18:11:22 +03:00
|
|
|
ALIGN64 UINT32 KeyboardCodePage; /* 2623 */
|
|
|
|
ALIGN64 UINT32 KeyboardLayout; /* 2624 */
|
|
|
|
ALIGN64 UINT32 KeyboardType; /* 2625 */
|
|
|
|
ALIGN64 UINT32 KeyboardSubType; /* 2626 */
|
|
|
|
ALIGN64 UINT32 KeyboardFunctionKey; /* 2627 */
|
|
|
|
ALIGN64 char* ImeFileName; /* 2628 */
|
|
|
|
ALIGN64 BOOL UnicodeInput; /* 2629 */
|
|
|
|
ALIGN64 BOOL FastPathInput; /* 2630 */
|
|
|
|
ALIGN64 BOOL MultiTouchInput; /* 2631 */
|
|
|
|
ALIGN64 BOOL MultiTouchGestures; /* 2632 */
|
|
|
|
ALIGN64 UINT32 KeyboardHook; /* 2633 */
|
|
|
|
ALIGN64 BOOL HasHorizontalWheel; /* 2634 */
|
|
|
|
ALIGN64 BOOL HasExtendedMouseEvent; /* 2635 */
|
2021-06-21 14:59:41 +03:00
|
|
|
|
|
|
|
/** SuspendInput disables processing of keyboard/mouse/multitouch input.
|
|
|
|
* If used by an implementation ensure proper state resync after reenabling
|
|
|
|
* input
|
|
|
|
*/
|
2021-12-15 11:30:18 +03:00
|
|
|
ALIGN64 BOOL SuspendInput; /* 2636 */
|
|
|
|
UINT64 padding2688[2688 - 2637]; /* 2637 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Brush Capabilities */
|
2012-11-08 20:53:25 +04:00
|
|
|
ALIGN64 UINT32 BrushSupportLevel; /* 2688 */
|
2019-11-06 17:24:51 +03:00
|
|
|
UINT64 padding2752[2752 - 2689]; /* 2689 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Glyph Cache Capabilities */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 UINT32 GlyphSupportLevel; /* 2752 */
|
|
|
|
ALIGN64 GLYPH_CACHE_DEFINITION* GlyphCache; /* 2753 */
|
|
|
|
ALIGN64 GLYPH_CACHE_DEFINITION* FragCache; /* 2754 */
|
|
|
|
UINT64 padding2816[2816 - 2755]; /* 2755 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Offscreen Bitmap Cache */
|
2012-11-08 20:53:25 +04:00
|
|
|
ALIGN64 UINT32 OffscreenSupportLevel; /* 2816 */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 UINT32 OffscreenCacheSize; /* 2817 */
|
2012-11-08 20:53:25 +04:00
|
|
|
ALIGN64 UINT32 OffscreenCacheEntries; /* 2818 */
|
2019-11-06 17:24:51 +03:00
|
|
|
UINT64 padding2880[2880 - 2819]; /* 2819 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Virtual Channel Capabilities */
|
2012-11-08 20:53:25 +04:00
|
|
|
ALIGN64 UINT32 VirtualChannelCompressionFlags; /* 2880 */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 UINT32 VirtualChannelChunkSize; /* 2881 */
|
2019-11-06 17:24:51 +03:00
|
|
|
UINT64 padding2944[2944 - 2882]; /* 2882 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Sound Capabilities */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL SoundBeepsEnabled; /* 2944 */
|
2012-11-08 20:53:25 +04:00
|
|
|
UINT64 padding3008[3008 - 2945]; /* 2945 */
|
|
|
|
UINT64 padding3072[3072 - 3008]; /* 3008 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/**
|
2018-07-03 15:35:57 +03:00
|
|
|
* Optional Capabilities
|
|
|
|
*/
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Bitmap Cache Host Capabilities */
|
2012-11-08 20:53:25 +04:00
|
|
|
UINT64 padding3136[3136 - 3072]; /* 3072 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Control Capabilities */
|
2012-11-08 20:53:25 +04:00
|
|
|
UINT64 padding3200[3200 - 3136]; /* 3136 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Window Activation Capabilities */
|
2012-11-08 20:53:25 +04:00
|
|
|
UINT64 padding3264[3264 - 3200]; /* 3200 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Font Capabilities */
|
2014-05-07 21:50:14 +04:00
|
|
|
UINT64 padding3328[3328 - 3264]; /* 3264 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Multifragment Update Capabilities */
|
2012-11-08 20:53:25 +04:00
|
|
|
ALIGN64 UINT32 MultifragMaxRequestSize; /* 3328 */
|
2019-11-06 17:24:51 +03:00
|
|
|
UINT64 padding3392[3392 - 3329]; /* 3329 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Large Pointer Update Capabilities */
|
2012-11-08 20:53:25 +04:00
|
|
|
ALIGN64 UINT32 LargePointerFlag; /* 3392 */
|
|
|
|
UINT64 padding3456[3456 - 3393]; /* 3393 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Desktop Composition Capabilities */
|
2012-11-08 20:53:25 +04:00
|
|
|
ALIGN64 UINT32 CompDeskSupportLevel; /* 3456 */
|
2019-11-06 17:24:51 +03:00
|
|
|
UINT64 padding3520[3520 - 3457]; /* 3457 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/* Surface Commands Capabilities */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 BOOL SurfaceCommandsEnabled; /* 3520 */
|
2012-11-08 20:53:25 +04:00
|
|
|
ALIGN64 BOOL FrameMarkerCommandEnabled; /* 3521 */
|
2013-12-08 20:17:16 +04:00
|
|
|
ALIGN64 BOOL SurfaceFrameMarkerEnabled; /* 3522 */
|
2019-11-06 17:24:51 +03:00
|
|
|
UINT64 padding3584[3584 - 3523]; /* 3523 */
|
|
|
|
UINT64 padding3648[3648 - 3584]; /* 3584 */
|
2011-07-21 06:05:12 +04:00
|
|
|
|
2012-11-08 20:53:25 +04:00
|
|
|
/*
|
2018-07-03 15:35:57 +03:00
|
|
|
* Bitmap Codecs Capabilities
|
|
|
|
*/
|
2011-07-21 06:05:12 +04:00
|
|
|
|
2012-11-08 00:13:14 +04:00
|
|
|
/* RemoteFX */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL RemoteFxOnly; /* 3648 */
|
|
|
|
ALIGN64 BOOL RemoteFxCodec; /* 3649 */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 UINT32 RemoteFxCodecId; /* 3650 */
|
|
|
|
ALIGN64 UINT32 RemoteFxCodecMode; /* 3651 */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL RemoteFxImageCodec; /* 3652 */
|
2013-04-09 23:37:08 +04:00
|
|
|
ALIGN64 UINT32 RemoteFxCaptureFlags; /* 3653 */
|
2019-11-06 17:24:51 +03:00
|
|
|
UINT64 padding3712[3712 - 3654]; /* 3654 */
|
2012-11-08 00:13:14 +04:00
|
|
|
|
|
|
|
/* NSCodec */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL NSCodec; /* 3712 */
|
|
|
|
ALIGN64 UINT32 NSCodecId; /* 3713 */
|
|
|
|
ALIGN64 UINT32 FrameAcknowledge; /* 3714 */
|
|
|
|
ALIGN64 UINT32 NSCodecColorLossLevel; /* 3715 */
|
|
|
|
ALIGN64 BOOL NSCodecAllowSubsampling; /* 3716 */
|
|
|
|
ALIGN64 BOOL NSCodecAllowDynamicColorFidelity; /* 3717 */
|
|
|
|
UINT64 padding3776[3776 - 3718]; /* 3718 */
|
2012-11-08 00:13:14 +04:00
|
|
|
|
|
|
|
/* JPEG */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL JpegCodec; /* 3776 */
|
|
|
|
ALIGN64 UINT32 JpegCodecId; /* 3777 */
|
|
|
|
ALIGN64 UINT32 JpegQuality; /* 3778 */
|
2012-11-08 20:53:25 +04:00
|
|
|
UINT64 padding3840[3840 - 3779]; /* 3779 */
|
2014-07-03 22:35:03 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL GfxThinClient; /* 3840 */
|
|
|
|
ALIGN64 BOOL GfxSmallCache; /* 3841 */
|
|
|
|
ALIGN64 BOOL GfxProgressive; /* 3842 */
|
|
|
|
ALIGN64 BOOL GfxProgressiveV2; /* 3843 */
|
|
|
|
ALIGN64 BOOL GfxH264; /* 3844 */
|
|
|
|
ALIGN64 BOOL GfxAVC444; /* 3845 */
|
|
|
|
ALIGN64 BOOL GfxSendQoeAck; /* 3846 */
|
|
|
|
ALIGN64 BOOL GfxAVC444v2; /* 3847 */
|
|
|
|
ALIGN64 UINT32 GfxCapsFilter; /* 3848 */
|
2021-07-01 11:43:19 +03:00
|
|
|
ALIGN64 BOOL GfxPlanar; /* 3849 */
|
|
|
|
UINT64 padding3904[3904 - 3850]; /* 3850 */
|
2012-11-08 03:23:25 +04:00
|
|
|
|
|
|
|
/**
|
2018-07-03 15:35:57 +03:00
|
|
|
* Caches
|
|
|
|
*/
|
2011-08-06 00:56:40 +04:00
|
|
|
|
2012-11-08 00:13:14 +04:00
|
|
|
/* Bitmap Cache V3 */
|
2012-11-08 20:53:25 +04:00
|
|
|
ALIGN64 UINT32 BitmapCacheV3CodecId; /* 3904 */
|
2019-11-06 17:24:51 +03:00
|
|
|
UINT64 padding3968[3968 - 3905]; /* 3905 */
|
2012-11-08 00:13:14 +04:00
|
|
|
|
2011-11-19 10:48:33 +04:00
|
|
|
/* Draw Nine Grid */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL DrawNineGridEnabled; /* 3968 */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 UINT32 DrawNineGridCacheSize; /* 3969 */
|
2012-11-08 20:53:25 +04:00
|
|
|
ALIGN64 UINT32 DrawNineGridCacheEntries; /* 3970 */
|
2019-11-06 17:24:51 +03:00
|
|
|
UINT64 padding4032[4032 - 3971]; /* 3971 */
|
2011-07-21 06:05:12 +04:00
|
|
|
|
2011-11-19 10:48:33 +04:00
|
|
|
/* Draw GDI+ */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 BOOL DrawGdiPlusEnabled; /* 4032 */
|
2012-11-08 20:53:25 +04:00
|
|
|
ALIGN64 BOOL DrawGdiPlusCacheEnabled; /* 4033 */
|
2019-11-06 17:24:51 +03:00
|
|
|
UINT64 padding4096[4096 - 4034]; /* 4034 */
|
|
|
|
UINT64 padding4160[4160 - 4096]; /* 4096 */
|
2011-07-21 06:05:12 +04:00
|
|
|
|
2012-11-08 20:53:25 +04:00
|
|
|
/**
|
2018-07-03 15:35:57 +03:00
|
|
|
* Device Redirection
|
|
|
|
*/
|
2012-11-07 19:33:06 +04:00
|
|
|
|
|
|
|
/* Device Redirection */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL DeviceRedirection; /* 4160 */
|
|
|
|
ALIGN64 UINT32 DeviceCount; /* 4161 */
|
|
|
|
ALIGN64 UINT32 DeviceArraySize; /* 4162 */
|
|
|
|
ALIGN64 RDPDR_DEVICE** DeviceArray; /* 4163 */
|
|
|
|
UINT64 padding4288[4288 - 4164]; /* 4164 */
|
2012-11-07 19:33:06 +04:00
|
|
|
|
|
|
|
/* Drive Redirection */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL RedirectDrives; /* 4288 */
|
|
|
|
ALIGN64 BOOL RedirectHomeDrive; /* 4289 */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 char* DrivesToRedirect; /* 4290 */
|
2013-03-20 01:04:39 +04:00
|
|
|
UINT64 padding4416[4416 - 4291]; /* 4291 */
|
2012-11-07 19:33:06 +04:00
|
|
|
|
|
|
|
/* Smartcard Redirection */
|
2013-03-20 01:04:39 +04:00
|
|
|
ALIGN64 BOOL RedirectSmartCards; /* 4416 */
|
|
|
|
UINT64 padding4544[4544 - 4417]; /* 4417 */
|
2012-11-07 19:33:06 +04:00
|
|
|
|
|
|
|
/* Printer Redirection */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL RedirectPrinters; /* 4544 */
|
2013-03-20 01:04:39 +04:00
|
|
|
UINT64 padding4672[4672 - 4545]; /* 4545 */
|
2012-11-07 19:33:06 +04:00
|
|
|
|
2013-03-20 01:04:39 +04:00
|
|
|
/* Serial and Parallel Port Redirection */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 BOOL RedirectSerialPorts; /* 4672 */
|
2013-03-20 01:04:39 +04:00
|
|
|
ALIGN64 BOOL RedirectParallelPorts; /* 4673 */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 BOOL PreferIPv6OverIPv4; /* 4674 */
|
2019-11-06 17:24:51 +03:00
|
|
|
UINT64 padding4800[4800 - 4675]; /* 4675 */
|
2012-11-08 20:53:25 +04:00
|
|
|
|
2012-11-21 04:34:52 +04:00
|
|
|
/**
|
2018-07-03 15:35:57 +03:00
|
|
|
* Other Redirection
|
|
|
|
*/
|
2012-11-21 04:34:52 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BOOL RedirectClipboard; /* 4800 */
|
2013-03-20 01:04:39 +04:00
|
|
|
UINT64 padding4928[4928 - 4801]; /* 4801 */
|
2012-11-21 04:34:52 +04:00
|
|
|
|
2012-11-18 09:08:03 +04:00
|
|
|
/**
|
2018-07-03 15:35:57 +03:00
|
|
|
* Static Virtual Channels
|
|
|
|
*/
|
2012-11-18 09:08:03 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 UINT32 StaticChannelCount; /* 4928 */
|
|
|
|
ALIGN64 UINT32 StaticChannelArraySize; /* 4929 */
|
|
|
|
ALIGN64 ADDIN_ARGV** StaticChannelArray; /* 4930 */
|
|
|
|
UINT64 padding5056[5056 - 4931]; /* 4931 */
|
2012-11-18 09:08:03 +04:00
|
|
|
|
|
|
|
/**
|
2018-07-03 15:35:57 +03:00
|
|
|
* Dynamic Virtual Channels
|
|
|
|
*/
|
2012-11-18 09:08:03 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 UINT32 DynamicChannelCount; /* 5056 */
|
|
|
|
ALIGN64 UINT32 DynamicChannelArraySize; /* 5057 */
|
|
|
|
ALIGN64 ADDIN_ARGV** DynamicChannelArray; /* 5058 */
|
|
|
|
ALIGN64 BOOL SupportDynamicChannels; /* 5059 */
|
|
|
|
UINT64 padding5184[5184 - 5060]; /* 5060 */
|
2013-03-20 01:04:39 +04:00
|
|
|
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 BOOL SupportEchoChannel; /* 5184 */
|
|
|
|
ALIGN64 BOOL SupportDisplayControl; /* 5185 */
|
2014-09-26 01:31:05 +04:00
|
|
|
ALIGN64 BOOL SupportGeometryTracking; /* 5186 */
|
2018-05-23 11:27:39 +03:00
|
|
|
ALIGN64 BOOL SupportSSHAgentChannel; /* 5187 */
|
|
|
|
ALIGN64 BOOL SupportVideoOptimized; /* 5188 */
|
2019-05-15 20:12:33 +03:00
|
|
|
ALIGN64 char* RDP2TCPArgs; /* 5189 */
|
2019-11-07 14:39:22 +03:00
|
|
|
ALIGN64 BOOL TcpKeepAlive; /* 5190 */
|
2019-11-07 14:45:05 +03:00
|
|
|
ALIGN64 UINT32 TcpKeepAliveRetries; /* 5191 */
|
2019-11-07 15:15:44 +03:00
|
|
|
ALIGN64 UINT32 TcpKeepAliveDelay; /* 5192 */
|
|
|
|
ALIGN64 UINT32 TcpKeepAliveInterval; /* 5193 */
|
|
|
|
ALIGN64 UINT32 TcpAckTimeout; /* 5194 */
|
2020-11-19 12:09:34 +03:00
|
|
|
ALIGN64 char* ActionScript; /* 5195 */
|
|
|
|
ALIGN64 UINT32 Floatbar; /* 5196 */
|
2021-06-02 17:51:49 +03:00
|
|
|
ALIGN64 UINT32 TcpConnectTimeout; /* 5197 */
|
|
|
|
UINT64 padding5312[5312 - 5198]; /* 5198 */
|
2013-03-20 01:04:39 +04:00
|
|
|
|
|
|
|
/**
|
2018-07-03 15:35:57 +03:00
|
|
|
* WARNING: End of ABI stable zone!
|
|
|
|
*
|
|
|
|
* The zone below this point is ABI unstable, and
|
|
|
|
* is therefore potentially subject to ABI breakage.
|
|
|
|
*/
|
2012-11-18 09:08:03 +04:00
|
|
|
|
2012-11-08 20:53:25 +04:00
|
|
|
/*
|
2018-07-03 15:35:57 +03:00
|
|
|
* Extensions
|
|
|
|
*/
|
2011-07-21 09:56:48 +04:00
|
|
|
|
2011-11-19 10:48:33 +04:00
|
|
|
/* Extensions */
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 INT32 num_extensions; /* */
|
2012-11-08 20:53:25 +04:00
|
|
|
ALIGN64 struct rdp_ext_set extensions[16]; /* */
|
2014-01-24 03:01:31 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
ALIGN64 BYTE* SettingsModified; /* byte array marking fields that have been modified from their
|
2020-01-22 15:13:51 +03:00
|
|
|
default value - currently UNUSED! */
|
2020-03-18 23:59:12 +03:00
|
|
|
ALIGN64 char* XSelectionAtom;
|
2011-07-01 05:23:36 +04:00
|
|
|
};
|
2011-07-07 21:37:48 +04:00
|
|
|
typedef struct rdp_settings rdpSettings;
|
|
|
|
|
2020-04-11 12:55:11 +03:00
|
|
|
enum rdp_settings_type
|
|
|
|
{
|
|
|
|
RDP_SETTINGS_TYPE_BOOL,
|
|
|
|
RDP_SETTINGS_TYPE_UINT16,
|
|
|
|
RDP_SETTINGS_TYPE_INT16,
|
|
|
|
RDP_SETTINGS_TYPE_UINT32,
|
|
|
|
RDP_SETTINGS_TYPE_INT32,
|
|
|
|
RDP_SETTINGS_TYPE_UINT64,
|
|
|
|
RDP_SETTINGS_TYPE_INT64,
|
|
|
|
RDP_SETTINGS_TYPE_STRING,
|
|
|
|
RDP_SETTINGS_TYPE_POINTER
|
|
|
|
};
|
|
|
|
|
2013-01-22 18:42:01 +04:00
|
|
|
#ifdef __cplusplus
|
2019-11-06 17:24:51 +03:00
|
|
|
extern "C"
|
|
|
|
{
|
2013-01-22 18:42:01 +04:00
|
|
|
#endif
|
|
|
|
|
2013-10-13 02:20:25 +04:00
|
|
|
/**
|
2019-11-06 17:24:51 +03:00
|
|
|
* rdpSettings creation flags
|
2019-05-08 15:35:25 +03:00
|
|
|
*/
|
2019-11-06 17:24:51 +03:00
|
|
|
#define FREERDP_SETTINGS_SERVER_MODE 0x00000001
|
|
|
|
|
|
|
|
FREERDP_API rdpSettings* freerdp_settings_new(DWORD flags);
|
|
|
|
FREERDP_API rdpSettings* freerdp_settings_clone(const rdpSettings* settings);
|
|
|
|
FREERDP_API BOOL freerdp_settings_copy(rdpSettings* dst, const rdpSettings* src);
|
|
|
|
FREERDP_API void freerdp_settings_free(rdpSettings* settings);
|
|
|
|
|
2021-01-18 19:27:40 +03:00
|
|
|
FREERDP_API void freerdp_settings_dump(wLog* log, DWORD level, const rdpSettings* settings);
|
|
|
|
|
2021-04-12 11:38:40 +03:00
|
|
|
FREERDP_API ADDIN_ARGV* freerdp_addin_argv_new(size_t argc, const char* argv[]);
|
|
|
|
FREERDP_API ADDIN_ARGV* freerdp_addin_argv_clone(const ADDIN_ARGV* args);
|
|
|
|
FREERDP_API void freerdp_addin_argv_free(ADDIN_ARGV* args);
|
|
|
|
|
|
|
|
FREERDP_API BOOL freerdp_addin_argv_add_argument(ADDIN_ARGV* args, const char* argument);
|
|
|
|
FREERDP_API BOOL freerdp_addin_argv_add_argument_ex(ADDIN_ARGV* args, const char* argument,
|
|
|
|
size_t len);
|
|
|
|
FREERDP_API BOOL freerdp_addin_argv_del_argument(ADDIN_ARGV* args, const char* argument);
|
|
|
|
|
|
|
|
FREERDP_API int freerdp_addin_set_argument(ADDIN_ARGV* args, const char* argument);
|
|
|
|
FREERDP_API int freerdp_addin_replace_argument(ADDIN_ARGV* args, const char* previous,
|
|
|
|
const char* argument);
|
|
|
|
FREERDP_API int freerdp_addin_set_argument_value(ADDIN_ARGV* args, const char* option,
|
|
|
|
const char* value);
|
|
|
|
FREERDP_API int freerdp_addin_replace_argument_value(ADDIN_ARGV* args, const char* previous,
|
|
|
|
const char* option, const char* value);
|
2019-11-06 17:24:51 +03:00
|
|
|
|
|
|
|
FREERDP_API BOOL freerdp_device_collection_add(rdpSettings* settings, RDPDR_DEVICE* device);
|
|
|
|
FREERDP_API RDPDR_DEVICE* freerdp_device_collection_find(rdpSettings* settings,
|
|
|
|
const char* name);
|
|
|
|
FREERDP_API RDPDR_DEVICE* freerdp_device_collection_find_type(rdpSettings* settings,
|
|
|
|
UINT32 type);
|
2021-10-07 11:43:16 +03:00
|
|
|
|
|
|
|
FREERDP_API RDPDR_DEVICE* freerdp_device_new(UINT32 Type, size_t count, const char* args[]);
|
|
|
|
FREERDP_API RDPDR_DEVICE* freerdp_device_clone(const RDPDR_DEVICE* device);
|
|
|
|
FREERDP_API void freerdp_device_free(RDPDR_DEVICE* device);
|
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
FREERDP_API void freerdp_device_collection_free(rdpSettings* settings);
|
|
|
|
|
|
|
|
FREERDP_API BOOL freerdp_static_channel_collection_add(rdpSettings* settings,
|
|
|
|
ADDIN_ARGV* channel);
|
2021-04-12 11:38:40 +03:00
|
|
|
FREERDP_API BOOL freerdp_static_channel_collection_del(rdpSettings* settings, const char* name);
|
2019-11-06 17:24:51 +03:00
|
|
|
FREERDP_API ADDIN_ARGV* freerdp_static_channel_collection_find(rdpSettings* settings,
|
|
|
|
const char* name);
|
2021-06-22 15:39:10 +03:00
|
|
|
#if defined(WITH_FREERDP_DEPRECATED)
|
2021-04-12 11:38:40 +03:00
|
|
|
FREERDP_API WINPR_DEPRECATED(ADDIN_ARGV* freerdp_static_channel_clone(ADDIN_ARGV* channel));
|
2021-06-22 15:39:10 +03:00
|
|
|
#endif
|
2021-04-12 11:38:40 +03:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
FREERDP_API void freerdp_static_channel_collection_free(rdpSettings* settings);
|
|
|
|
|
|
|
|
FREERDP_API BOOL freerdp_dynamic_channel_collection_add(rdpSettings* settings,
|
|
|
|
ADDIN_ARGV* channel);
|
2021-04-12 11:38:40 +03:00
|
|
|
FREERDP_API BOOL freerdp_dynamic_channel_collection_del(rdpSettings* settings,
|
|
|
|
const char* name);
|
2021-05-18 13:16:21 +03:00
|
|
|
FREERDP_API ADDIN_ARGV* freerdp_dynamic_channel_collection_find(const rdpSettings* settings,
|
2019-11-06 17:24:51 +03:00
|
|
|
const char* name);
|
2021-04-12 11:38:40 +03:00
|
|
|
|
2021-06-22 15:39:10 +03:00
|
|
|
#if defined(WITH_FREERDP_DEPRECATED)
|
2021-04-12 11:38:40 +03:00
|
|
|
FREERDP_API WINPR_DEPRECATED(ADDIN_ARGV* freerdp_dynamic_channel_clone(ADDIN_ARGV* channel));
|
2021-06-22 15:39:10 +03:00
|
|
|
#endif
|
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
FREERDP_API void freerdp_dynamic_channel_collection_free(rdpSettings* settings);
|
|
|
|
|
|
|
|
FREERDP_API void freerdp_target_net_addresses_free(rdpSettings* settings);
|
2021-12-15 11:30:18 +03:00
|
|
|
FREERDP_API BOOL freerdp_target_net_addresses_copy(rdpSettings* settings, char** addresses,
|
|
|
|
UINT32 count);
|
2019-11-06 17:24:51 +03:00
|
|
|
|
|
|
|
FREERDP_API void freerdp_performance_flags_make(rdpSettings* settings);
|
|
|
|
FREERDP_API void freerdp_performance_flags_split(rdpSettings* settings);
|
|
|
|
|
|
|
|
FREERDP_API BOOL freerdp_set_gateway_usage_method(rdpSettings* settings,
|
|
|
|
UINT32 GatewayUsageMethod);
|
|
|
|
FREERDP_API void freerdp_update_gateway_usage_method(rdpSettings* settings,
|
|
|
|
UINT32 GatewayEnabled,
|
|
|
|
UINT32 GatewayBypassLocal);
|
|
|
|
|
|
|
|
/* DEPRECATED:
|
|
|
|
* the functions freerdp_get_param_* and freerdp_set_param_* are deprecated.
|
|
|
|
* use freerdp_settings_get_* and freerdp_settings_set_* as a replacement!
|
|
|
|
*/
|
2021-06-22 15:39:10 +03:00
|
|
|
#if defined(WITH_FREERDP_DEPRECATED)
|
2022-03-23 15:18:35 +03:00
|
|
|
FREERDP_API WINPR_DEPRECATED_VAR("Use freerdp_settings_get_bool instead",
|
|
|
|
BOOL freerdp_get_param_bool(const rdpSettings* settings,
|
2019-11-07 14:39:22 +03:00
|
|
|
int id));
|
2022-03-23 15:18:35 +03:00
|
|
|
FREERDP_API WINPR_DEPRECATED_VAR("Use freerdp_settings_set_bool instead",
|
|
|
|
int freerdp_set_param_bool(rdpSettings* settings, int id,
|
|
|
|
BOOL param));
|
|
|
|
|
|
|
|
FREERDP_API WINPR_DEPRECATED_VAR("Use freerdp_settings_get_int[16|32] instead",
|
|
|
|
int freerdp_get_param_int(const rdpSettings* settings,
|
|
|
|
int id));
|
|
|
|
FREERDP_API WINPR_DEPRECATED_VAR("Use freerdp_settings_set_int[16|32] instead",
|
|
|
|
int freerdp_set_param_int(rdpSettings* settings, int id,
|
|
|
|
int param));
|
|
|
|
|
|
|
|
FREERDP_API WINPR_DEPRECATED_VAR("Use freerdp_settings_set_uint32 instead",
|
|
|
|
UINT32 freerdp_get_param_uint32(const rdpSettings* settings,
|
|
|
|
int id));
|
|
|
|
FREERDP_API WINPR_DEPRECATED_VAR("Use freerdp_settings_set_uint32 instead",
|
|
|
|
int freerdp_set_param_uint32(rdpSettings* settings, int id,
|
|
|
|
UINT32 param));
|
|
|
|
|
|
|
|
FREERDP_API WINPR_DEPRECATED_VAR("Use freerdp_settings_get_uint64 instead",
|
|
|
|
UINT64 freerdp_get_param_uint64(const rdpSettings* settings,
|
|
|
|
int id));
|
|
|
|
FREERDP_API WINPR_DEPRECATED_VAR("Use freerdp_settings_set_uint64 instead",
|
|
|
|
int freerdp_set_param_uint64(rdpSettings* settings, int id,
|
|
|
|
UINT64 param));
|
|
|
|
|
|
|
|
FREERDP_API WINPR_DEPRECATED_VAR("Use freerdp_settings_get_string instead",
|
|
|
|
char* freerdp_get_param_string(const rdpSettings* settings,
|
|
|
|
int id));
|
|
|
|
FREERDP_API WINPR_DEPRECATED_VAR("Use freerdp_settings_set_string instead",
|
|
|
|
int freerdp_set_param_string(rdpSettings* settings, int id,
|
|
|
|
const char* param));
|
2021-06-22 15:39:10 +03:00
|
|
|
#endif
|
2013-03-20 23:33:33 +04:00
|
|
|
|
2019-11-07 14:39:22 +03:00
|
|
|
FREERDP_API BOOL freerdp_settings_get_bool(const rdpSettings* settings, size_t id);
|
2019-11-06 17:24:51 +03:00
|
|
|
FREERDP_API BOOL freerdp_settings_set_bool(rdpSettings* settings, size_t id, BOOL param);
|
2013-03-20 23:33:33 +04:00
|
|
|
|
2019-11-07 14:39:22 +03:00
|
|
|
FREERDP_API INT16 freerdp_settings_get_int16(const rdpSettings* settings, size_t id);
|
2019-11-06 17:24:51 +03:00
|
|
|
FREERDP_API BOOL freerdp_settings_set_int16(rdpSettings* settings, size_t id, INT16 param);
|
2013-06-27 02:49:01 +04:00
|
|
|
|
2019-11-07 14:39:22 +03:00
|
|
|
FREERDP_API UINT16 freerdp_settings_get_uint16(const rdpSettings* settings, size_t id);
|
2019-11-06 17:24:51 +03:00
|
|
|
FREERDP_API BOOL freerdp_settings_set_uint16(rdpSettings* settings, size_t id, UINT16 param);
|
2013-03-20 23:33:33 +04:00
|
|
|
|
2019-11-07 14:39:22 +03:00
|
|
|
FREERDP_API INT32 freerdp_settings_get_int32(const rdpSettings* settings, size_t id);
|
2019-11-06 17:24:51 +03:00
|
|
|
FREERDP_API BOOL freerdp_settings_set_int32(rdpSettings* settings, size_t id, INT32 param);
|
2013-04-06 03:08:37 +04:00
|
|
|
|
2019-11-07 14:39:22 +03:00
|
|
|
FREERDP_API UINT32 freerdp_settings_get_uint32(const rdpSettings* settings, size_t id);
|
2019-11-06 17:24:51 +03:00
|
|
|
FREERDP_API BOOL freerdp_settings_set_uint32(rdpSettings* settings, size_t id, UINT32 param);
|
2019-03-21 15:08:59 +03:00
|
|
|
|
2019-11-07 14:39:22 +03:00
|
|
|
FREERDP_API INT64 freerdp_settings_get_int64(const rdpSettings* settings, size_t id);
|
2019-11-06 17:24:51 +03:00
|
|
|
FREERDP_API BOOL freerdp_settings_set_int64(rdpSettings* settings, size_t id, INT64 param);
|
2019-03-21 15:08:59 +03:00
|
|
|
|
2019-11-07 14:39:22 +03:00
|
|
|
FREERDP_API UINT64 freerdp_settings_get_uint64(const rdpSettings* settings, size_t id);
|
2019-11-06 17:24:51 +03:00
|
|
|
FREERDP_API BOOL freerdp_settings_set_uint64(rdpSettings* settings, size_t id, UINT64 param);
|
2019-03-21 15:08:59 +03:00
|
|
|
|
2019-11-07 14:39:22 +03:00
|
|
|
FREERDP_API const char* freerdp_settings_get_string(const rdpSettings* settings, size_t id);
|
2022-01-20 13:12:36 +03:00
|
|
|
FREERDP_API char* freerdp_settings_get_string_writable(rdpSettings* settings, size_t id);
|
2020-11-19 12:09:34 +03:00
|
|
|
FREERDP_API BOOL freerdp_settings_set_string_len(rdpSettings* settings, size_t id,
|
|
|
|
const char* param, size_t len);
|
2019-11-06 17:24:51 +03:00
|
|
|
FREERDP_API BOOL freerdp_settings_set_string(rdpSettings* settings, size_t id,
|
|
|
|
const char* param);
|
2019-03-21 15:08:59 +03:00
|
|
|
|
2019-11-07 14:39:22 +03:00
|
|
|
FREERDP_API const void* freerdp_settings_get_pointer(const rdpSettings* settings, size_t id);
|
2022-01-20 13:12:36 +03:00
|
|
|
FREERDP_API void* freerdp_settings_get_pointer_writable(rdpSettings* settings, size_t id);
|
2020-11-19 12:09:34 +03:00
|
|
|
FREERDP_API BOOL freerdp_settings_set_pointer(rdpSettings* settings, size_t id,
|
|
|
|
const void* data);
|
|
|
|
FREERDP_API BOOL freerdp_settings_set_pointer_len(rdpSettings* settings, size_t id,
|
|
|
|
const void* data, size_t len);
|
|
|
|
|
|
|
|
FREERDP_API const void* freerdp_settings_get_pointer_array(const rdpSettings* settings,
|
|
|
|
size_t id, size_t offset);
|
|
|
|
FREERDP_API void* freerdp_settings_get_pointer_array_writable(const rdpSettings* settings,
|
|
|
|
size_t id, size_t offset);
|
|
|
|
FREERDP_API BOOL freerdp_settings_set_pointer_array(rdpSettings* settings, size_t id,
|
|
|
|
size_t offset, const void* data);
|
2013-03-20 23:33:33 +04:00
|
|
|
|
2020-04-11 12:55:11 +03:00
|
|
|
FREERDP_API BOOL freerdp_settings_set_value_for_name(rdpSettings* settings, const char* name,
|
|
|
|
const char* value);
|
|
|
|
|
|
|
|
FREERDP_API SSIZE_T freerdp_settings_get_key_for_name(const char* value);
|
|
|
|
FREERDP_API SSIZE_T freerdp_settings_get_type_for_name(const char* value);
|
|
|
|
FREERDP_API SSIZE_T freerdp_settings_get_type_for_key(size_t key);
|
|
|
|
FREERDP_API const char* freerdp_settings_get_name_for_key(size_t key);
|
2021-03-12 18:54:45 +03:00
|
|
|
FREERDP_API UINT32 freerdp_settings_get_codecs_flags(const rdpSettings* settings);
|
2020-04-11 12:55:11 +03:00
|
|
|
|
2013-01-22 18:42:01 +04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2012-11-08 08:29:24 +04:00
|
|
|
#endif /* FREERDP_SETTINGS_H */
|