网站首页  词典首页

请输入您要查询的函数:

 

术语 getapplicationrecoverycallback
释义 GetApplicationRecoveryCallback
语法:
C++
HRESULT WINAPI GetApplicationRecoveryCallback(
__in HANDLE hProcess,
__out APPLICATION_RECOVERY_CALLBACK *pRecoveryCallback,
__out PVOID *ppvParameter,
__out DWORD dwPingInterval,
__out DWORD dwFlags
);
GetApplicationRecoveryCallback功能
检索的回调例程指定的注册程序的指针。返回的地址是在该进程的虚拟地址空间。
参数
hProcess [in]
句柄的进程。这种处理必须有PROCESS_VM_READ访问权。
pRecoveryCallback [out]
阿以恢复回调函数的指针。有关更多信息,请参阅ApplicationRecoveryCallback。
ppvParameter [out]
阿回调参数的指针。
dwPingInterval [out]
的回收率平时隔,100纳秒的时间间隔。
dwFlags [out]
保留供将来使用。
返回值
这个函数返回S_OK在成功或下面的错误代码之一。
返回codeDescription
S_FALSEThe并未申请登记的恢复。
E_INVALIDARGOne或多个参数无效。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
RegisterApplicationRecoveryCallback
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==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
C++
HRESULT WINAPI GetApplicationRecoveryCallback(
__in HANDLE hProcess,
__out APPLICATION_RECOVERY_CALLBACK *pRecoveryCallback,
__out PVOID *ppvParameter,
__out DWORD dwPingInterval,
__out DWORD dwFlags
);
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.
dwPingInterval [out]
The recovery ping interval, in 100-nanosecond intervals.
dwFlags [out]
Reserved for future use.
Return Value
This function returns S_OK on success or one of the following error codes.
Return codeDescription
S_FALSEThe application did not register for recovery.
E_INVALIDARGOne or more parameters are not valid.

Requirements
Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
RegisterApplicationRecoveryCallback
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa373343(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:28:43