Kernel32WerRegisterExcludedMemoryBlock Method
Marks a memory block (that is normally included by default in error reports) to be excluded from the error report.
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 WerRegisterExcludedMemoryBlock(
IntPtr address,
uint size
)
<DllImportAttribute("Kernel32.dll", ExactSpelling := true>]
Public Shared Function WerRegisterExcludedMemoryBlock (
address As IntPtr,
size As UInteger
) As HResult
Dim address As IntPtr
Dim size As UInteger
Dim returnValue As HResult
returnValue = Kernel32.WerRegisterExcludedMemoryBlock(address,
size)
public:
[DllImportAttribute(L"Kernel32.dll", ExactSpelling = true)]
static HResult WerRegisterExcludedMemoryBlock(
IntPtr address,
unsigned int size
)
[<DllImportAttribute("Kernel32.dll", ExactSpelling = true)>]
static member WerRegisterExcludedMemoryBlock :
address : IntPtr *
size : uint32 -> HResult
No code example is currently available or this language may not be supported.
- address IntPtr
-
The starting address of the memory block.
- size UInt32
-
The size of the memory block, in bytes.
HResult
Returns
S_OK on success, or an
HResult error code on failure.