网站首页  词典首页

请输入您要查询的函数:

 

术语 addvectoredexceptionhandler
释义 AddVectoredExceptionHandler
语法:
C++
PVOID WINAPI AddVectoredExceptionHandler(
__in ULONG FirstHandler,
__in PVECTORED_EXCEPTION_HANDLER VectoredHandler
);
AddVectoredExceptionHandler功能
注册一个向量化异常处理程序。
参数
FirstHandler [in]
在该处理程序应该调用的顺序。如果该参数为非零值,处理器是第一个处理程序被调用。如果参数是零,该处理程序是最后一个处理程序被调用。
VectoredHandler [in]
一个处理程序指针被调用。有关更多信息,请参阅VectoredHandler。
返回值
如果函数成功,返回值是一个句柄异常处理程序。
如果函数失败,返回值为NULL。
备注
如果FirstHandler参数不为零,该处理程序是第一个处理程序,直到随后调用AddVectoredExceptionHandler要求用于指定作为第一个处理程序不同的处理程序。
如果VectoredHandler参数指向一个函数在DLL和卸载DLL是,该处理器是注册。这可能导致应用程序错误。
要注销处理,使用RemoveVectoredExceptionHandler功能。
要编译的应用程序使用此函数,定义为0x0500或更高_WIN32_WINNT宏。有关详细信息,请参阅使用Windows头。
实例
有关示例,请参阅使用向量化异常处理程序。
要求:
最低支持client-Windows XP
最低支持serverWindows服务器2003
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
AddVectoredContinueHandler
RemoveVectoredExceptionHandler
VectoredHandler
向量化异常处理
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==AddVectoredExceptionHandler Function
Registers a vectored exception handler.
Syntax
C++
PVOID WINAPI AddVectoredExceptionHandler(
__in ULONG FirstHandler,
__in PVECTORED_EXCEPTION_HANDLER VectoredHandler
);
Parameters
FirstHandler [in]
The order in which the handler should be called. If the parameter is nonzero, the handler is the first handler to be called. If the parameter is zero, the handler is the last handler to be called.
VectoredHandler [in]
A pointer to the handler to be called. For more information, see VectoredHandler .
Return Value
If the function succeeds, the return value is a handle to the exception handler.
If the function fails, the return value is NULL.
Remarks
If the FirstHandler parameter is nonzero, the handler is the first handler to be called until a subsequent call to AddVectoredExceptionHandler is used to specify a different handler as the first handler.
If the VectoredHandler parameter points to a function in a DLL and that DLL is unloaded, the handler is still registered. This can lead to application errors.
To unregister the handler, use the RemoveVectoredExceptionHandler function.
To compile an application that uses this function, define the _WIN32_WINNT macro as 0x0500 or later. For more information, see Using the Windows Headers .
Examples
For an example, see Using a Vectored Exception Handler .
Requirements
Minimum supported clientWindows XP
Minimum supported serverWindows Server 2003
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
AddVectoredContinueHandler
RemoveVectoredExceptionHandler
VectoredHandler
Vectored Exception Handling
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms679274(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:28:17