网站首页  词典首页

请输入您要查询的函数:

 

术语 vectoredhandler
释义 VectoredHandler
语法:
C++
LONG CALLBACK VectoredHandler(
__in PEXCEPTION_POINTERS ExceptionInfo
);
VectoredHandler回调函数
一个应用程序定义的函数,作为一个向量化异常处理程序服务。指定这个地址时调用AddVectoredExceptionHandler功能。在PVECTORED_EXCEPTION_HANDLER类型定义一个指向这个回调函数。 VectoredHandler是一个应用程序的占位符定义的名称。
参数
ExceptionInfo [in]
对一个EXCEPTION_POINTERS结构异常接收记录指针。
返回值
要返回到控制点发生异常,返回EXCEPTION_CONTINUE_EXECUTION(0xffffffff)的。要继续处理的搜索,返回EXCEPTION_CONTINUE_SEARCH(0x0)。
备注
处理程序不应调用函数获取同步对象或分配内存,因为这可能会导致问题。通常,处理程序将只访问异常记录并返回。
要求:
最低支持client-Windows XP
最低支持serverWindows服务器2003
HeaderWinnt.h(头文件:winuser.h)
参见
EXCEPTION_POINTERS
向量化异常处理
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==VectoredHandler Callback Function
An application-defined function that serves as a vectored exception handler. Specify this address when calling the AddVectoredExceptionHandler function. The PVECTORED_EXCEPTION_HANDLER type defines a pointer to this callback function. VectoredHandler is a placeholder for the application-defined name.
Syntax
C++
LONG CALLBACK VectoredHandler(
__in PEXCEPTION_POINTERS ExceptionInfo
);
Parameters
ExceptionInfo [in]
A pointer to an EXCEPTION_POINTERS structure that receives the exception record.
Return Value
To return control to the point at which the exception occurred, return EXCEPTION_CONTINUE_EXECUTION (0xffffffff). To continue the handler search, return EXCEPTION_CONTINUE_SEARCH (0x0).
Remarks
The handler should not call functions that acquire synchronization objects or allocate memory, because this can cause problems. Typically, the handler will simply access the exception record and return.
Requirements
Minimum supported clientWindows XP
Minimum supported serverWindows Server 2003
HeaderWinnt.h (include Windows.h)
See Also
EXCEPTION_POINTERS
Vectored Exception Handling
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms681419(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:31:31