asynchexceptionmgr.h

来自「window下的多线程编程参考书。值得一读」· C头文件 代码 · 共 28 行

H
28
字号
//
// FILE: AsynchExceptionMgr.h
//
// Copyright (c) 1997 by Aaron Michael Cohen and Mike Woodring
//
/////////////////////////////////////////////////////////////////////////

#ifndef __AsynchExceptionMgr__
#define __AsynchExceptionMgr__

#include "ExceptionMgr.h"

// Asynchronous exception manager.  This derivation of the exception
// manager just forwards the notification to all registered handlers
// in the context of the thread calling into the exception manager.
//
class CAsynchronousExceptionManager : public CExceptionManager
{
    protected:
        virtual void    NotifyExceptionHandler(
                            CExceptionHandler                       *pHandler,
                            CExceptionHandler::NOTIFICATION_CONTEXT Context,
                            DWORD                                   dwExceptionCode
                        );
};

#endif // __AsynchExceptionMgr__

⌨️ 快捷键说明

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