FreeRDP
capabilities.c File Reference
#include "capabilities.h"
#include "fastpath.h"
#include <winpr/crt.h>
#include <winpr/rpc.h>
#include <freerdp/log.h>

Macros

#define TAG   FREERDP_TAG("core.capabilities")
 

Functions

static const char * get_capability_name (UINT16 type)
 
static void rdp_read_capability_set_header (wStream *s, UINT16 *length, UINT16 *type)
 
static void rdp_write_capability_set_header (wStream *s, UINT16 length, UINT16 type)
 
static int rdp_capability_set_start (wStream *s)
 
static void rdp_capability_set_finish (wStream *s, int header, UINT16 type)
 
static BOOL rdp_read_general_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_general_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_bitmap_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_bitmap_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_order_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_order_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_bitmap_cache_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_bitmap_cache_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_control_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_control_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_window_activation_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_window_activation_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_pointer_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_pointer_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_share_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_share_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_color_cache_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_color_cache_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_sound_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_sound_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_input_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_input_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_font_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_font_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_brush_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_brush_capability_set (wStream *s, rdpSettings *settings)
 
static void rdp_read_cache_definition (wStream *s, GLYPH_CACHE_DEFINITION *cache_definition)
 
static void rdp_write_cache_definition (wStream *s, GLYPH_CACHE_DEFINITION *cache_definition)
 
static BOOL rdp_read_glyph_cache_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_glyph_cache_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_offscreen_bitmap_cache_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_offscreen_bitmap_cache_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_bitmap_cache_host_support_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_bitmap_cache_host_support_capability_set (wStream *s, rdpSettings *settings)
 
static void rdp_write_bitmap_cache_cell_info (wStream *s, BITMAP_CACHE_V2_CELL_INFO *cellInfo)
 
static BOOL rdp_read_bitmap_cache_v2_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_bitmap_cache_v2_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_virtual_channel_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_virtual_channel_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_draw_nine_grid_cache_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_draw_nine_grid_cache_capability_set (wStream *s, rdpSettings *settings)
 
static void rdp_write_gdiplus_cache_entries (wStream *s, UINT16 gce, UINT16 bce, UINT16 pce, UINT16 ice, UINT16 ace)
 
static void rdp_write_gdiplus_cache_chunk_size (wStream *s, UINT16 gccs, UINT16 obccs, UINT16 opccs, UINT16 oiaccs)
 
static void rdp_write_gdiplus_image_cache_properties (wStream *s, UINT16 oiccs, UINT16 oicts, UINT16 oicms)
 
static BOOL rdp_read_draw_gdiplus_cache_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_draw_gdiplus_cache_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_remote_programs_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_remote_programs_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_window_list_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_window_list_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_desktop_composition_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_desktop_composition_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_multifragment_update_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_multifragment_update_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_large_pointer_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_large_pointer_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_surface_commands_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_surface_commands_capability_set (wStream *s, rdpSettings *settings)
 
static void rdp_read_bitmap_codec_guid (wStream *s, GUID *guid)
 
static void rdp_write_bitmap_codec_guid (wStream *s, const GUID *guid)
 
static BOOL rdp_read_bitmap_codecs_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_rfx_client_capability_container (wStream *s, rdpSettings *settings)
 
static BOOL rdp_write_nsc_client_capability_container (wStream *s, rdpSettings *settings)
 
static BOOL rdp_write_rfx_server_capability_container (wStream *s, rdpSettings *settings)
 
static BOOL rdp_write_jpeg_server_capability_container (wStream *s, rdpSettings *settings)
 
static BOOL rdp_write_nsc_server_capability_container (wStream *s, rdpSettings *settings)
 
static BOOL rdp_write_bitmap_codecs_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_frame_acknowledge_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_frame_acknowledge_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_bitmap_cache_v3_codec_id_capability_set (wStream *s, UINT16 length, rdpSettings *settings)
 
static BOOL rdp_write_bitmap_cache_v3_codec_id_capability_set (wStream *s, rdpSettings *settings)
 
static BOOL rdp_read_capability_sets (wStream *s, rdpSettings *settings, UINT16 numberCapabilities)
 
BOOL rdp_recv_get_active_header (rdpRdp *rdp, wStream *s, UINT16 *pChannelId)
 
BOOL rdp_recv_demand_active (rdpRdp *rdp, wStream *s)
 
