FreeRDP
capabilities.h File Reference
#include "rdp.h"
#include <freerdp/freerdp.h>
#include <freerdp/constants.h>
#include <freerdp/settings.h>
#include <freerdp/api.h>
#include <winpr/stream.h>
This graph shows which files directly or indirectly include this file:

Macros

#define CAPSET_TYPE_GENERAL   0x0001
 
#define CAPSET_TYPE_BITMAP   0x0002
 
#define CAPSET_TYPE_ORDER   0x0003
 
#define CAPSET_TYPE_BITMAP_CACHE   0x0004
 
#define CAPSET_TYPE_CONTROL   0x0005
 
#define CAPSET_TYPE_BITMAP_CACHE_V3_CODEC_ID   0x0006
 
#define CAPSET_TYPE_ACTIVATION   0x0007
 
#define CAPSET_TYPE_POINTER   0x0008
 
#define CAPSET_TYPE_SHARE   0x0009
 
#define CAPSET_TYPE_COLOR_CACHE   0x000A
 
#define CAPSET_TYPE_SOUND   0x000C
 
#define CAPSET_TYPE_INPUT   0x000D
 
#define CAPSET_TYPE_FONT   0x000E
 
#define CAPSET_TYPE_BRUSH   0x000F
 
#define CAPSET_TYPE_GLYPH_CACHE   0x0010
 
#define CAPSET_TYPE_OFFSCREEN_CACHE   0x0011
 
#define CAPSET_TYPE_BITMAP_CACHE_HOST_SUPPORT   0x0012
 
#define CAPSET_TYPE_BITMAP_CACHE_V2   0x0013
 
#define CAPSET_TYPE_VIRTUAL_CHANNEL   0x0014
 
#define CAPSET_TYPE_DRAW_NINE_GRID_CACHE   0x0015
 
#define CAPSET_TYPE_DRAW_GDI_PLUS   0x0016
 
#define CAPSET_TYPE_RAIL   0x0017
 
#define CAPSET_TYPE_WINDOW   0x0018
 
#define CAPSET_TYPE_COMP_DESK   0x0019
 
#define CAPSET_TYPE_MULTI_FRAGMENT_UPDATE   0x001A
 
#define CAPSET_TYPE_LARGE_POINTER   0x001B
 
#define CAPSET_TYPE_SURFACE_COMMANDS   0x001C
 
#define CAPSET_TYPE_BITMAP_CODECS   0x001D
 
#define CAPSET_TYPE_FRAME_ACKNOWLEDGE   0x001E
 
#define CAPSET_HEADER_LENGTH   4
 
#define SOURCE_DESCRIPTOR   "FREERDP"
 
#define CAPS_PROTOCOL_VERSION   0x0200
 
#define FASTPATH_OUTPUT_SUPPORTED   0x0001
 
#define NO_BITMAP_COMPRESSION_HDR   0x0400
 
#define LONG_CREDENTIALS_SUPPORTED   0x0004
 
#define AUTORECONNECT_SUPPORTED   0x0008
 
#define ENC_SALTED_CHECKSUM   0x0010
 
#define DRAW_ALLOW_DYNAMIC_COLOR_FIDELITY   0x02
 
#define DRAW_ALLOW_COLOR_SUBSAMPLING   0x04
 
#define DRAW_ALLOW_SKIP_ALPHA   0x08
 
#define NEGOTIATE_ORDER_SUPPORT   0x0002
 
#define ZERO_BOUNDS_DELTA_SUPPORT   0x0008
 
#define COLOR_INDEX_SUPPORT   0x0020
 
#define SOLID_PATTERN_BRUSH_ONLY   0x0040
 
#define ORDER_FLAGS_EXTRA_SUPPORT   0x0080
 
#define CACHE_BITMAP_V3_SUPPORT   0x0002
 
#define ALTSEC_FRAME_MARKER_SUPPORT   0x0004
 
#define SOUND_BEEPS_FLAG   0x0001
 
#define INPUT_FLAG_SCANCODES   0x0001
 
#define INPUT_FLAG_MOUSEX   0x0004
 
#define INPUT_FLAG_FASTPATH_INPUT   0x0008
 
#define INPUT_FLAG_UNICODE   0x0010
 
#define INPUT_FLAG_FASTPATH_INPUT2   0x0020
 
#define INPUT_FLAG_UNUSED1   0x0040
 
#define INPUT_FLAG_MOUSE_RELATIVE   0x0080
 
#define TS_INPUT_FLAG_MOUSE_HWHEEL   0x0100
 
#define TS_INPUT_FLAG_QOE_TIMESTAMPS   0x0200
 
#define FONTSUPPORT_FONTLIST   0x0001
 
#define BRUSH_DEFAULT   0x00000000
 
#define BRUSH_COLOR_8x8   0x00000001
 
#define BRUSH_COLOR_FULL   0x00000002
 
#define BITMAP_CACHE_V2   0x01
 
#define PERSISTENT_KEYS_EXPECTED_FLAG   0x0001
 
#define ALLOW_CACHE_WAITING_LIST_FLAG   0x0002
 
#define DRAW_NINEGRID_NO_SUPPORT   0x00000000
 
#define DRAW_NINEGRID_SUPPORTED   0x00000001
 
#define DRAW_NINEGRID_SUPPORTED_V2   0x00000002
 
#define DRAW_GDIPLUS_DEFAULT   0x00000000
 
#define DRAW_GDIPLUS_SUPPORTED   0x00000001
 
#define DRAW_GDIPLUS_CACHE_LEVEL_DEFAULT   0x00000000
 
#define DRAW_GDIPLUS_CACHE_LEVEL_ONE   0x00000001
 
#define WINDOW_LEVEL_NOT_SUPPORTED   0x00000000
 
#define WINDOW_LEVEL_SUPPORTED   0x00000001
 
#define WINDOW_LEVEL_SUPPORTED_EX   0x00000002
 
#define COMPDESK_NOT_SUPPORTED   0x0000
 
#define COMPDESK_SUPPORTED   0x0001
 
#define SURFCMDS_SET_SURFACE_BITS   0x00000002
 
#define SURFCMDS_FRAME_MARKER   0x00000010
 
#define SURFCMDS_STREAM_SURFACE_BITS   0x00000040
 
#define CARDP_CAPS_CAPTURE_NON_CAC   0x00000001
 
#define CBY_CAPS   0xCBC0
 
#define CBY_CAPSET   0xCBC1
 
#define CLY_CAPSET   0xCFC0
 
#define CLW_VERSION_1_0   0x0100
 
#define CT_TILE_64x64   0x0040
 
#define CLW_COL_CONV_ICT   0x1
 
#define CLW_XFORM_DWT_53_A   0x1
 
#define CLW_ENTROPY_RLGR1   0x01
 
#define CLW_ENTROPY_RLGR3   0x04
 

Functions

FREERDP_LOCAL BOOL rdp_recv_get_active_header (rdpRdp *rdp, wStream *s, UINT16 *pChannelId, UINT16 *length)
 
FREERDP_LOCAL BOOL rdp_recv_demand_active (rdpRdp *rdp, wStream *s, UINT16 pduSource, UINT16 length)
 
FREERDP_LOCAL BOOL rdp_send_demand_active (rdpRdp *rdp)
 
FREERDP_LOCAL BOOL rdp_recv_confirm_active (rdpRdp *rdp, wStream *s, UINT16 pduLength)
 
FREERDP_LOCAL BOOL rdp_send_confirm_active (rdpRdp *rdp)
 
FREERDP_LOCAL BOOL rdp_read_capability_set (wStream *sub, UINT16 type, rdpSettings *settings, BOOL isServer)
 
FREERDP_LOCAL const char * rdp_input_flag_string (UINT16 flags, char *buffer, size_t len)
 

Macro Definition Documentation

◆ ALLOW_CACHE_WAITING_LIST_FLAG

#define ALLOW_CACHE_WAITING_LIST_FLAG   0x0002

◆ ALTSEC_FRAME_MARKER_SUPPORT

#define ALTSEC_FRAME_MARKER_SUPPORT   0x0004

◆ AUTORECONNECT_SUPPORTED

#define AUTORECONNECT_SUPPORTED   0x0008

◆ BITMAP_CACHE_V2

#define BITMAP_CACHE_V2   0x01

◆ BRUSH_COLOR_8x8

#define BRUSH_COLOR_8x8   0x00000001

◆ BRUSH_COLOR_FULL

#define BRUSH_COLOR_FULL   0x00000002

◆ BRUSH_DEFAULT

#define BRUSH_DEFAULT   0x00000000

◆ CACHE_BITMAP_V3_SUPPORT

#define CACHE_BITMAP_V3_SUPPORT   0x0002

◆ CAPS_PROTOCOL_VERSION

#define CAPS_PROTOCOL_VERSION   0x0200

◆ CAPSET_HEADER_LENGTH

#define CAPSET_HEADER_LENGTH   4

◆ CAPSET_TYPE_ACTIVATION

#define CAPSET_TYPE_ACTIVATION   0x0007

◆ CAPSET_TYPE_BITMAP

#define CAPSET_TYPE_BITMAP   0x0002

◆ CAPSET_TYPE_BITMAP_CACHE

#define CAPSET_TYPE_BITMAP_CACHE   0x0004

◆ CAPSET_TYPE_BITMAP_CACHE_HOST_SUPPORT

#define CAPSET_TYPE_BITMAP_CACHE_HOST_SUPPORT   0x0012

◆ CAPSET_TYPE_BITMAP_CACHE_V2

#define CAPSET_TYPE_BITMAP_CACHE_V2   0x0013

◆ CAPSET_TYPE_BITMAP_CACHE_V3_CODEC_ID

#define CAPSET_TYPE_BITMAP_CACHE_V3_CODEC_ID   0x0006

◆ CAPSET_TYPE_BITMAP_CODECS

#define CAPSET_TYPE_BITMAP_CODECS   0x001D

◆ CAPSET_TYPE_BRUSH

#define CAPSET_TYPE_BRUSH   0x000F

◆ CAPSET_TYPE_COLOR_CACHE

#define CAPSET_TYPE_COLOR_CACHE   0x000A

◆ CAPSET_TYPE_COMP_DESK

#define CAPSET_TYPE_COMP_DESK   0x0019

◆ CAPSET_TYPE_CONTROL

#define CAPSET_TYPE_CONTROL   0x0005

◆ CAPSET_TYPE_DRAW_GDI_PLUS

#define CAPSET_TYPE_DRAW_GDI_PLUS   0x0016

◆ CAPSET_TYPE_DRAW_NINE_GRID_CACHE

#define CAPSET_TYPE_DRAW_NINE_GRID_CACHE   0x0015

◆ CAPSET_TYPE_FONT

#define CAPSET_TYPE_FONT   0x000E

◆ CAPSET_TYPE_FRAME_ACKNOWLEDGE

#define CAPSET_TYPE_FRAME_ACKNOWLEDGE   0x001E

◆ CAPSET_TYPE_GENERAL

#define CAPSET_TYPE_GENERAL   0x0001

FreeRDP: A Remote Desktop Protocol Implementation RDP Capability Sets

Copyright 2011 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

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.

◆ CAPSET_TYPE_GLYPH_CACHE

#define CAPSET_TYPE_GLYPH_CACHE   0x0010

◆ CAPSET_TYPE_INPUT

#define CAPSET_TYPE_INPUT   0x000D

◆ CAPSET_TYPE_LARGE_POINTER

#define CAPSET_TYPE_LARGE_POINTER   0x001B

◆ CAPSET_TYPE_MULTI_FRAGMENT_UPDATE

#define CAPSET_TYPE_MULTI_FRAGMENT_UPDATE   0x001A

◆ CAPSET_TYPE_OFFSCREEN_CACHE

#define CAPSET_TYPE_OFFSCREEN_CACHE   0x0011

◆ CAPSET_TYPE_ORDER

#define CAPSET_TYPE_ORDER   0x0003

◆ CAPSET_TYPE_POINTER

#define CAPSET_TYPE_POINTER   0x0008

◆ CAPSET_TYPE_RAIL

#define CAPSET_TYPE_RAIL   0x0017

