exception.h

来自「wince6.0平台上的任务管理器,功能类似于windows的任务管理器. 」· C头文件 代码 · 共 26 行

H
26
字号

#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 + =
减小字号Ctrl + -
显示快捷键?