Win32Exception.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:1k
- /********************************************************************
- created: 2003/02/13
- file base: Win32Exception
- file ext: h
- author: liupeng
-
- purpose: Header file for CWin32Exception class
- *********************************************************************/
- #ifndef __INCLUDE_WIN32EXCEPTION_H__
- #define __INCLUDE_WIN32EXCEPTION_H__
- #if defined (_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- #include "Exception.h"
- /*
- * namespace OnlineGameLib::Win32
- */
- namespace OnlineGameLib {
- namespace Win32 {
- /*
- * CWin32Exception
- */
- class CWin32Exception : public CException
- {
- public:
-
- CWin32Exception( const _tstring &where, DWORD error );
- DWORD GetError() const;
-
- protected:
-
- DWORD m_error;
- };
- } // End of namespace OnlineGameLib
- } // End of namespace Win32
- #endif //__INCLUDE_WIN32EXCEPTION_H__