Kernel32WerRegisterMemoryBlock Method

Registers a memory block to be collected when WER creates an error report.

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 WerRegisterMemoryBlock(
	IntPtr address,
	uint size
)

Parameters

address  IntPtr
The starting address of the memory block.
size  UInt32
The size of the memory block, in bytes.

The maximum value for this parameter is WER_MAX_MEM_BLOCK_SIZE bytes.

Return Value

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

Remarks

See Also