◆ CAPSET_TYPE_SHARE

#define CAPSET_TYPE_SHARE   0x0009

◆ CAPSET_TYPE_SOUND

#define CAPSET_TYPE_SOUND   0x000C

◆ CAPSET_TYPE_SURFACE_COMMANDS

#define CAPSET_TYPE_SURFACE_COMMANDS   0x001C

◆ CAPSET_TYPE_VIRTUAL_CHANNEL

#define CAPSET_TYPE_VIRTUAL_CHANNEL   0x0014

◆ CAPSET_TYPE_WINDOW

#define CAPSET_TYPE_WINDOW   0x0018

◆ CARDP_CAPS_CAPTURE_NON_CAC

#define CARDP_CAPS_CAPTURE_NON_CAC   0x00000001

◆ CBY_CAPS

#define CBY_CAPS   0xCBC0

◆ CBY_CAPSET

#define CBY_CAPSET   0xCBC1

◆ CLW_COL_CONV_ICT

#define CLW_COL_CONV_ICT   0x1

◆ CLW_ENTROPY_RLGR1

#define CLW_ENTROPY_RLGR1   0x01

◆ CLW_ENTROPY_RLGR3

#define CLW_ENTROPY_RLGR3   0x04

◆ CLW_VERSION_1_0

#define CLW_VERSION_1_0   0x0100

◆ CLW_XFORM_DWT_53_A

#define CLW_XFORM_DWT_53_A   0x1

◆ CLY_CAPSET

#define CLY_CAPSET   0xCFC0

◆ COLOR_INDEX_SUPPORT

#define COLOR_INDEX_SUPPORT   0x0020

◆ COMPDESK_NOT_SUPPORTED

#define COMPDESK_NOT_SUPPORTED   0x0000

◆ COMPDESK_SUPPORTED

#define COMPDESK_SUPPORTED   0x0001

◆ CT_TILE_64x64

#define CT_TILE_64x64   0x0040

◆ DRAW_ALLOW_COLOR_SUBSAMPLING

#define DRAW_ALLOW_COLOR_SUBSAMPLING   0x04

◆ DRAW_ALLOW_DYNAMIC_COLOR_FIDELITY

#define DRAW_ALLOW_DYNAMIC_COLOR_FIDELITY   0x02

◆ DRAW_ALLOW_SKIP_ALPHA

#define DRAW_ALLOW_SKIP_ALPHA   0x08

◆ DRAW_GDIPLUS_CACHE_LEVEL_DEFAULT

#define DRAW_GDIPLUS_CACHE_LEVEL_DEFAULT   0x00000000

◆ DRAW_GDIPLUS_CACHE_LEVEL_ONE

#define DRAW_GDIPLUS_CACHE_LEVEL_ONE   0x00000001

◆ DRAW_GDIPLUS_DEFAULT

#define DRAW_GDIPLUS_DEFAULT   0x00000000

◆ DRAW_GDIPLUS_SUPPORTED

#define DRAW_GDIPLUS_SUPPORTED   0x00000001

◆ DRAW_NINEGRID_NO_SUPPORT

#define DRAW_NINEGRID_NO_SUPPORT   0x00000000

◆ DRAW_NINEGRID_SUPPORTED

#define DRAW_NINEGRID_SUPPORTED   0x00000001

◆ DRAW_NINEGRID_SUPPORTED_V2

#define DRAW_NINEGRID_SUPPORTED_V2   0x00000002

◆ ENC_SALTED_CHECKSUM

#define ENC_SALTED_CHECKSUM   0x0010

◆ FASTPATH_OUTPUT_SUPPORTED

#define FASTPATH_OUTPUT_SUPPORTED   0x0001

◆ FONTSUPPORT_FONTLIST

#define FONTSUPPORT_FONTLIST   0x0001

◆ INPUT_FLAG_FASTPATH_INPUT

#define INPUT_FLAG_FASTPATH_INPUT   0x0008

◆ INPUT_FLAG_FASTPATH_INPUT2

#define INPUT_FLAG_FASTPATH_INPUT2   0x0020

◆ INPUT_FLAG_MOUSE_RELATIVE

