📄 exception.h
字号:
#ifndef I_TOOLS_EXCEPTION_H
#define I_TOOLS_EXCEPTION_H
#include <windows.h>
#include <ComDef.h>
namespace Tools
{
class Exception
{
public:
Exception(const CLSID& clsId, UINT resourceId, ...);
HRESULT GetException() const;
protected:
_bstr_t LoadString (UINT resourceId, va_list *argList);
_bstr_t GetProgId (const CLSID& clsId);
private:
HRESULT m_hr;
};
} // namespace Tools
#endif // I_TOOLS_EXCEPTION_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -