asynchexceptionmgr.cpp
来自「window下的多线程编程参考书。值得一读」· C++ 代码 · 共 25 行
CPP
25 行
//
// FILE: AsynchExceptionMgr.cpp
//
// Copyright (c) 1997 by Aaron Michael Cohen and Mike Woodring
//
/////////////////////////////////////////////////////////////////////////
#include <windows.h>
#include <stdio.h>
#include "AsynchExceptionMgr.h"
void CAsynchronousExceptionManager::NotifyExceptionHandler
(
CExceptionHandler *pHandler,
CExceptionHandler::NOTIFICATION_CONTEXT Context,
DWORD dwExceptionCode
)
{
printf("[tid 0x%08lx] Fore!\n", GetCurrentThreadId());
// "Fore!"
//
pHandler->OnException(Context, dwExceptionCode);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?