FreeRDP
core/settings.c File Reference
#include "certificate.h"
#include "capabilities.h"
#include <ctype.h>
#include <winpr/crt.h>
#include <winpr/file.h>
#include <winpr/path.h>
#include <winpr/sysinfo.h>
#include <winpr/registry.h>
#include <freerdp/settings.h>
#include <freerdp/build-config.h>

Macros

#define REG_QUERY_DWORD_VALUE(_key, _subkey, _type, _value, _size, _result)
 
#define REG_QUERY_BOOL_VALUE(_key, _subkey, _type, _value, _size, _result)
 
#define SERVER_KEY
 
#define CLIENT_KEY
 
#define BITMAP_CACHE_KEY   CLIENT_KEY "\\BitmapCacheV2"
 
#define GLYPH_CACHE_KEY   CLIENT_KEY "\\GlyphCache"
 
#define POINTER_CACHE_KEY   CLIENT_KEY "\\PointerCache"
 
#define CHECKED_STRDUP(name)   if (settings->name && !(_settings->name = _strdup(settings->name))) goto out_fail
 

Functions

static void settings_client_load_hkey_local_machine (rdpSettings *settings)
 
static void settings_server_load_hkey_local_machine (rdpSettings *settings)
 
static void settings_load_hkey_local_machine (rdpSettings *settings)
 
static BOOL settings_get_computer_name (rdpSettings *settings)
 
BOOL freerdp_settings_set_default_order_support (rdpSettings *settings)
 
rdpSettings * freerdp_settings_new (DWORD flags)
 
rdpSettings * freerdp_settings_clone (rdpSettings *settings)
 
void freerdp_settings_free (rdpSettings *settings)
 

Variables

static const char client_dll [] = "C:\\Windows\\System32\\mstscax.dll"
 

Macro Definition Documentation

#define BITMAP_CACHE_KEY   CLIENT_KEY "\\BitmapCacheV2"
#define CHECKED_STRDUP (   name)    if (settings->name && !(_settings->name = _strdup(settings->name))) goto out_fail
#define CLIENT_KEY
Value:
"Software\\" FREERDP_VENDOR_STRING "\\" \
FREERDP_PRODUCT_STRING "\\Client"
#define GLYPH_CACHE_KEY   CLIENT_KEY "\\GlyphCache"
#define POINTER_CACHE_KEY   CLIENT_KEY "\\PointerCache"
#define REG_QUERY_BOOL_VALUE (   _key,
  _subkey,
  _type,
  _value,
  _size,
  _result 
)
Value:
_size = sizeof(DWORD); \
if (RegQueryValueEx(_key, _subkey, NULL, &_type, (BYTE*) &_value, &_size) == ERROR_SUCCESS) \
_result = _value ? TRUE : FALSE
#define ERROR_SUCCESS
Definition: winpr/include/winpr/error.h:157
#define RegQueryValueEx
Definition: registry.h:355
unsigned char BYTE
Definition: LOMHash.c:3
if availableBytes return NULL
Definition: TPCircularBuffer.h:104
winpr freerdp if(WITH_DEBUG_SYMBOLS AND MSVC AND NOT BUILTIN_CHANNELS AND BUILD_SHARED_LIBS) install(FILES $
Definition: channels/drive/client/CMakeLists.txt:32
#define FALSE
Definition: trio.c:209
#define TRUE
Definition: trio.c:210
#define REG_QUERY_DWORD_VALUE (   _key,
  _subkey,
  _type,
  _value,
  _size,
  _result 
)
Value:
_size = sizeof(DWORD); \
if (RegQueryValueEx(_key, _subkey, NULL, &_type, (BYTE*) &_value, &_size) == ERROR_SUCCESS) \
_result = _value
#define ERROR_SUCCESS
Definition: winpr/include/winpr/error.h:157
#define RegQueryValueEx
Definition: registry.h:355
unsigned char BYTE
Definition: LOMHash.c:3
if availableBytes return NULL
Definition: TPCircularBuffer.h:104
winpr freerdp if(WITH_DEBUG_SYMBOLS AND MSVC AND NOT BUILTIN_CHANNELS AND BUILD_SHARED_LIBS) install(FILES $
Definition: channels/drive/client/CMakeLists.txt:32
#define SERVER_KEY
Value:
"Software\\" FREERDP_VENDOR_STRING "\\" \
FREERDP_PRODUCT_STRING "\\Server"

Function Documentation

rdpSettings* freerdp_settings_clone ( rdpSettings *  settings)

Manual Code

Here is the call graph for this function:

Here is the caller graph for this function:

void freerdp_settings_free ( rdpSettings *  settings)

Here is the call graph for this function:

Here is the caller graph for this function:

rdpSettings* freerdp_settings_new ( DWORD  flags)

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL freerdp_settings_set_default_order_support ( rdpSettings *  settings)

FreeRDP: A Remote Desktop Protocol Implementation Internal settings header for functions not exported

Copyright 2018 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2018 Thincast Technologies GmbH

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 caller graph for this function:

static void settings_client_load_hkey_local_machine ( rdpSettings *  settings)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL settings_get_computer_name ( rdpSettings *  settings)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void settings_load_hkey_local_machine ( rdpSettings *  settings)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void settings_server_load_hkey_local_machine ( rdpSettings *  settings)
static

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const char client_dll[] = "C:\\Windows\\System32\\mstscax.dll"
static

FreeRDP: A Remote Desktop Protocol Implementation RDP Settings

Copyright 2009-2011 Jay Sorg

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.