GetApplicationRecoveryCallback function
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 WINAPI GetApplicationRecoveryCallback( _In_ HANDLE hProcess, _Out_ APPLICATION_RECOVERY_CALLBACK *pRecoveryCallback, _Out_ PVOID *ppvParameter, _Out_ PDWORD pdwPingInterval, _Out_ PDWORD pdwFlags );
Parameters
- hProcess [in]
-
A handle to the process. This handle must have the PROCESS_VM_READ access right.
- pRecoveryCallback [out]
-
A pointer to the recovery callback function. For more information, see ApplicationRecoveryCallback.
- ppvParameter [out]
-
A pointer to the callback parameter.
- pdwPingInterval [out]
-
The recovery ping interval, in 100-nanosecond intervals.
- pdwFlags [out]
-
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
|
Minimum supported client | Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also