BOOL rdp_write_demand_active (wStream *s, rdpSettings *settings)
 
BOOL rdp_send_demand_active (rdpRdp *rdp)
 
BOOL rdp_recv_confirm_active (rdpRdp *rdp, wStream *s)
 
BOOL rdp_write_confirm_active (wStream *s, rdpSettings *settings)
 
BOOL rdp_send_confirm_active (rdpRdp *rdp)
 

Variables

static const char *const CAPSET_TYPE_STRINGS []
 
static const GUID CODEC_GUID_REMOTEFX
 
static const GUID CODEC_GUID_NSCODEC
 
static const GUID CODEC_GUID_IGNORE
 
static const GUID CODEC_GUID_IMAGE_REMOTEFX
 

Macro Definition Documentation

#define TAG   FREERDP_TAG("core.capabilities")

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.

Function Documentation

static const char* get_capability_name ( UINT16  type)
static

Here is the caller graph for this function:

static void rdp_capability_set_finish ( wStream *  s,
int  header,
UINT16  type 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static int rdp_capability_set_start ( wStream *  s)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_read_bitmap_cache_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read bitmap cache capability set.
http://msdn.microsoft.com/en-us/library/cc240559/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_bitmap_cache_host_support_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read bitmap cache host support capability set.
http://msdn.microsoft.com/en-us/library/cc240557/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_bitmap_cache_v2_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read bitmap cache v2 capability set.
http://msdn.microsoft.com/en-us/library/cc240560/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_read_bitmap_cache_v3_codec_id_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Here is the caller graph for this function:

static BOOL rdp_read_bitmap_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read bitmap capability set.
http://msdn.microsoft.com/en-us/library/cc240554/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static void rdp_read_bitmap_codec_guid ( wStream *  s,
GUID *  guid 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_read_bitmap_codecs_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read bitmap codecs capability set.
http://msdn.microsoft.com/en-us/library/dd891377/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_read_brush_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read brush capability set. http://msdn.microsoft.com/en-us/library/cc240564/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static void rdp_read_cache_definition ( wStream *  s,
GLYPH_CACHE_DEFINITION *  cache_definition 
)
static

Read cache definition (glyph).
http://msdn.microsoft.com/en-us/library/cc240566/

Parameters
sstream

Here is the caller graph for this function:

static void rdp_read_capability_set_header ( wStream *  s,
UINT16 length,
UINT16 type 
)
static

Here is the caller graph for this function:

static BOOL rdp_read_capability_sets ( wStream *  s,
rdpSettings *  settings,
UINT16  numberCapabilities 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_read_color_cache_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read color cache capability set.
http://msdn.microsoft.com/en-us/library/cc241564/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_control_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read control capability set.
http://msdn.microsoft.com/en-us/library/cc240568/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_desktop_composition_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read desktop composition capability set.
http://msdn.microsoft.com/en-us/library/cc240855/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_draw_gdiplus_cache_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read GDI+ cache capability set.
http://msdn.microsoft.com/en-us/library/cc241566/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_read_draw_nine_grid_cache_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read drawn nine grid cache capability set.
http://msdn.microsoft.com/en-us/library/cc241565/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_font_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read font capability set.
http://msdn.microsoft.com/en-us/library/cc240571/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_frame_acknowledge_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read frame acknowledge capability set.

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_general_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read general capability set.
http://msdn.microsoft.com/en-us/library/cc240549/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Note: refreshRectSupport and suppressOutputSupport are server-only flags indicating to the client weather the respective PDUs are supported. See MS-RDPBCGR 2.2.7.1.1

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_read_glyph_cache_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read glyph cache capability set.
http://msdn.microsoft.com/en-us/library/cc240565/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_read_input_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read input capability set.
http://msdn.microsoft.com/en-us/library/cc240563/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_read_large_pointer_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read large pointer capability set.
http://msdn.microsoft.com/en-us/library/cc240650/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_multifragment_update_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read multifragment update capability set.
http://msdn.microsoft.com/en-us/library/cc240649/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

If we are using RemoteFX the client MUST use a value greater than or equal to the value we've previously sent in the server to client multi-fragment update capability set (MS-RDPRFX 1.5)

If it happens to be smaller we honor the client's value but have to disable RemoteFX

In client mode we keep up with the server's capabilites. In RemoteFX mode we MUST do this but it might also be useful to receive larger related bitmap updates.

Here is the caller graph for this function:

static BOOL rdp_read_offscreen_bitmap_cache_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read offscreen bitmap cache capability set.
http://msdn.microsoft.com/en-us/library/cc240550/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_order_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read order capability set.
http://msdn.microsoft.com/en-us/library/cc240556/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_read_pointer_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read pointer capability set.
http://msdn.microsoft.com/en-us/library/cc240562/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_remote_programs_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read remote programs capability set.
http://msdn.microsoft.com/en-us/library/cc242518/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_share_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read share capability set.
http://msdn.microsoft.com/en-us/library/cc240570/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_sound_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read sound capability set.
http://msdn.microsoft.com/en-us/library/cc240552/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_surface_commands_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read surface commands capability set.
http://msdn.microsoft.com/en-us/library/dd871563/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_virtual_channel_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read virtual channel capability set.
http://msdn.microsoft.com/en-us/library/cc240551/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_window_activation_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read window activation capability set.
http://msdn.microsoft.com/en-us/library/cc240569/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

static BOOL rdp_read_window_list_capability_set ( wStream *  s,
UINT16  length,
rdpSettings *  settings 
)
static

Read window list capability set.
http://msdn.microsoft.com/en-us/library/cc242564/

Parameters
sstream
settingssettings
Returns
if the operation completed successfully

Here is the caller graph for this function:

BOOL rdp_recv_confirm_active ( rdpRdp *  rdp,
wStream *  s 
)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL rdp_recv_demand_active ( rdpRdp *  rdp,
wStream *  s 
)

We can receive a Save Session Info Data PDU containing a LogonErrorInfo structure at this point from the server to indicate a connection error.

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL rdp_recv_get_active_header ( rdpRdp *  rdp,
wStream *  s,
UINT16 pChannelId 
)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL rdp_send_confirm_active ( rdpRdp *  rdp)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL rdp_send_demand_active ( rdpRdp *  rdp)

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_bitmap_cache_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write bitmap cache capability set.
http://msdn.microsoft.com/en-us/library/cc240559/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdp_write_bitmap_cache_cell_info ( wStream *  s,
BITMAP_CACHE_V2_CELL_INFO *  cellInfo 
)
static

numEntries is in the first 31 bits, while the last bit (k) is used to indicate a persistent bitmap cache.

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_bitmap_cache_host_support_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write bitmap cache host support capability set.
http://msdn.microsoft.com/en-us/library/cc240557/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_bitmap_cache_v2_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write bitmap cache v2 capability set.
http://msdn.microsoft.com/en-us/library/cc240560/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_bitmap_cache_v3_codec_id_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_bitmap_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write bitmap capability set.
http://msdn.microsoft.com/en-us/library/cc240554/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdp_write_bitmap_codec_guid ( wStream *  s,
const GUID *  guid 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_bitmap_codecs_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write bitmap codecs capability set.
http://msdn.microsoft.com/en-us/library/dd891377/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_brush_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write brush capability set.
http://msdn.microsoft.com/en-us/library/cc240564/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdp_write_cache_definition ( wStream *  s,
GLYPH_CACHE_DEFINITION *  cache_definition 
)
static

Write cache definition (glyph).
http://msdn.microsoft.com/en-us/library/cc240566/

Parameters
sstream

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdp_write_capability_set_header ( wStream *  s,
UINT16  length,
UINT16  type 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_color_cache_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write color cache capability set.
http://msdn.microsoft.com/en-us/library/cc241564/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL rdp_write_confirm_active ( wStream *  s,
rdpSettings *  settings 
)

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_control_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write control capability set.
http://msdn.microsoft.com/en-us/library/cc240568/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL rdp_write_demand_active ( wStream *  s,
rdpSettings *  settings 
)

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_desktop_composition_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write desktop composition capability set.
http://msdn.microsoft.com/en-us/library/cc240855/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_draw_gdiplus_cache_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write GDI+ cache capability set.
http://msdn.microsoft.com/en-us/library/cc241566/

Parameters
sstream
settingssettings

Here is the call graph for this function:

static BOOL rdp_write_draw_nine_grid_cache_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write drawn nine grid cache capability set.
http://msdn.microsoft.com/en-us/library/cc241565/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_font_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write font capability set.
http://msdn.microsoft.com/en-us/library/cc240571/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_frame_acknowledge_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write frame acknowledge capability set.

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdp_write_gdiplus_cache_chunk_size ( wStream *  s,
UINT16  gccs,
UINT16  obccs,
UINT16  opccs,
UINT16  oiaccs 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdp_write_gdiplus_cache_entries ( wStream *  s,
UINT16  gce,
UINT16  bce,
UINT16  pce,
UINT16  ice,
UINT16  ace 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void rdp_write_gdiplus_image_cache_properties ( wStream *  s,
UINT16  oiccs,
UINT16  oicts,
UINT16  oicms 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_general_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write general capability set.
http://msdn.microsoft.com/en-us/library/cc240549/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_glyph_cache_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write glyph cache capability set.
http://msdn.microsoft.com/en-us/library/cc240565/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_input_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write input capability set.
http://msdn.microsoft.com/en-us/library/cc240563/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_jpeg_server_capability_container ( wStream *  s,
rdpSettings *  settings 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_large_pointer_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write large pointer capability set.
http://msdn.microsoft.com/en-us/library/cc240650/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_multifragment_update_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write multifragment update capability set.
http://msdn.microsoft.com/en-us/library/cc240649/

Parameters
sstream
settingssettings

In server mode we prefer to use the highest useful request size that will allow us to pack a complete screen update into a single fast path PDU using any of the supported codecs. However, the client is completely free to accept our proposed max request size or send a different value in the client-to-server multi-fragment update capability set and we have to accept that, unless we are using RemoteFX where the client MUST announce a value greater than or equal to the value we're sending here. See [MS-RDPRFX 1.5 capability #2]

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_nsc_client_capability_container ( wStream *  s,
rdpSettings *  settings 
)
static

Write NSCODEC Client Capability Container.

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_nsc_server_capability_container ( wStream *  s,
rdpSettings *  settings 
)
static

Write NSCODEC Server Capability Container.

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_offscreen_bitmap_cache_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write offscreen bitmap cache capability set.
http://msdn.microsoft.com/en-us/library/cc240550/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_order_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write order capability set.
http://msdn.microsoft.com/en-us/library/cc240556/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_pointer_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write pointer capability set.
http://msdn.microsoft.com/en-us/library/cc240562/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_remote_programs_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write remote programs capability set.
http://msdn.microsoft.com/en-us/library/cc242518/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_rfx_client_capability_container ( wStream *  s,
rdpSettings *  settings 
)
static

Write RemoteFX Client Capability Container.

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_rfx_server_capability_container ( wStream *  s,
rdpSettings *  settings 
)
static

Write RemoteFX Server Capability Container.

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_share_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write share capability set.
http://msdn.microsoft.com/en-us/library/cc240570/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_sound_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write sound capability set.
http://msdn.microsoft.com/en-us/library/cc240552/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_surface_commands_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write surface commands capability set.
http://msdn.microsoft.com/en-us/library/dd871563/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_virtual_channel_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write virtual channel capability set.
http://msdn.microsoft.com/en-us/library/cc240551/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_window_activation_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write window activation capability set.
http://msdn.microsoft.com/en-us/library/cc240569/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL rdp_write_window_list_capability_set ( wStream *  s,
rdpSettings *  settings 
)
static

Write window list capability set.
http://msdn.microsoft.com/en-us/library/cc242564/

Parameters
sstream
settingssettings

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const char* const CAPSET_TYPE_STRINGS[]
static
const GUID CODEC_GUID_IGNORE
static
Initial value:
=
{
0x9C4351A6,
0x3535, 0x42AE,
{ 0x91, 0x0C, 0xCD, 0xFC, 0xE5, 0x76, 0x0B, 0x58 }
}
const GUID CODEC_GUID_IMAGE_REMOTEFX
static
Initial value:
=
{
0x2744CCD4,
0x9D8A, 0x4E74,
{ 0x80, 0x3C, 0x0E, 0xCB, 0xEE, 0xA1, 0x9C, 0x54 }
}
const GUID CODEC_GUID_NSCODEC
static
Initial value:
=
{
0xCA8D1BB9,
0x000F, 0x154F,
{ 0x58, 0x9F, 0xAE, 0x2D, 0x1A, 0x87, 0xE2, 0xD6 }
}
const GUID CODEC_GUID_REMOTEFX
static
Initial value:
=
{
0x76772F12,
0xBD72, 0x4463,
{ 0xAF, 0xB3, 0xB7, 0x3C, 0x9C, 0x6F, 0x78, 0x86 }
}