Kernel32WerRegisterAppLocalDump Method
Registers a path relative to the local app store for the calling application where
Windows Error Reporting (WER) should save a copy of the diagnostic memory dump that
WER collects when one of the processes for the application stops responding.
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("KernelBase.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ExactSpelling = true, ThrowOnUnmappableChar = true)]
public static HResult WerRegisterAppLocalDump(
string localAppDataRelativePath
)
<DllImportAttribute("KernelBase.dll", CharSet := CharSet.Auto, BestFitMapping := false,
ExactSpelling := true, ThrowOnUnmappableChar := true>]
Public Shared Function WerRegisterAppLocalDump (
localAppDataRelativePath As String
) As HResult
Dim localAppDataRelativePath As String
Dim returnValue As HResult
returnValue = Kernel32.WerRegisterAppLocalDump(localAppDataRelativePath)
public:
[DllImportAttribute(L"KernelBase.dll", CharSet = CharSet::Auto, BestFitMapping = false,
ExactSpelling = true, ThrowOnUnmappableChar = true)]
static HResult WerRegisterAppLocalDump(
String^ localAppDataRelativePath
)
[<DllImportAttribute("KernelBase.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ExactSpelling = true, ThrowOnUnmappableChar = true)>]
static member WerRegisterAppLocalDump :
localAppDataRelativePath : string -> HResult
No code example is currently available or this language may not be supported.
- localAppDataRelativePath String
-
The path relative to the local app store for the calling application where
WER should save a copy of the diagnostic memory dump that WER collects when
one of the processes for the application stops responding.
The maximum length for this relative path in characters is WER_MAX_LOCAL_DUMP_SUBPATH_LENGTH, which has a value of 64.
This maximum length includes the null-termination character.
HResult
Returns
S_OK on success, or an
HResult error code on failure.