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 code | Description |
|---|---|
|
The process state is not valid. For example, the process is in application recovery mode. |
|
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 |
|
|
Library |
|
|
DLL |
|