YSTest: NLS.h 源文件

YSTest PreAlpha_b700_20160611 The YSLib Test Project

- 首页
- 相关页面
- 模块
- 命名空间
- 类
- 文件

- 文件列表
- 文件成员

NLS.h
浏览该文件的文档.
1 /*
2 © 2014-2015 FrankHB.
3
4 This file is part of the YSLib project, and may only be used,
5 modified, and distributed under the terms of the YSLib project
6 license, LICENSE.TXT. By continuing to use, modify, or distribute
7 this file you indicate that you have read the license and
8 understand and accept it fully.
9 */
10
29 #ifndef YCL_MinGW32_INC_NLS_h_
30 #define YCL_MinGW32_INC_NLS_h_ 1
31
32 #include "YCLib/YModules.h"
33 #include YFM_Win32_YCLib_MinGW32
34
35 namespace platform_ex
36 {
37
38 inline namespace Windows
39 {
40
46 YF_API YB_NONNULL(1) wstring
47 FetchNLSItemFromRegistry(const wchar_t*);
48
53 inline PDefH(wstring, FetchCPFileNameFromRegistry, int cp)
54 ImplRet(FetchNLSItemFromRegistry(to_wstring(cp).c_str()))
55
62 YF_API const unsigned short*
63 FetchDBCSOffset(int) ynothrow;
64
65 } // inline namespace Windows;
66
67 } // namespace platform_ex;
68
69 #endif
70
ynothrow
#define ynothrow
YSLib 无异常抛出保证：若支持 noexcept 关键字， 指定特定的 noexcept 异常规范。
Definition: ydef.h:740
platform_ex::Windows::PDefH
PDefH(wstring, FetchCPFileNameFromRegistry, int cp) ImplRet(FetchNLSItemFromRegistry(to_wstring(cp).c_str())) YF_API const unsigned short *FetchDBCSOffset(int) ynothrow
取注册表中指定代码页的 NLS 文件路径。
platform_ex::Windows::ImplRet
const wchar_t FileAccessRights FileShareMode FileAttributesAndFlags attributes_and_flags ynothrowv ImplRet(MakeFile(path, desired_access, shared_mode, CreationDisposition::OpenExisting, attributes_and_flags)) inline YB_NONNULL(1) PDefH(UniqueHandle
platform::containers::wstring
basic_string< wchar_t > wstring
Definition: Container.h:108
platform_ex
平台扩展命名空间。
Definition: Android.h:45
YModules.h
platform_ex::Windows::YB_NONNULL
YF_API YB_ATTR_returns_nonnull YB_NONNULL(2) ModuleProc *LoadProc( YB_NONNULL(2) _func &LoadProc(
从模块加载指定过程的指针。
Definition: MinGW32.h:222
NPL::c_str
YF_API const char src c_str())) YF_API void InstallDirectory(const string &
安装目录：复制目录树。
ystdex::to_wstring
std::wstring to_wstring(unsigned char val)
Definition: string.hpp:998
YF_API
#define YF_API
Definition: Platform.h:56