RemoveVectoredExceptionHandler function (errhandlingapi.h)

Unregisters a vectored exception handler.

Syntax

ULONG RemoveVectoredExceptionHandler(
  PVOID Handle
);

Parameters

Handle

A handle to the vectored exception handler previously registered using the AddVectoredExceptionHandler function.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

Remarks

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

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header errhandlingapi.h (include Windows.h)
Library Kernel32.lib
DLL Kernel32.dll

See also

AddVectoredExceptionHandler function, Vectored Exception Handling