Kernel32WerRegisterRuntimeExceptionModule Method

Registers a custom runtime exception handler that is used to provide custom error reporting for crashes.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: 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 WerRegisterRuntimeExceptionModule(
	string outOfProcessCallbackDll,
	IntPtr context
)

Parameters

outOfProcessCallbackDll  String
The name of the exception handler DLL to register.
context  IntPtr
A pointer to arbitrary context information that is passed to the handler's callback functions.

Return Value

HResult
Returns S_OK on success, or an HResult error code on failure.

Remarks

See Also