⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 errorhandling.h

📁 AES, 即Advanced Encryption Standard高级加密标准模块, 它是目前国际上最先进的加密技术, 是基于DES之后的最新发布的高段加密标准. 该标准由美国NIST(Nation
💻 H
字号:
/*
 *  ErrorHandling.h
 *
 *  Copyright (C) 2007
 *  Paul E. Jones <paulej@arid.us>
 *  All Rights Reserved.
 *
 ******************************************************************************
 *  $Id: ErrorHandling.h,v 1.1 2007/05/14 10:41:43 paulej Exp $
 ******************************************************************************
 *
 *  This file defines various error handling and reporting functions.
 *
 */

/* Global Error Reporting Function */
void ReportError(   std::basic_string<TCHAR> message,
					DWORD reason);

/*
 * This class exists to allow us to easily bail out when
 * we have system I/O issues.
 */
class SystemErrorException
{
    public:
        DWORD                       Reason;
        std::basic_string<TCHAR>    Message;

        SystemErrorException(   std::basic_string<TCHAR> message,
                                DWORD reason = 0)
        {
            Reason = reason;
            Message = message;
        }

        SystemErrorException()
        {
            Reason = GetLastError();
        }
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -