Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

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 codeDescription
S_FALSE

The application did not register for recovery.

E_INVALIDARG

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

Winbase.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

See also

RegisterApplicationRecoveryCallback

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.