This topic has not yet been rated - Rate this topic

WerUnregisterRuntimeExceptionModule function

Applies to: desktop apps only

Removes the registration of your WER exception handler.

Syntax

HRESULT WINAPI WerUnregisterRuntimeExceptionModule(
  __in      PCWSTR pwszOutOfProcessCallbackDll,
  __in_opt  PVOID pContext
);

Parameters

pwszOutOfProcessCallbackDll [in]

The name of the exception handler DLL whose registration you want to remove.

pContext [in, optional]

A pointer to arbitrary context information that was passed to the callback.

Return value

This function returns S_OK on success or an error code on failure, including the following error code.

Return codeDescription
WER_E_INVALID_STATE

The process state is not valid. For example, the process is in application recovery mode.

WER_E_NOT_FOUND

The list of registered runtime exception handlers does not contain the specified exception handler.

 

Remarks

To register your runtime exception handler, call the WerRegisterRuntimeExceptionModule function.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Werapi.h

Library

Kernel32.lib

DLL

Kernel32.dll

 

 

Send comments about this topic to Microsoft

Build date: 2/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