#define INPUT_FLAG_MOUSE_RELATIVE   0x0080

◆ INPUT_FLAG_MOUSEX

#define INPUT_FLAG_MOUSEX   0x0004

◆ INPUT_FLAG_SCANCODES

#define INPUT_FLAG_SCANCODES   0x0001

◆ INPUT_FLAG_UNICODE

#define INPUT_FLAG_UNICODE   0x0010

◆ INPUT_FLAG_UNUSED1

#define INPUT_FLAG_UNUSED1   0x0040

◆ LONG_CREDENTIALS_SUPPORTED

#define LONG_CREDENTIALS_SUPPORTED   0x0004

◆ NEGOTIATE_ORDER_SUPPORT

#define NEGOTIATE_ORDER_SUPPORT   0x0002

◆ NO_BITMAP_COMPRESSION_HDR

#define NO_BITMAP_COMPRESSION_HDR   0x0400

◆ ORDER_FLAGS_EXTRA_SUPPORT

#define ORDER_FLAGS_EXTRA_SUPPORT   0x0080

◆ PERSISTENT_KEYS_EXPECTED_FLAG

#define PERSISTENT_KEYS_EXPECTED_FLAG   0x0001

◆ SOLID_PATTERN_BRUSH_ONLY

#define SOLID_PATTERN_BRUSH_ONLY   0x0040

◆ SOUND_BEEPS_FLAG

#define SOUND_BEEPS_FLAG   0x0001

◆ SOURCE_DESCRIPTOR

#define SOURCE_DESCRIPTOR   "FREERDP"

◆ SURFCMDS_FRAME_MARKER

#define SURFCMDS_FRAME_MARKER   0x00000010

◆ SURFCMDS_SET_SURFACE_BITS

#define SURFCMDS_SET_SURFACE_BITS   0x00000002

◆ SURFCMDS_STREAM_SURFACE_BITS

#define SURFCMDS_STREAM_SURFACE_BITS   0x00000040

◆ TS_INPUT_FLAG_MOUSE_HWHEEL

#define TS_INPUT_FLAG_MOUSE_HWHEEL   0x0100

◆ TS_INPUT_FLAG_QOE_TIMESTAMPS

#define TS_INPUT_FLAG_QOE_TIMESTAMPS   0x0200

◆ WINDOW_LEVEL_NOT_SUPPORTED

#define WINDOW_LEVEL_NOT_SUPPORTED   0x00000000

◆ WINDOW_LEVEL_SUPPORTED

#define WINDOW_LEVEL_SUPPORTED   0x00000001

◆ WINDOW_LEVEL_SUPPORTED_EX

#define WINDOW_LEVEL_SUPPORTED_EX   0x00000002

◆ ZERO_BOUNDS_DELTA_SUPPORT

#define ZERO_BOUNDS_DELTA_SUPPORT   0x0008

Function Documentation

◆ rdp_input_flag_string()

FREERDP_LOCAL const char* rdp_input_flag_string ( UINT16  flags,
char *  buffer,
size_t  len 
)
Here is the call graph for this function:

◆ rdp_read_capability_set()

FREERDP_LOCAL BOOL rdp_read_capability_set ( wStream sub,
UINT16  type,
rdpSettings *  settings,
BOOL  isServer 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_recv_confirm_active()

FREERDP_LOCAL BOOL rdp_recv_confirm_active ( rdpRdp *  rdp,
wStream s,
UINT16  pduLength 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_recv_demand_active()

FREERDP_LOCAL BOOL rdp_recv_demand_active ( rdpRdp *  rdp,
wStream s,
UINT16  pduSource,
UINT16  length 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_recv_get_active_header()

FREERDP_LOCAL BOOL rdp_recv_get_active_header ( rdpRdp *  rdp,
wStream s,
UINT16 pChannelId,
UINT16 length 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_send_confirm_active()

FREERDP_LOCAL BOOL rdp_send_confirm_active ( rdpRdp *  rdp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdp_send_demand_active()

FREERDP_LOCAL BOOL rdp_send_demand_active ( rdpRdp *  rdp)
Here is the call graph for this function:
Here is the caller graph for this function: