FreeRDP
window.c File Reference
#include <freerdp/config.h>
#include "settings.h"
#include <winpr/crt.h>
#include <winpr/assert.h>
#include <freerdp/log.h>
#include "window.h"

Macros

#define TAG   FREERDP_TAG("core.window")
 
#define DUMP_APPEND(buffer, size, ...)
 

Functions

static void update_free_window_icon_info (ICON_INFO *iconInfo)
 
BOOL rail_read_unicode_string (wStream *s, RAIL_UNICODE_STRING *unicode_string)
 
BOOL utf8_string_to_rail_string (const char *string, RAIL_UNICODE_STRING *unicode_string)
 
static BOOL update_read_icon_info (wStream *s, ICON_INFO *iconInfo)
 
static BOOL update_read_cached_icon_info (wStream *s, CACHED_ICON_INFO *cachedIconInfo)
 
static BOOL update_read_notify_icon_infotip (wStream *s, NOTIFY_ICON_INFOTIP *notifyIconInfoTip)
 
static BOOL update_read_window_state_order (wStream *s, WINDOW_ORDER_INFO *orderInfo, WINDOW_STATE_ORDER *windowState)
 
static BOOL update_read_window_icon_order (wStream *s, WINDOW_ORDER_INFO *orderInfo, WINDOW_ICON_ORDER *window_icon)
 
static BOOL update_read_window_cached_icon_order (wStream *s, WINDOW_ORDER_INFO *orderInfo, WINDOW_CACHED_ICON_ORDER *window_cached_icon)
 
static void update_read_window_delete_order (wStream *s, WINDOW_ORDER_INFO *orderInfo)
 
static BOOL window_order_supported (const rdpSettings *settings, UINT32 fieldFlags)
 
static void dump_window_state_order (wLog *log, const char *msg, const WINDOW_ORDER_INFO *order, const WINDOW_STATE_ORDER *state)
 
static BOOL update_recv_window_info_order (rdpUpdate *update, wStream *s, WINDOW_ORDER_INFO *orderInfo)
 
static void update_notify_icon_state_order_free (NOTIFY_ICON_STATE_ORDER *notify)
 
static BOOL update_read_notification_icon_state_order (wStream *s, WINDOW_ORDER_INFO *orderInfo, NOTIFY_ICON_STATE_ORDER *notify_icon_state)
 
static void update_read_notification_icon_delete_order (wStream *s, WINDOW_ORDER_INFO *orderInfo)
 
static BOOL update_recv_notification_icon_info_order (rdpUpdate *update, wStream *s, WINDOW_ORDER_INFO *orderInfo)
 
static BOOL update_read_desktop_actively_monitored_order (wStream *s, WINDOW_ORDER_INFO *orderInfo, MONITORED_DESKTOP_ORDER *monitored_desktop)
 
static void update_read_desktop_non_monitored_order (wStream *s, WINDOW_ORDER_INFO *orderInfo)
 
static void dump_monitored_desktop (wLog *log, const char *msg, const WINDOW_ORDER_INFO *orderInfo, const MONITORED_DESKTOP_ORDER *monitored)
 
static BOOL update_recv_desktop_info_order (rdpUpdate *update, wStream *s, WINDOW_ORDER_INFO *orderInfo)
 
BOOL update_recv_altsec_window_order (rdpUpdate *update, wStream *s)
 

Macro Definition Documentation

◆ DUMP_APPEND

#define DUMP_APPEND (   buffer,
  size,
  ... 
)
Value:
do \
{ \
char* b = (buffer); \
size_t s = (size); \
size_t pos = strnlen(b, s); \
(void)_snprintf(&b[pos], s - pos, __VA_ARGS__); \
} while (0)
size_t size
Definition: SDL2/sdl_pointer.cpp:38
static int pos
Definition: TestWLogCallback.c:26
#define _snprintf
Definition: winpr/include/winpr/string.h:177

◆ TAG

#define TAG   FREERDP_TAG("core.window")

FreeRDP: A Remote Desktop Protocol Implementation Windowing Alternate Secondary Orders

Copyright 2011 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2011 Roman Barabanov roman.nosp@m.bara.nosp@m.banov.nosp@m.@gma.nosp@m.il.co.nosp@m.m

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

◆ dump_monitored_desktop()

static void dump_monitored_desktop ( wLog *  log,
const char *  msg,
const WINDOW_ORDER_INFO orderInfo,
const MONITORED_DESKTOP_ORDER monitored 
)
static
Here is the caller graph for this function:

◆ dump_window_state_order()

static void dump_window_state_order ( wLog *  log,
const char *  msg,
const WINDOW_ORDER_INFO order,
const WINDOW_STATE_ORDER state 
)
static
Here is the caller graph for this function:

◆ rail_read_unicode_string()

BOOL rail_read_unicode_string ( wStream s,
RAIL_UNICODE_STRING unicode_string 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_free_window_icon_info()

void update_free_window_icon_info ( ICON_INFO iconInfo)
static
Here is the caller graph for this function:

◆ update_notify_icon_state_order_free()

static void update_notify_icon_state_order_free ( NOTIFY_ICON_STATE_ORDER notify)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_read_cached_icon_info()

static BOOL update_read_cached_icon_info ( wStream s,
CACHED_ICON_INFO cachedIconInfo 
)
static
Here is the caller graph for this function:

◆ update_read_desktop_actively_monitored_order()

static BOOL update_read_desktop_actively_monitored_order ( wStream s,
WINDOW_ORDER_INFO orderInfo,
MONITORED_DESKTOP_ORDER monitored_desktop 
)
static
Here is the caller graph for this function:

◆ update_read_desktop_non_monitored_order()

static void update_read_desktop_non_monitored_order ( wStream s,
WINDOW_ORDER_INFO orderInfo 
)
static
Here is the caller graph for this function:

◆ update_read_icon_info()

static BOOL update_read_icon_info ( wStream s,
ICON_INFO iconInfo 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_read_notification_icon_delete_order()

static void update_read_notification_icon_delete_order ( wStream s,
WINDOW_ORDER_INFO orderInfo 
)
static
Here is the caller graph for this function:

◆ update_read_notification_icon_state_order()

static BOOL update_read_notification_icon_state_order ( wStream s,
WINDOW_ORDER_INFO orderInfo,
NOTIFY_ICON_STATE_ORDER notify_icon_state 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_read_notify_icon_infotip()

static BOOL update_read_notify_icon_infotip ( wStream s,
NOTIFY_ICON_INFOTIP notifyIconInfoTip 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_read_window_cached_icon_order()

static BOOL update_read_window_cached_icon_order ( wStream s,
WINDOW_ORDER_INFO orderInfo,
WINDOW_CACHED_ICON_ORDER window_cached_icon 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_read_window_delete_order()

static void update_read_window_delete_order ( wStream s,
WINDOW_ORDER_INFO orderInfo 
)
static
Here is the caller graph for this function:

◆ update_read_window_icon_order()

static BOOL update_read_window_icon_order ( wStream s,
WINDOW_ORDER_INFO orderInfo,
WINDOW_ICON_ORDER window_icon 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_read_window_state_order()

static BOOL update_read_window_state_order ( wStream s,
WINDOW_ORDER_INFO orderInfo,
WINDOW_STATE_ORDER windowState 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_recv_altsec_window_order()

BOOL update_recv_altsec_window_order ( rdpUpdate *  update,
wStream s 
)

FreeRDP: A Remote Desktop Protocol Implementation Windowing Alternate Secondary Orders

Copyright 2011 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2011 Roman Barabanov roman.nosp@m.bara.nosp@m.banov.nosp@m.@gma.nosp@m.il.co.nosp@m.m

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_recv_desktop_info_order()

static BOOL update_recv_desktop_info_order ( rdpUpdate *  update,
wStream s,
WINDOW_ORDER_INFO orderInfo 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_recv_notification_icon_info_order()

static BOOL update_recv_notification_icon_info_order ( rdpUpdate *  update,
wStream s,
WINDOW_ORDER_INFO orderInfo 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_recv_window_info_order()

static BOOL update_recv_window_info_order ( rdpUpdate *  update,
wStream s,
WINDOW_ORDER_INFO orderInfo 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ utf8_string_to_rail_string()

BOOL utf8_string_to_rail_string ( const char *  string,
RAIL_UNICODE_STRING unicode_string 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ window_order_supported()

static BOOL window_order_supported ( const rdpSettings *  settings,
UINT32  fieldFlags 
)
static
Here is the caller graph for this function: