Kernel32WerUnregisterRuntimeExceptionModule Method
Removes the registration of your WER exception handler.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ExactSpelling = true, ThrowOnUnmappableChar = true)]
public static HResult WerUnregisterRuntimeExceptionModule(
string outOfProcessCallbackDll,
IntPtr context
)
<DllImportAttribute("Kernel32.dll", CharSet := CharSet.Auto, BestFitMapping := false,
ExactSpelling := true, ThrowOnUnmappableChar := true>]
Public Shared Function WerUnregisterRuntimeExceptionModule (
outOfProcessCallbackDll As String,
context As IntPtr
) As HResult
Dim outOfProcessCallbackDll As String
Dim context As IntPtr
Dim returnValue As HResult
returnValue = Kernel32.WerUnregisterRuntimeExceptionModule(outOfProcessCallbackDll,
context)
public:
[DllImportAttribute(L"Kernel32.dll", CharSet = CharSet::Auto, BestFitMapping = false,
ExactSpelling = true, ThrowOnUnmappableChar = true)]
static HResult WerUnregisterRuntimeExceptionModule(
String^ outOfProcessCallbackDll,
IntPtr context
)
[<DllImportAttribute("Kernel32.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ExactSpelling = true, ThrowOnUnmappableChar = true)>]
static member WerUnregisterRuntimeExceptionModule :
outOfProcessCallbackDll : string *
context : IntPtr -> HResult
No code example is currently available or this language may not be supported.
- outOfProcessCallbackDll String
-
The name of the exception handler DLL whose registration you want to remove.
- context IntPtr
-
A pointer to arbitrary context information that was passed to the callback.
HResult
Returns
S_OK on success, or an
HResult error code on failure.