YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
E/include/YCLib/MinGW32.h 文件参考
#include "YCLib/ycommon.h"
#include <YCLib/NativeAPI.h>
#include "YSLib/Core/yexcept.h"
E/include/YCLib/MinGW32.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

class  platform_ex::Exception
 宿主异常。 更多...
 
class  platform_ex::Windows::Win32Exception
 Win32 错误引起的宿主异常。 更多...
 
class  platform_ex::Windows::RegisterKey
 注册表键。 更多...
 

命名空间

 platform_ex
 平台扩展命名空间。
 
 platform_ex::Windows
 Windows 平台扩展接口。
 

宏定义

#define YF_Raise_Win32Exception(...)
 按 ::GetLastError 的结果和指定参数抛出 Windows::Win32Exception 对象。 更多...
 

函数

YF_API bool platform_ex::Windows::CheckWine ()
 判断是否在 Wine 环境下运行。 更多...
 
YF_API std::string platform_ex::Windows::UTF8ToMBCS (const char *, std::size_t, int=CP_ACP)
 
std::string platform_ex::Windows::UTF8ToMBCS (const char *str, int cp=CP_ACP)
 
std::string platform_ex::Windows::UTF8ToMBCS (const std::string &str, int cp=CP_ACP)
 
std::string platform_ex::Windows::WCSToMBCS (const wchar_t *str, std::size_t len, int cp)
 
std::string platform_ex::Windows::WCSToMBCS (const wchar_t *str, int cp=CP_ACP)
 
std::string platform_ex::Windows::WCSToMBCS (const std::wstring &str, int cp=CP_ACP)
 
std::wstring platform_ex::Windows::MBCSToWCS (const char *str, std::size_t len, int cp)
 
std::wstring platform_ex::Windows::MBCSToWCS (const char *str, int cp=CP_ACP)
 
std::wstring platform_ex::Windows::MBCSToWCS (const std::string &str, int cp=CP_ACP)
 

宏定义说明

#define YF_Raise_Win32Exception (   ...)
值:
{ \
const auto err(::GetLastError()); \
\
}
Win32 错误引起的宿主异常。

按 ::GetLastError 的结果和指定参数抛出 Windows::Win32Exception 对象。

自从
build 426

在文件 E/include/YCLib/MinGW32.h112 行定义.

参考自 platform_ex::Windows::RegisterKey::RegisterKey().