Error Handling Functions(微软对于出错的情况下提供的所有函数,比如SetThreadErrorMode,SetErrorMode,SetLastErrorEx,FatalAppExit,CaptureStackbackTrace)
微软 函数 Error 所有 情况 提供 出错 对于
2023-09-11 14:19:08 时间
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
相关文章
- 对标Google,微软开源其人工智能CNTK
- 2020-12 补丁日: 微软多个高危漏洞通告
- 【漏洞通告】微软更新多个产品高危漏洞通告
- 《软件定义数据中心:Windows Server SDDC技术与实践》——第1章 微软数据中心与SDDC漫谈1.1 微软数据中心建设之道
- 好用的微软桌面
- 微软发话:Win10杀毒软件要优先选它
- 微软:新Windows设备需要默认支持TPM 2.0安全功能
- 微软进一步扩展其GigJam协作服务受众
- Windows 10文件资源管理器出现微软OneDrive广告
- 微软软件安全更新有了新入口
- 对抗Slack:微软企业协作沟通应用Teams正式上线
- 【历史上的今天】4 月 4 日:互联网新时代的缔造者出现;微软成立;苹果公司元老诞生
- 【历史上的今天】4 月 2 日:微软的第一个硬件产品;Google+ 服务关闭;超传输技术诞生
- 【历史上的今天】12 月 24 日:姚期智出生;微软在 Java 反垄断案中败诉;GIF 图像格式获得专利保护
- 甲骨文的CEO说 他眼里没有亚马逊和微软
- 【微软100题】定义字符串的左旋转操作:把字符串前面的若干个字符移动到字符串的尾部。 如把字符串abcdef左旋转2位得到字符串cdefab。请实现字符串左旋转的函数。
- 微软在新版Windows 10中用PowerShell替换命令提示符
- 微软发布Windows 10 Windows Defender中心
- 微软过冬的三大姿势:裁员,回购400亿美元股票,在中国开合资公司