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>
#include "settings.h"

Macros

#define TAG   FREERDP_TAG("settings")
 
#define SERVER_KEY   "Software\\" FREERDP_VENDOR_STRING "\\" FREERDP_PRODUCT_STRING "\\Server"
 
#define CLIENT_KEY   "Software\\" FREERDP_VENDOR_STRING "\\" FREERDP_PRODUCT_STRING "\\Client"
 
#define BITMAP_CACHE_KEY   CLIENT_KEY "\\BitmapCacheV2"
 
#define GLYPH_CACHE_KEY   CLIENT_KEY "\\GlyphCache"
 
#define POINTER_CACHE_KEY   CLIENT_KEY "\\PointerCache"
 

Functions

static BOOL settings_reg_query_dword_val (HKEY hKey, const TCHAR *sub, DWORD *value)
 
static BOOL settings_reg_query_word_val (HKEY hKey, const TCHAR *sub, UINT16 *value)
 
static BOOL settings_reg_query_bool_val (HKEY hKey, const TCHAR *sub, BOOL *value)
 
static BOOL settings_reg_query_dword (rdpSettings *settings, size_t id, HKEY hKey, const TCHAR *sub)
 
static BOOL settings_reg_query_bool (rdpSettings *settings, size_t id, HKEY hKey, const TCHAR *sub)
 
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)
 
static void freerdp_settings_free_internal (rdpSettings *settings)
 
void freerdp_settings_free (rdpSettings *settings)
 
static BOOL freerdp_settings_int_buffer_copy (rdpSettings *_settings, const rdpSettings *settings)
 
BOOL freerdp_settings_copy (rdpSettings *_settings, const rdpSettings *settings)
 
rdpSettings * freerdp_settings_clone (const rdpSettings *settings)
 

Variables

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

Macro Definition Documentation

◆ BITMAP_CACHE_KEY

#define BITMAP_CACHE_KEY   CLIENT_KEY "\\BitmapCacheV2"

◆ CLIENT_KEY

#define CLIENT_KEY   "Software\\" FREERDP_VENDOR_STRING "\\" FREERDP_PRODUCT_STRING "\\Client"

◆ GLYPH_CACHE_KEY

#define GLYPH_CACHE_KEY   CLIENT_KEY "\\GlyphCache"

◆ POINTER_CACHE_KEY

#define POINTER_CACHE_KEY   CLIENT_KEY "\\PointerCache"

◆ SERVER_KEY

#define SERVER_KEY   "Software\\" FREERDP_VENDOR_STRING "\\" FREERDP_PRODUCT_STRING "\\Server"

◆ TAG

#define TAG   FREERDP_TAG("settings")

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.

Function Documentation

◆ freerdp_settings_clone()

rdpSettings* freerdp_settings_clone ( const rdpSettings *  settings)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freerdp_settings_copy()

BOOL freerdp_settings_copy ( rdpSettings *  _settings,
const rdpSettings *  settings 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freerdp_settings_free()

void freerdp_settings_free ( rdpSettings *  settings)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freerdp_settings_free_internal()

static void freerdp_settings_free_internal ( rdpSettings *  settings)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freerdp_settings_int_buffer_copy()

static BOOL freerdp_settings_int_buffer_copy ( rdpSettings *  _settings,
const rdpSettings *  settings 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freerdp_settings_new()

rdpSettings* freerdp_settings_new ( DWORD  flags)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freerdp_settings_set_default_order_support()

BOOL freerdp_settings_set_default_order_support ( rdpSettings *  settings)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ settings_client_load_hkey_local_machine()

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:

◆ settings_get_computer_name()

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:

◆ settings_load_hkey_local_machine()

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:

◆ settings_reg_query_bool()

static BOOL settings_reg_query_bool ( rdpSettings *  settings,
size_t  id,
HKEY  hKey,
const TCHAR sub 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ settings_reg_query_bool_val()

static BOOL settings_reg_query_bool_val ( HKEY  hKey,
const TCHAR sub,
BOOL *  value 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ settings_reg_query_dword()

static BOOL settings_reg_query_dword ( rdpSettings *  settings,
size_t  id,
HKEY  hKey,
const TCHAR sub 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ settings_reg_query_dword_val()

static BOOL settings_reg_query_dword_val ( HKEY  hKey,
const TCHAR sub,
DWORD *  value 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ settings_reg_query_word_val()

static BOOL settings_reg_query_word_val ( HKEY  hKey,
const TCHAR sub,
UINT16 value 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ settings_server_load_hkey_local_machine()

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

◆ client_dll

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