WerUnregisterRuntimeExceptionModule function

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 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Werapi.h

Library

Kernel32.lib

DLL

Kernel32.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft