Kernel32WerRegisterAdditionalProcess Method

Registers a process to be included in the error report along with the main application process.

Optionally specifies a thread within that registered process to get additional data from.

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", ExactSpelling = true)]
public static HResult WerRegisterAdditionalProcess(
	uint processId,
	uint captureExtraInfoForThreadId
)

Parameters

processId  UInt32
The Id of the process to register.
captureExtraInfoForThreadId  UInt32
The Id of a thread within the registered process from which more information is requested.

Return Value

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

Remarks

See Also