GetApplicationRecoveryCallback function (winbase.h)
Retrieves a pointer to the callback routine registered for the specified process. The address returned is in the virtual address space of the process.
Syntax
HRESULT GetApplicationRecoveryCallback(
[in] HANDLE hProcess,
[out] APPLICATION_RECOVERY_CALLBACK *pRecoveryCallback,
[out] PVOID *ppvParameter,
[out] PDWORD pdwPingInterval,
[out] PDWORD pdwFlags
);
Parameters
[in] hProcess
A handle to the process. This handle must have the PROCESS_VM_READ access right.
[out] pRecoveryCallback
A pointer to the recovery callback function. For more information, see ApplicationRecoveryCallback.
[out] ppvParameter
A pointer to the callback parameter.
[out] pdwPingInterval
The recovery ping interval, in 100-nanosecond intervals.
[out] pdwFlags
Reserved for future use.
Return value
This function returns S_OK on success or one of the following error codes.
Return code | Description |
---|---|
|
The application did not register for recovery. |
|
One or more parameters are not valid. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | winbase.h (include Windows.h) |
Library | Kernel32.lib |
DLL | Kernel32.dll |