Kernel32GetApplicationRecoveryCallback Method

Retrieves a pointer to the callback routine registered for the specified process.

The address returned is in the virtual address space of the process.

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 GetApplicationRecoveryCallback(
	IntPtr hProcess,
	out DelegatesApplicationRecoveryCallback refRecoveryCallback,
	out IntPtr refParameter,
	out uint refPingInterval,
	out int refReserved
)

Parameters

hProcess  IntPtr
A handle to the process. This handle must have the VirtualMemoryRead access right.
refRecoveryCallback  DelegatesApplicationRecoveryCallback
A pointer to the recovery callback function. For more information, see ApplicationRecoveryCallback.
refParameter  IntPtr
A pointer to the callback parameter.
refPingInterval  UInt32
The recovery ping interval, in 100-nanosecond intervals.
refReserved  Int32
Reserved for future use.

Return Value

HResult
This function returns S_OK on success, or an HResult error code.

Remarks

See Also