FreeRDP
|
#include <freerdp/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/crt.h>
#include <winpr/assert.h>
#include <winpr/environment.h>
#include "liblocale.h"
#include <freerdp/locale/locale.h>
Functions | |
static BOOL | freerdp_get_system_language_and_country_codes (char *language, size_t languageLen, char *country, size_t countryLen) |
static const SYSTEM_LOCALE * | freerdp_detect_system_locale (void) |
DWORD | freerdp_get_system_locale_id (void) |
static const SYSTEM_LOCALE * | get_locale_from_str (const char *name) |
static INT64 | get_layout_from_locale (const SYSTEM_LOCALE *locale) |
const char * | freerdp_get_system_locale_name_from_id (DWORD localeId) |
INT64 | freerdp_get_locale_id_from_string (const char *locale) |
int | freerdp_detect_keyboard_layout_from_system_locale (DWORD *keyboardLayoutId) |
const SYSTEM_LOCALE * | freerdp_get_system_locale_list (size_t *count) |
DWORD | freerdp_get_keyboard_default_layout_for_locale (DWORD locale) |
Variables | |
static const SYSTEM_LOCALE | SYSTEM_LOCALE_TABLE [] |
static const LOCALE_NAME | LOCALE_NAME_TABLE [] |
static const LOCALE_KEYBOARD_LAYOUTS | LOCALE_KEYBOARD_LAYOUTS_TABLE [] |
int freerdp_detect_keyboard_layout_from_system_locale | ( | DWORD * | keyboardLayoutId | ) |
|
static |
DWORD freerdp_get_keyboard_default_layout_for_locale | ( | DWORD | locale | ) |
INT64 freerdp_get_locale_id_from_string | ( | const char * | locale | ) |
|
static |
DWORD freerdp_get_system_locale_id | ( | void | ) |
const SYSTEM_LOCALE* freerdp_get_system_locale_list | ( | size_t * | count | ) |
const char* freerdp_get_system_locale_name_from_id | ( | DWORD | localeId | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
FreeRDP: A Remote Desktop Protocol Implementation Microsoft Locales
Copyright 2009-2012 Marc-Andre Moreau marca Copyright 2021 Thincast Technologies GmbH Copyright 2021 Martin Fleisz ndre .more au@g mail. commarti n.fl eisz@ thin cast. 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.