|
Packit |
1fb8d4 |
/**
|
|
Packit |
1fb8d4 |
* WinPR: Windows Portable Runtime
|
|
Packit |
1fb8d4 |
* Localization Functions
|
|
Packit |
1fb8d4 |
*
|
|
Packit |
1fb8d4 |
* Copyright 2014 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
|
Packit |
1fb8d4 |
*
|
|
Packit |
1fb8d4 |
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
Packit |
1fb8d4 |
* you may not use this file except in compliance with the License.
|
|
Packit |
1fb8d4 |
* You may obtain a copy of the License at
|
|
Packit |
1fb8d4 |
*
|
|
Packit |
1fb8d4 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
Packit |
1fb8d4 |
*
|
|
Packit |
1fb8d4 |
* Unless required by applicable law or agreed to in writing, software
|
|
Packit |
1fb8d4 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
Packit |
1fb8d4 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
Packit |
1fb8d4 |
* See the License for the specific language governing permissions and
|
|
Packit |
1fb8d4 |
* limitations under the License.
|
|
Packit |
1fb8d4 |
*/
|
|
Packit |
1fb8d4 |
|
|
Packit |
1fb8d4 |
#ifdef HAVE_CONFIG_H
|
|
Packit |
1fb8d4 |
#include "config.h"
|
|
Packit |
1fb8d4 |
#endif
|
|
Packit |
1fb8d4 |
|
|
Packit |
1fb8d4 |
#include <winpr/locale.h>
|
|
Packit |
1fb8d4 |
|
|
Packit |
1fb8d4 |
/**
|
|
Packit |
1fb8d4 |
* api-ms-win-core-localization-l1-2-1.dll:
|
|
Packit |
1fb8d4 |
*
|
|
Packit |
1fb8d4 |
* ConvertDefaultLocale
|
|
Packit |
1fb8d4 |
* EnumSystemGeoID
|
|
Packit |
1fb8d4 |
* EnumSystemLocalesA
|
|
Packit |
1fb8d4 |
* EnumSystemLocalesEx
|
|
Packit |
1fb8d4 |
* EnumSystemLocalesW
|
|
Packit |
1fb8d4 |
* FindNLSString
|
|
Packit |
1fb8d4 |
* FindNLSStringEx
|
|
Packit |
1fb8d4 |
* FormatMessageA
|
|
Packit |
1fb8d4 |
* FormatMessageW
|
|
Packit |
1fb8d4 |
* GetACP
|
|
Packit |
1fb8d4 |
* GetCalendarInfoEx
|
|
Packit |
1fb8d4 |
* GetCalendarInfoW
|
|
Packit |
1fb8d4 |
* GetCPInfo
|
|
Packit |
1fb8d4 |
* GetCPInfoExW
|
|
Packit |
1fb8d4 |
* GetFileMUIInfo
|
|
Packit |
1fb8d4 |
* GetFileMUIPath
|
|
Packit |
1fb8d4 |
* GetGeoInfoW
|
|
Packit |
1fb8d4 |
* GetLocaleInfoA
|
|
Packit |
1fb8d4 |
* GetLocaleInfoEx
|
|
Packit |
1fb8d4 |
* GetLocaleInfoW
|
|
Packit |
1fb8d4 |
* GetNLSVersion
|
|
Packit |
1fb8d4 |
* GetNLSVersionEx
|
|
Packit |
1fb8d4 |
* GetOEMCP
|
|
Packit |
1fb8d4 |
* GetProcessPreferredUILanguages
|
|
Packit |
1fb8d4 |
* GetSystemDefaultLangID
|
|
Packit |
1fb8d4 |
* GetSystemDefaultLCID
|
|
Packit |
1fb8d4 |
* GetSystemPreferredUILanguages
|
|
Packit |
1fb8d4 |
* GetThreadLocale
|
|
Packit |
1fb8d4 |
* GetThreadPreferredUILanguages
|
|
Packit |
1fb8d4 |
* GetThreadUILanguage
|
|
Packit |
1fb8d4 |
* GetUILanguageInfo
|
|
Packit |
1fb8d4 |
* GetUserDefaultLangID
|
|
Packit |
1fb8d4 |
* GetUserDefaultLCID
|
|
Packit |
1fb8d4 |
* GetUserDefaultLocaleName
|
|
Packit |
1fb8d4 |
* GetUserGeoID
|
|
Packit |
1fb8d4 |
* GetUserPreferredUILanguages
|
|
Packit |
1fb8d4 |
* IdnToAscii
|
|
Packit |
1fb8d4 |
* IdnToUnicode
|
|
Packit |
1fb8d4 |
* IsDBCSLeadByte
|
|
Packit |
1fb8d4 |
* IsDBCSLeadByteEx
|
|
Packit |
1fb8d4 |
* IsNLSDefinedString
|
|
Packit |
1fb8d4 |
* IsValidCodePage
|
|
Packit |
1fb8d4 |
* IsValidLanguageGroup
|
|
Packit |
1fb8d4 |
* IsValidLocale
|
|
Packit |
1fb8d4 |
* IsValidLocaleName
|
|
Packit |
1fb8d4 |
* IsValidNLSVersion
|
|
Packit |
1fb8d4 |
* LCMapStringA
|
|
Packit |
1fb8d4 |
* LCMapStringEx
|
|
Packit |
1fb8d4 |
* LCMapStringW
|
|
Packit |
1fb8d4 |
* LocaleNameToLCID
|
|
Packit |
1fb8d4 |
* ResolveLocaleName
|
|
Packit |
1fb8d4 |
* SetCalendarInfoW
|
|
Packit |
1fb8d4 |
* SetLocaleInfoW
|
|
Packit |
1fb8d4 |
* SetProcessPreferredUILanguages
|
|
Packit |
1fb8d4 |
* SetThreadLocale
|
|
Packit |
1fb8d4 |
* SetThreadPreferredUILanguages
|
|
Packit |
1fb8d4 |
* SetThreadUILanguage
|
|
Packit |
1fb8d4 |
* SetUserGeoID
|
|
Packit |
1fb8d4 |
* VerLanguageNameA
|
|
Packit |
1fb8d4 |
* VerLanguageNameW
|
|
Packit |
1fb8d4 |
*/
|
|
Packit |
1fb8d4 |
|
|
Packit |
1fb8d4 |
#ifndef _WIN32
|
|
Packit |
1fb8d4 |
|
|
Packit |
1fb8d4 |
DWORD WINAPI FormatMessageA(DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId,
|
|
Packit Service |
5a9772 |
LPSTR lpBuffer, DWORD nSize, va_list* Arguments)
|
|
Packit |
1fb8d4 |
{
|
|
Packit |
1fb8d4 |
return 0;
|
|
Packit |
1fb8d4 |
}
|
|
Packit |
1fb8d4 |
|
|
Packit |
1fb8d4 |
DWORD WINAPI FormatMessageW(DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId,
|
|
Packit Service |
5a9772 |
LPWSTR lpBuffer, DWORD nSize, va_list* Arguments)
|
|
Packit |
1fb8d4 |
{
|
|
Packit |
1fb8d4 |
return 0;
|
|
Packit |
1fb8d4 |
}
|
|
Packit |
1fb8d4 |
|
|
Packit |
1fb8d4 |
#endif
|