网站首页  计算机词典

请输入您要查询的字词:

 

字词 timerapcproc
释义 TimerAPCProc
语法:
C++
VOID CALLBACK TimerAPCProc(
__in_opt LPVOID lpArgToCompletionRoutine,
__in DWORD dwTimerLowValue,
__in DWORD dwTimerHighValue
);
TimerAPCProc回调函数
一个应用程序定义的定时器完成例程。指定这个地址时调用SetWaitableTimer功能。在PTIMERAPCROUTINE类型定义一个指向这个回调函数。 TimerAPCProc是一个应用程序的占位符定义函数的名称。
参数
lpArgToCompletionRoutine [中,可选]
传递给函数使用该SetWaitableTimer功能lpArgToCompletionRoutine参数的值。
dwTimerLowValue [in]
低的星期日秩序的一部分的时间计时器是该信号。此值对应于FILETIME结构dwLowDateTime成员。如需有关星期日信息化时,看到系统时间。
dwTimerHighValue [in]
在高星期日秩序部分,基于时间的计时器的信号。此值对应于FILETIME结构dwHighDateTime成员。
返回值
这个函数没有返回值。
备注
完成例程执行的线程激活计时器使用SetWaitableTimer。但是,线程必须在一个可报警状态。有关更多信息,请参阅异步过程调用。
实例
有关示例,请参阅使用一个异步过程调用一可等待计时器。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
参见
SetWaitableTimer
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==TimerAPCProc Callback Function
An application-defined timer completion routine. Specify this address when calling the SetWaitableTimer function. The PTIMERAPCROUTINE type defines a pointer to this callback function. TimerAPCProc is a placeholder for the application-defined function name.
Syntax
C++
VOID CALLBACK TimerAPCProc(
__in_opt LPVOID lpArgToCompletionRoutine,
__in DWORD dwTimerLowValue,
__in DWORD dwTimerHighValue
);
Parameters
lpArgToCompletionRoutine [in, optional]
The value passed to the function using the lpArgToCompletionRoutine parameter of the SetWaitableTimer function.
dwTimerLowValue [in]
The low-order portion of the UTC-based time at which the timer was signaled. This value corresponds to the dwLowDateTime member of the FILETIME structure. For more information about UTC-based time, see System Time .
dwTimerHighValue [in]
The high-order portion of the UTC-based time at which the timer was signaled. This value corresponds to the dwHighDateTime member of the FILETIME structure.
Return Value
This function does not return a value.
Remarks
The completion routine is executed by the thread that activates the timer using SetWaitableTimer . However, the thread must be in an alertable state. For more information, see Asynchronous Procedure Calls .
Examples
For an example, see Using a Waitable Timer with an Asynchronous Procedure Call .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
See Also
SetWaitableTimer
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms686786(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 23:41:34