Error Handling Functions(微软对于出错的情况下提供的所有函数,比如SetThreadErrorMode,SetErrorMode,SetLastErrorEx,FatalAppExit,CaptureStackbackTrace)
The following functions are used with error handling.
| Function | Description |
|---|---|
| Beep | Generates simple tones on the speaker. |
| CaptureStackbackTrace | Captures a stack back trace by walking up the stack and recording the information for each frame. |
| FatalAppExit | Displays a message box and terminates the application when the message box is closed. |
| FlashWindow | Flashes the specified window one time. |
| FlashWindowEx | Flashes the specified window. |
| FormatMessage | Formats a message string. |
| GetErrorMode | Retrieves the error mode for the current process. |
| GetLastError | Retrieves the calling thread's last-error code value. |
| GetThreadErrorMode | Retrieves the error mode for the calling thread. |
| MessageBeep | Plays a waveform sound. |
| RtlLookupFunctionEntry | Searches the active function tables for an entry that corresponds to the specified PC value. |
| RtlNtStatusToDosError | Retrieves the system error code that corresponds to the specified NT error code. |
| RtlPcToFileHeader | Retrieves the base address of the image that contains the specified PC value. |
| RtlUnwind | Initiates an unwind of procedure call frames. |
| RtlUnwind2 | Initiates an unwind of procedure call frames. |
| RtlUnwindEx | Initiates an unwind of procedure call frames. |
| RtlVirtualUnwind | Retrieves the invocation context of the function that precedes the specified function context. |
| SetErrorMode | Controls whether the system will handle the specified types of serious errors, or whether the process will handle them. |
| SetLastError | Sets the last-error code for the calling thread. |
| SetLastErrorEx | Sets the last-error code for the calling thread. |
| SetThreadErrorMode | Controls whether the system will handle the specified types of serious errors or whether the calling thread will handle them. |
https://docs.microsoft.com/zh-cn/windows/desktop/Debug/error-handling-functions
Error Handling Functions(微软对于出错的情况下提供的所有函数,比如SetThreadErrorMode,SetErrorMode,SetLastErrorEx,FatalAppExit,CaptureStackbackTrace)的更多相关文章
- 【sql server复制】不重新初始化快照的情况下新增表/存储过程/函数等
转发自:https://www.cnblogs.com/datazhang/p/5498789.html sqlserver同步后在不重新初始化快照的情况下新增表 在已有事务复制中,时长 ...
- Erlang error handling
Erlang error handling Contents Preface try-catch Process link Erlang-way error handling OTP supervis ...
- setjmp()、longjmp() Linux Exception Handling/Error Handling、no-local goto
目录 . 应用场景 . Use Case Code Analysis . 和setjmp.longjmp有关的glibc and eglibc 2.5, 2.7, 2.13 - Buffer Over ...
- Error Handling and Exception
The default error handling in PHP is very simple.An error message with filename, line number and a m ...
- Error Handling in ASP.NET Core
Error Handling in ASP.NET Core 前言 在程序中,经常需要处理比如 404,500 ,502等错误,如果直接返回错误的调用堆栈的具体信息,显然大部分的用户看到是一脸懵逼的 ...
- Global Error Handling in ASP.NET Web API 2(webapi2 中的全局异常处理)
目前,在Web API中没有简单的方法来记录或处理全局异常(webapi1中).一些未处理的异常可以通过exception filters进行处理,但是有许多情况exception filters无法 ...
- 19 Error handling and Go go语言错误处理
Error handling and Go go语言错误处理 12 July 2011 Introduction If you have written any Go code you have pr ...
- Error handling in Swift does not involve stack unwinding. What does it mean?
Stack unwinding is just the process of navigating up the stack looking for the handler. Wikipedia su ...
- MySQL Error Handling in Stored Procedures 2
Summary: this tutorial shows you how to use MySQL handler to handle exceptions or errors encountered ...
随机推荐
- android网络图片自动轮播 githhub地址
https://github.com/panxw/android-image-indicator
- 在你的Android手机上运行Linux
之前试过许多方法(也就几种),像什么Complete Linux Installer,Debian noroot,利用已有的Linux构造Bootstrap之类,要么就是复杂得要命(调了两天没有调出来 ...
- [0] Hello World
受不了CSDN了,广告多,慢,编辑器难用,还限制博客数量.
- 在git提交时忽略已提交过或从线上拉取下来但本地已修改的文件
一.忽略: git update-index --assume-unchanged [file-path] 命令中的file-path 就是需要忽略提价的文件的路径 例子: git update-in ...
- 在rubymine中集成heroku插件
先安装heroku,参见http://www.cnblogs.com/jecyhw/p/4906990.html Heroku安装之后,就自动安装上git,目录为C:\Program Files (x ...
- nginx下TP5 隐藏入口文件+支持pathinfo模式+配置多项目根目录
首先说下项目目录情况 跟目录/usr/share/nginx/html/(别说怎么这么深 0.0) html文件夹下面两个目录 pssh pssh_shop 两个tp5项目分别对应两个二级域名 ...
- 第七章习题G题
题意 给出如图案例,要你从某一点开始走,一直走到极限(即无法再进行扩展),这时你走过的点会连成一个数,不同的走法当然会有不同的数,要求是输出最大的数(注意每个方块走过一次就不能再走) 思路 •1.枚举 ...
- Hermite (埃尔米特)曲线
Hermite 曲线 已知曲线的两个端点坐标P0.P1,和端点处的切线R0.R1,确定的一条曲线. 参数方程 1. 几何形式 2. 矩阵形式 3. 推导 例子分析 如上图有四个点,假如P0.P2是端点 ...
- HTML基础知识 table中 th,td,tr
https://www.2cto.com/kf/201711/701872.html table是一个布局神器,之前看过很多代码,都是用table布局的.但是,我在学习的过程中,发现table有很迷的 ...
- java手工从键盘输入数字存放到数组并将其输出
package suanfafenxi; import java.util.Scanner; public class shiyan { static int number=10; static in ...