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.
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", ExactSpelling = true)]
public static HResult WerRegisterAdditionalProcess(
uint processId,
uint captureExtraInfoForThreadId
)
<DllImportAttribute("Kernel32.dll", ExactSpelling := true>]
Public Shared Function WerRegisterAdditionalProcess (
processId As UInteger,
captureExtraInfoForThreadId As UInteger
) As HResult
Dim processId As UInteger
Dim captureExtraInfoForThreadId As UInteger
Dim returnValue As HResult
returnValue = Kernel32.WerRegisterAdditionalProcess(processId,
captureExtraInfoForThreadId)
public:
[DllImportAttribute(L"Kernel32.dll", ExactSpelling = true)]
static HResult WerRegisterAdditionalProcess(
unsigned int processId,
unsigned int captureExtraInfoForThreadId
)
[<DllImportAttribute("Kernel32.dll", ExactSpelling = true)>]
static member WerRegisterAdditionalProcess :
processId : uint32 *
captureExtraInfoForThreadId : uint32 -> HResult
No code example is currently available or this language may not be supported.
- 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.
HResult
Returns
S_OK on success, or an
HResult error code on failure.